deckle studio
Open the editor
Behavioural mixed-signal modelOV2640 FPC24 moduleov2640

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.

DOVDDAVDDDVDDPWDNRESETXCLKSIO_CSIO_DDGNDAGNDNCY9Y8Y7Y6Y5Y4Y3Y2Y1Y0PCLKHREFVSYNCOV2640 FPC24 module
Schematic symbol

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

PinNameUse
DOVDDDOVDDSupply pinSupply input: decouple with 100 nF close to the pin
AVDDAVDDSupply pinSupply input: decouple with 100 nF close to the pin
DVDDDVDDSupply pinSupply input: decouple with 100 nF close to the pin
PWDNPWDNInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
RESETRESETInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
XCLKXCLKInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
SIO_CSIO_CInput pinLogic input: never leave open (tie unused inputs to VCC or GND)
SIO_DSIO_DI/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
DGNDDGNDGround pinGround
AGNDAGNDGround pinGround
NCNCPassive pinNot connected: leave open
Y9Y9Output pinLogic output: drives the next input; do not tie outputs together
Y8Y8Output pinLogic output: drives the next input; do not tie outputs together
Y7Y7Output pinLogic output: drives the next input; do not tie outputs together
Y6Y6Output pinLogic output: drives the next input; do not tie outputs together
Y5Y5Output pinLogic output: drives the next input; do not tie outputs together
Y4Y4Output pinLogic output: drives the next input; do not tie outputs together
Y3Y3Output pinLogic output: drives the next input; do not tie outputs together
Y2Y2Output pinLogic output: drives the next input; do not tie outputs together
Y1Y1Output pinLogic output: drives the next input; do not tie outputs together
Y0Y0Output pinLogic output: drives the next input; do not tie outputs together
PCLKPCLKOutput pinLogic output: drives the next input; do not tie outputs together
HREFHREFOutput pinLogic output: drives the next input; do not tie outputs together
VSYNCVSYNCOutput pinLogic output: drives the next input; do not tie outputs together

Parameters 1

Picturesourcelive
Defaultbird feeder
bird feederwebcamcolor bars

What 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

Verified land patternHirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_Horizontal
PackageLand patternStatusSource
FPC connector 24-way 0.5 mm, ZIF · FH12-24S-0.5SH(55)Hirose_FH12-24S-0.5SH_1x24-1MP_P0.50mm_HorizontalVerified land patternKiCad 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)