I have an application that needs to image something in the range of about 25-35 cm from the front of the lens. I'm looking at the new High Quality Camera with the 16 mm C-mount lens. The lens itself has a focus adjustment and it seems that the camera itself has an additional adjustable back focus:

  • Back focus: Adjustable (12.5 mm–22.4 mm)

Question: Right now I just want to know if this combination can focus on things 25 to 35 cm in front of the lens or not, and produce reasonably good quality images.

Using extension tubes to get images closer than the closest design focus of a lens can degrade image quality in some cases, and a bit of that is not a problem. Perhaps an additional extension is possible, but for the purposes of this question I just need to know if these two items off the shelf will allow me to focus anywhere within 25 to 35 cm from the front of the lens.

Raspberry Pi High Quality Camera and 16 mm C-mount lens Raspberry Pi High Quality Camera and 16 mm C-mount lens

Source click for larger.

  • I wonder if they might have something to say on this question at the Photography SE?
    – Seamus
    Commented Jan 17, 2021 at 18:51
  • 1
    @Seamus Thanks, I've left a link to this question in chat there with the message "on the off-chance that someone might have some experience with this combo". Folks there are not likely to have access to the specifics of this particular camera and this particular lens sold by Raspberry Pi, whereas Raspberry Pi enthusiasts, hobbyists and professionals here are more likely to have first-hand experience focusing this Raspberry Pi product. So I think that this is the best place to ask.
    – uhoh
    Commented Jan 17, 2021 at 21:38
  • Maybe... but camera optics & the specifics you're asking about are mostly dictated by the laws of physics - which is something you may find in greater supply there. Hope you get some answers & good luck.
    – Seamus
    Commented Jan 17, 2021 at 21:58
  • @Seamus No not at all! If someone has one of these they can just hold something 25 cm away and see if it is in focus or not. In fact, I've specifically asked users to avoid answers that discuss fancy solutions like extension tubes, and just ask if the off-the-shelf product does or doesn't do this.
    – uhoh
    Commented Jan 17, 2021 at 21:59
  • 1
    OK - you clearly know what you're doing.
    – Seamus
    Commented Jan 17, 2021 at 23:12

2 Answers 2


It is likely able to focus on things 25 to 35 cm in front of the lens. Note that this answer is inferring that from documents on the web only. The author of this answer has not been able to test it and can neither comment on image quality.

Multiple vendors of the "Raspberry Pi HQ 16 mm C-Mount Telephoto lens" list it as model: PT3611614M10MP (hereinafter referred to as "PT-Lens"). They also seem to link to the same datasheet, e.g. www.pollin.de and www.elektor.de; or present the specs copied from the datasheet directly on their page, e.g. www.pbtech.co.nz. The listed value for M.O.D., the minimum object distance between the front of the lens and an object the lens is able to focus on, is 0.2 m. So an object at a distance of 0.25 to 0.35 m to the front of the PT-Lens should be ok.

To put this lens into perspective consider the "Techspec 16mm C Series Fixed Focal Length Lens" (Edmund Optics) with a minimal working distance of 0.1 m (further referred to as "EO-Lens") that is somewhat comparable (though about as six times as expensive as the PT-Lens, so the comparison might as well be apples and oranges here). The PT-Lens boasts with a distortion spec of 1"(-0.7%); 1/2"(-0.5%); 1/3"(-0.15%), whereas the EO-Lens is listed with better than 1.25%. The EO-Lens offers broadband antireflection coating in the VIS range, while the PT-Lens does not make any claims about coatings at all. So under certain conditions the PT-Lens might be more prone to spurious reflection, ghost images and glare.

  • Okay this is a good enough answer for me to go ahead and give this combination a try; worst case is that I buy a second lens for the camera afterward and in the mean time figure out a way to locate the camera at a larger distance temporarly. Thanks!
    – uhoh
    Commented Jan 21, 2021 at 9:19
  • 1
    @uhoh good luck with that. Be sure to come back after you try to give this a definitive answer. Given your inclination towards SX and Astronomy, if you happen to detect an exoplanet with this setup, please name it Arrakis ;-)
    – Ghanima
    Commented Jan 22, 2021 at 5:57
  • Yes I'm arranging for the order in the next day or so for our lab and I'll update here when it comes. I wish SE had built-in to-do lists with timers, answer this next and bounty this if it doesn't get answered and did I find this out and did I read these references that I'd thanked them for? and... :-)
    – uhoh
    Commented Jan 22, 2021 at 6:05
  • Sadly this camera won't get pointed at the sky so often, it's for this: 1, 2, 3, 4 but maybe we can point it out the window when nobody's looking
    – uhoh
    Commented Jan 22, 2021 at 6:12

@Ghanima nailed it! I got about 27.5 cm from the end of the lens to the surface of my laptop screen with the aperture wide open for minimum depth of field.

I then added a second "6 mm" spacer bought at a local security camera store (equivalent to the "extension tube" concept mentioned in the question) and the distance shortened to 33 mm. Thus we now have a macro lens, though you need stop down the aperture to get a clear image.

I don't recommend repeating this because I found it frightening to see how dirty my laptop's screen is! :-)

I didn't bother to make the camera parallel to the screen or play with any settings, just confirm the optics. If f = 16 mm and the lens' entrance pupil is 2.5 cm behind the front of the lens (looks roughly right) then the focus mechanism can move out to almost 16.9 mm to focus close range.

If we add a second 6 mm to the lens distance to make it 21.9 to the sensor, then the thin lens equation, then the distance to the object should be 59 - 25 = 34 mm, which nicely agrees with my 33 mm.

Physics works! :-)

Raspberry Pi 4 and High Quality PiCam

Raspberry Pi 4 and High Quality PiCam

Raspberry Pi 4 and High Quality PiCam

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.