ESP32-Cam M12 Lens Hack

by DerBeckhausBehncke in Circuits > Cameras

4087 Views, 9 Favorites, 0 Comments

ESP32-Cam M12 Lens Hack

IMG_1904.jpeg

Add any M12 Lens to your ESP32- Cam Module.

Supplies

IMG_1891.jpeg
IMG_1907.jpeg

What will you need?

  • 1 ESP32- Cam Module (OV2640)
  • 3 Screws 1.7mm 6mm Philips Head
  • 1 M12 Camera Lens Case sold for example on Aliexpress or eBay
  • the 3D printed Parts (The Part Placeholder is optional, you will only need it if you want to glue the camera to the SD- card Holder)
  • and of cours a M12 Lens of your choice.

Tools:

  • a 3D Printer
  • Sharp Knife
  • Pliers
  • Screwdriver
  • Hot- Glue
  • UHU Allplast Glue

IMG_1893.jpeg
IMG_1894.jpeg
IMG_1895.jpeg

First of all take the camera apart from the ESP32- Module

We have to get rid off the old lens.

Now let's take a look: The lens of the Camera- Module is glued with a drop of glue to the camera body.

Use a small sharp knife and scratch a little bit between the lens and the body. You will see that the glue will come off.

With a pair of pliers you can now try to turn the lens off (counterclockwise).

Be careful with the knife and the lens aswell! It's a little bit difficult and takes it's time.

IMG_1896.jpeg
IMG_1897.jpeg

Now put a drop of UHU Allplast glue to the center of the printed bottom part and put the camera module on it.

Put the printed top on the module. It isn't really necessary to add glue here. The screws will hold it perfectly anyways.

You can now screw the the M12 Bodycase to the camera.

Finally mount your desired M12 lens.

You're done.

IMG_1901.jpeg
IMG_1902.jpeg

If you want to glue the Module to the SD-Card holder on the ESP32-Cam Module you will also have to print out the Placeholder.

Just glue the Placeholder on the bottom of the camera case.

Assemble back the Camera Module to you ESP32- Cam Module and put a drop of glue onto the SD- Card holder.

IMG_1904.jpeg
IMG_1900.jpeg