LabWired The easy way to build hardware
I²C device

OV3660 Camera

The OV3660 Camera is an I²C device in the LabWired part catalog. Its catalog type is ov3660. It connects to the MCU over I²C at the default address 0x3C. The catalog gives a supply range of 3–3.6 V. It has 18 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: Rust kit — core components/ov3660.rs. SCCB at 0x3C (chip ID 0x3660, software reset, power-down) and DVP frames into the ESP32-S3 LCD_CAM camera slave and GDMA, so unmodified esp32-camera firmware (probe, init table, set_framesize / set_pixformat, esp_camera_fb_get) runs. Frames follow the window and format the driver programs (RGB565, YUV422, Y8); the scene is synthetic and stimulus-driven (pattern, brightness, motion). Answers whichever S3 I²C controller the firmware routes to its SDA/SCL pads (esp32-camera uses I2C1). NOT modelled: JPEG output (no frames; fb_get times out), the ISP (exposure, AWB, gain), XCLK frequency, and other MCUs' camera interfaces.

Key facts

CategoryI²C devices
Catalog typeov3660
InterfaceI²C
Default I²C address0x3C (60 decimal)
Supply range3–3.6 V
Pins18
DatasheetOmniVision OV3660 product brief

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

OV3660 Camera pinout

PinElectrical typeFunction
3V3 Power input Supply
GND Power input Supply
SDA Open-drain I²C data (SDA)
SCL Open-drain I²C clock (SCL)
XCLK Input GPIO
PCLK Output GPIO
VSYNC Output GPIO
HREF Output GPIO
D0 Output GPIO
D1 Output GPIO
D2 Output GPIO
D3 Output GPIO
D4 Output GPIO
D5 Output GPIO
D6 Output GPIO
D7 Output GPIO
RESET Input GPIO
PWDN Input GPIO

How to simulate the OV3660 Camera in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the OV3660 Camera (catalog type ov3660).
  3. Connect 3V3 and GND to the supply and ground of the board. Use a supply inside the catalog range of 3–3.6 V.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Connect XCLK, PCLK, VSYNC, HREF, D0, D1, D2, D3, D4, D5, D6, D7, RESET and PWDN to free GPIO pins.
  6. Run the firmware. It finds the part on the I²C bus at 0x3C and reads and writes it as on hardware.

Other parts at I²C address 0x3C

These catalog parts use the same default address. Two parts at one address cannot share one bus segment. A bus switch such as the TCA9548A puts them on separate segments.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from OmniVision OV3660 product brief.