Is it possible to decrease focus distance to 3-4 centimeters on fixed-focus OV2640 camera modules which sell with Chinese ESP-32 CAM or M5Stack ESP32 CAM?
They are set up to infinite focus out of the box.
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIs it possible to decrease focus distance to 3-4 centimeters on fixed-focus OV2640 camera modules which sell with Chinese ESP-32 CAM or M5Stack ESP32 CAM?
They are set up to infinite focus out of the box.
The existing lens is adjustable, you just need to turn the knurled ring around the lens, as shown here:
See whether that lets you focus close enough. If not, you might be able to find a different lens in the same kind of holder.
I tried it on the OV2640 camera that came with my ESP32-CAM. It has some kind of glue on it that makes it very hard to turn! I have read that you can take a VERY sharp small blade and cut through the translucent glue that are locking the threads and then be able to focus it manually.
But I do not know what the closest possible distance is however. But the closer the object is to the lens, the further away the CMOS sensor has to be. So if there is not enough threads on the lens holder, you could create an extension, somehow, that would enable focusing on closer objects.
BTW, you can also completely unscrew the lens and you should then be able to remove the IR filter so you can do "night vision" with IR LEDs for illumination.