Store

Adafruit

· MPN: ADA5946

$40.00 |
In stock at supplier
No reviews yet

The Adafruit PiCowbell OV5640 Camera Breakout with Autofocus adds a 5-megapixel camera with a 120-degree wide-angle lens and autofocus motor to your Raspberr...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Adafruit PiCowbell OV5640 Camera Breakout with Autofocus adds a 5-megapixel camera with a 120-degree wide-angle lens and autofocus motor to your Raspberry Pi Pico or Pico W. Capture raw RGB images for analysis or use the OV5640's built-in JPEG encoding to save photos to a microSD card or upload them to the cloud.

The RP2040's fast PIO peripheral handles the 8-bit parallel DVP camera interface, while the onboard 16 MHz oscillator provides the required clock signal. A microSD card slot, shutter button, reset button, and STEMMA QT connector are all included on board, with 6 GPIO pins still available after all connections.

Key Features

  • OV5640 5MP Camera with Autofocus – 120-degree wide-angle lens with motor-driven focus
  • 8-bit DVP Interface – Uses RP2040 PIO for fast parallel data capture (GPIO 0–14)
  • MicroSD Card SlotSPI on GPIO 16–19, optional card detect on GPIO 15
  • Shutter Button – Dedicated button on GPIO 22
  • STEMMA QT / QwiicI2C connector on GPIO 4/5 for additional sensors
  • 16 MHz Onboard Oscillator – Generates XClock for the camera module
  • Reset Button – Quick restart access
Note: Autofocus requires loading a firmware binary over I2C, then controlling focus with I2C commands. The VMotor line is connected to 3.3V for the autofocus motor. Otherwise, the camera behaves identically to the fixed-focus OV5640.

Pin Assignments

  • CameraVSync (0), PWDN (1), HSync (2), PCLK (3), SDA/SCL (4/5), D0–D7 (6–13), Reset (14)
  • MicroSD – SPI (16, 18, 19), CS (17), Detect (15)
  • Shutter – GPIO 22
Tip: Since the camera points upward, a PiCowbell Doubler lets you mount the Pico on one side with the BOOT button accessible and the camera on the other.

Ideal For

  • Image capture requiring variable focus distances
  • Close-up photography and macro imaging with Pico
  • Computer vision and image processing projects
  • IoT camera applications with Pico W

Also Consider

Package Contents

  • 1× PiCowbell Camera Breakout PCB (assembled)
  • 1× OV5640 Camera Sensor with autofocus and 120-degree lens
  • 2× 20-pin header strips (soldering required)

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.
CS
CS stands for chip select, a control pin used by SPI devices to tell which connected device should listen. It matters when you connect more than one SPI module to the same microcontroller, because each device usually needs its own CS pin.
GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
HSync
Horizontal sync is a timing signal that tells a display when a new row of pixels is starting. It matters when setting up RGB TFT panels because the wrong timing can give a shifted, rolling, or blank image.
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.
IoT
Short for Internet of Things, meaning physical devices that connect to networks or the internet to send data or be controlled remotely. It matters if you want projects such as connected sensors, remote controls or classroom data-logging activities.
JPEG
A compressed image file format commonly used for photos. It matters because the camera sends already-compressed snapshots, which are easier to store on an SD card or transmit over a slow serial link than raw image data.
microSD card
A microSD card is a small removable memory card used to store files such as audio tracks. For this product, the card is where the sound files live, so its capacity and formatting can affect how many sounds you can use.
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.
PCB
A printed circuit board is a rigid board with copper tracks that connect electronic parts without loose wires. For this kit, the PCBs also form the airplane shape, so they are both the circuit base and part of the finished model.
Qwiic
Qwiic is a plug-in connector system for I2C devices that uses small 4-pin cables, so you can connect compatible sensors without soldering. It matters because your controller or adapter also needs Qwiic, or you will need a cable or breakout to wire it up.
RGB
Short for red, green and blue, usually referring to an LED that can mix those three colours. It matters because controlling an RGB LED teaches how separate outputs combine to create different colours.
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.
SDA/SCL
SDA and SCL are the two signal lines used by an I2C bus: data and clock. Seeing these names helps you identify the correct connections when wiring I2C devices, even though Qwiic cables usually hide that wiring for you.
SPI
A fast serial communication bus often used for displays, memory cards, and sensors. It matters because SPI devices need specific pins for clock and data, plus a separate chip-select line for each device.
STEMMA
A plug-and-cable connection system used on some maker electronics boards to make wiring simpler. If a product uses STEMMA, you need the matching cable or connector type to plug it in without soldering.
STEMMA QT
A small plug-in connector system for I2C boards that lets you connect compatible sensors and controllers without soldering. It matters because it can make wiring faster and less error-prone, especially when adding several small modules to a project.
VSync
Vertical sync is a timing signal that tells a display when a new full screen frame is starting. It matters because RGB TFT panels often require the correct VSync timing for stable full-screen updates.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.