OV2640 camera module (24-pin FPC)
OV2640 2-megapixel camera module (UXGA 1600 × 1200) on a 24-way 0.5 mm FPC, as on the ESP32-CAM. Supplies: AVDD 2.8 V, DVDD 1.2 V, DOVDD 3.3 V (I/O), each with 1–10 µF; the ESP32-CAM makes 2.8 V and 1.2 V with XC6206 LDOs from 3.3 V. XCLK needs a master clock (ESP32: LEDC, 20 MHz typical); SCCB (I²C) at address 0x30 on SIO_C/SIO_D with 4.7–10 kΩ pull-ups; PWDN low = running (ESP32-CAM: GPIO32), RESET high = running (ESP32-CAM: tied high through an RC). Data out: Y2..Y9 are the 8 data bits (D0..D7 of the esp32-camera driver), PCLK, HREF, VSYNC. ESP32-CAM (AI-Thinker) wiring: Y2 5, Y3 18, Y4 19, Y5 21, Y6 36, Y7 39, Y8 34, Y9 35, XCLK 0, PCLK 22, VSYNC 25, HREF 23, SIO_D 26, SIO_C 27, PWDN 32. Formats: JPEG, YUV422/grayscale, RGB565. In the simulation the lens sees a test scene (a bird feeder a bird visits every 8 s), colour bars, or your webcam in the browser.
Key data
- Category
- Modules
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- OV2640 FPC24 module
- Reference prefix
- CAM
- Pins
- 24
- Land pattern
- Hirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_Horizontal
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- ov2640
- Supply pins
- DOVDD / DGND
Pins 24
| Pin | Name | Use |
|---|---|---|
| DOVDD | DOVDDSupply pin | Supply input: decouple with 100 nF close to the pin |
| AVDD | AVDDSupply pin | Supply input: decouple with 100 nF close to the pin |
| DVDD | DVDDSupply pin | Supply input: decouple with 100 nF close to the pin |
| PWDN | PWDNInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| RESET | RESETInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| XCLK | XCLKInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| SIO_C | SIO_CInput pin | Logic input: never leave open (tie unused inputs to VCC or GND) |
| SIO_D | SIO_DI/O pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| DGND | DGNDGround pin | Ground |
| AGND | AGNDGround pin | Ground |
| NC | NCPassive pin | Not connected: leave open |
| Y9 | Y9Output pin | Logic output: drives the next input; do not tie outputs together |
| Y8 | Y8Output pin | Logic output: drives the next input; do not tie outputs together |
| Y7 | Y7Output pin | Logic output: drives the next input; do not tie outputs together |
| Y6 | Y6Output pin | Logic output: drives the next input; do not tie outputs together |
| Y5 | Y5Output pin | Logic output: drives the next input; do not tie outputs together |
| Y4 | Y4Output pin | Logic output: drives the next input; do not tie outputs together |
| Y3 | Y3Output pin | Logic output: drives the next input; do not tie outputs together |
| Y2 | Y2Output pin | Logic output: drives the next input; do not tie outputs together |
| Y1 | Y1Output pin | Logic output: drives the next input; do not tie outputs together |
| Y0 | Y0Output pin | Logic output: drives the next input; do not tie outputs together |
| PCLK | PCLKOutput pin | Logic output: drives the next input; do not tie outputs together |
| HREF | HREFOutput pin | Logic output: drives the next input; do not tie outputs together |
| VSYNC | VSYNCOutput pin | Logic output: drives the next input; do not tie outputs together |
Parameters 1
sourceliveWhat the camera sees: bird feeder (test scene, a bird lands on the perch every 8 s), webcam (your computer's camera, in this browser tab only; the test scene where there is none), color bars
PCB
Hirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_Horizontal| Package | Land pattern | Status | Source |
|---|---|---|---|
| FPC connector 24-way 0.5 mm, ZIF · FH12-24S-0.5SH(55) | Hirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_Horizontal | Verified land pattern | KiCad Connector_FFC-FPC:Hirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_Horizontal; contact assignment of the camera connector in the AI-Thinker ESP32_CAM_V1.6 schematic (Cam_Connector pins 1–24) |