Adafruit
OV5640 Camera Breakout - 72 Degree Lens with Autofocus
· MPN: ADA5840
This breakout makes it much easier to work with the OV5640 image sensor on capable microcontroller platforms. It combines a 5 Megapixel OV5640 camera with a ...
This breakout makes it much easier to work with the OV5640 image sensor on capable microcontroller platforms. It combines a 5 Megapixel OV5640 camera with a 72-degree non-distorting lens, autofocus motor, and the support circuitry needed to bring the module out to a practical board.
It is designed for boards with enough pins, DMA performance and RAM to handle an 8-bit parallel camera interface, such as RP2040 and ESP32-Sx series devices. Adafruit has kept the module backwards compatible while improving the layout for prototyping, breadboarding and more reliable clock generation.
The board includes a standard 2x9 header option as well as a duplicated header strip spaced 0.3" apart, making it easier to plug into breadboard or perfboard. For autofocus use, the module requires a new firmware binary to be loaded over I2C, and the VM jumper on the back of the camera module must be shorted so DATA1 can provide 3.3V motor power. Focus is then controlled with I2C commands to start the autofocus procedure and check when it has completed.
Features:
- Sensor: 5 Megapixel OV5640 sensor element
- Lens: 72-degree non-distorting lens
- Autofocus: Autofocus motor
- Headers: Standard 2x9 header if you want it, plus a duplicated header strip 0.3" apart so you can plug it into a breadboard or perfboard
- XCLK: Selectable external or internal 24MHz "XCLK" clock generation
- Thermal design: Heat-sinking camera area with exposed ground pad, with lots of vias for good thermal transfer
- VMotor jumper: Optional VMotor 3.3V power jumper on DATA1, for auto-focusing camera modules
- Power LED: 3.3V power-good LED on back that can be disabled
Specifications:
- Product Dimensions: 35.7mm x 23.0mm x 17.5mm / 1.4" x 0.9" x 0.7"
A solid option for machine vision experiments, image capture projects and embedded camera work where you want an OV5640 module on a breakout that is easier to mount and prototype with.
Jargon buster
Plain-language definitions for the technical terms used above.
- Autofocus motor
- A tiny motor in a camera module that moves the lens to sharpen the image automatically. It matters because autofocus may need extra power, firmware or control commands compared with a fixed-focus camera.
- breakout
- A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
- ESP32
- ESP32 is a family of microcontroller modules with built-in wireless features such as Bluetooth and WiFi. Knowing this product uses an ESP32-based module helps explain how it provides wireless serial communication and firmware update features.
- Headers
- Rows of metal pins used to plug a module into a breadboard or connect it with jumper wires. Pre-soldered headers make the module easier to use straight away without needing to solder the pins yourself.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- microcontroller
- A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
- OV5640
- A specific camera sensor chip that captures still images or video data for a microcontroller or processor. The exact sensor matters because code examples, wiring, resolution, autofocus support and data format depend on the chip model.
- RAM
- RAM is temporary memory used while a device is running, and its contents are lost when power is removed. A “Run in RAM” mode is useful for testing settings without permanently programming the module, but it may not support every feature.
- RP2040
- A microcontroller chip used on many maker boards, with enough speed and flexible I/O for some camera and display projects. Compatibility with RP2040 matters because camera modules often need many pins and careful timing to read image data successfully.
- XCLK
- An external clock signal supplied to some camera sensors so their internal timing stays stable. It matters because your microcontroller or the camera board must provide the right clock for the sensor to output image data reliably.
OV5640 Datasheet
Datasheet · 1.7 MB · Click any page to view full size
OV5640 Camera Diagram
Mechanical Drawings · 813.3 KB · Click any page to view full size
Supplier page — adafruit.com
Supplier Description · 943.4 KB · Click any page to view full size