• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Better quality lens for ESP32 camera?

Q&A Forum › Category: ESP32 › Better quality lens for ESP32 camera?
0 Vote Up Vote Down
Donald asked 4 years ago

Hello, I don’t think that we’re locked into the only lens option of the OV2640 for the ESP32 camera. Are there better options (more megapixels) that anyone has tried? 

Question Tags: esp32 camera lens
5 Answers
0 Vote Up Vote Down
Steve Mercer answered 4 years ago

A lens will not increase the number of pixels of the camera. That is set in stone by the sensor. The OV5642 has more pixels but may or may not work with the ESP32 (You would have to check if it works for your use case).

0 Vote Up Vote Down
Donald answered 4 years ago

Okay, thanks Steve, for clarification. I ordered two different camera sensor modules. 
The  OV5640-AF (auto-focus) is $13 at banggood.

 
And the OV7670 sensor module, about $4 at banggood:

I’m wanting to build a PIR-enabled outdoor bird feeder camera. Having a good wifi connection is a must, and an SD card reader. When a bird trips the sensor, it will take a picture per second and save to card. THEN, I need to make it web-enabled to view the stored pics. 

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

Whilst those are nice and cheap I foresee a problem interfacing with an ESP32 as it’s the camera only. You would need a connector to plug it into and then code to interface directly. If it were me I would probably have gone with something on a breakout board like this.

0 Vote Up Vote Down
Donald answered 4 years ago

I was hoping I could just plug the new lens into the ESP32 module… well, I can hope.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Donald. 
If you’re using an ESP32-CAM, I think you just need to replace the old lens with the new one and modify the code to work with the new camera probe.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.