HomeStore

Adafruit PiCowbell Camera Breakout - Autofocus 72 Degree Lens

Product image 1
Product image 2
Product image 3
Product image 4
Product image 5

Adafruit PiCowbell Camera Breakout - Autofocus 72 Degree Lens

Ding dong! Hear that? It's the PiCowbell ringing, letting you know that the new Adafruit PiCowbell OV5640 Camera Breakout with 72-degree Lens and Autofocus is in stock.

This is a quality OV5640 camera with a 5 Megapixel sensor element, a 72-degree non-distorting lens, and an autofocus motor, plus all the support circuitry you need to start taking pictures with your Pico or Pico W. You can grab raw RGB images for image analysis, or use the built-in JPEG encoding to save images to an SD card or upload them to adafruit.io.

The RP2040 chip has a fast PIO interface peripheral and enough memory to interface with 'DVP' (8-bit parallel digital) cameras. These camera sensors have 8 image data pins, Pixel Clock, H Sync and V Sync signals, plus an I2C configuration interface and a Reset plus power Down pin. That does mean a lot of GPIO is used! But we still have 6 GPIO pins available even after adding an SD card and shutter button.

Camera PiCowbell Features:

  • Interface for OV5640 Camera module
    • VSync: GPIO 0
    • Power Down: GPIO 1
    • HSync: GPIO 2
    • Pixel Clock: GPIO 3
    • SDA/SCL: GPIO 4 and GPIO 5
    • 8-bit Digital: GPIO6 through GPIO 13
    • Reset: GPIO 14
    • VMotor connected to 3.3V for auto-focus modules
  • Micro SD Card:
    • SPI on GPIO 16, GPIO 18 and GPIO 19
    • Chip select on GPIO 17
    • Optional SD Detect on GPIO 15
  • Shutter button on GPIO 22
  • Reset button
  • 16 MHz 'XClock' generated by the onboard oscillator
  • Stemma QT port for I2C on GPIO 4 / 5

Note that to use the auto-focusing capability, you need to load a new firmware binary over I2C. The autofocus system is controlled with I2C commands to begin an auto-focus procedure and determine that the focus is complete. Otherwise, the camera looks just like any other OV5640 sensor.

Each order comes with an assembled PCB, camera sensor, and two pieces of 20-pin pin header. You will need to solder in the header yourself, but it's a quick task.

Since this board has the camera pointing 'up', it's best to use our PiCowbell 'doubler' to have the Pico on one side with the BOOT button accessible, and then the camera on the other side. Or you can 'stack' the camera 'bell on top, best when you don't need easy access to the BOOT loading button.

Or, for a compact package, you can...

  1. Use the Pico Stacking Headers if you want to be able to plug into a breadboard or other accessory with sockets. Solder these onto the Pico so that the camera is on top.
  2. Use the Pico Socket Headers if you want to plug directly in and have a nice solid connection that doesn't have any poking-out-bits. Ditto, solder these into the Pico and plug the camera on top.

Specifications

  • Dimensions: 53.0mm x 20.3mm x 6.8mm
  • Weight: 5.1g

Resources

$5.04

Original: $14.40

-65%
Adafruit PiCowbell Camera Breakout - Autofocus 72 Degree Lens

$14.40

$5.04

Product Information

Shipping & Returns

Description

Ding dong! Hear that? It's the PiCowbell ringing, letting you know that the new Adafruit PiCowbell OV5640 Camera Breakout with 72-degree Lens and Autofocus is in stock.

This is a quality OV5640 camera with a 5 Megapixel sensor element, a 72-degree non-distorting lens, and an autofocus motor, plus all the support circuitry you need to start taking pictures with your Pico or Pico W. You can grab raw RGB images for image analysis, or use the built-in JPEG encoding to save images to an SD card or upload them to adafruit.io.

The RP2040 chip has a fast PIO interface peripheral and enough memory to interface with 'DVP' (8-bit parallel digital) cameras. These camera sensors have 8 image data pins, Pixel Clock, H Sync and V Sync signals, plus an I2C configuration interface and a Reset plus power Down pin. That does mean a lot of GPIO is used! But we still have 6 GPIO pins available even after adding an SD card and shutter button.

Camera PiCowbell Features:

  • Interface for OV5640 Camera module
    • VSync: GPIO 0
    • Power Down: GPIO 1
    • HSync: GPIO 2
    • Pixel Clock: GPIO 3
    • SDA/SCL: GPIO 4 and GPIO 5
    • 8-bit Digital: GPIO6 through GPIO 13
    • Reset: GPIO 14
    • VMotor connected to 3.3V for auto-focus modules
  • Micro SD Card:
    • SPI on GPIO 16, GPIO 18 and GPIO 19
    • Chip select on GPIO 17
    • Optional SD Detect on GPIO 15
  • Shutter button on GPIO 22
  • Reset button
  • 16 MHz 'XClock' generated by the onboard oscillator
  • Stemma QT port for I2C on GPIO 4 / 5

Note that to use the auto-focusing capability, you need to load a new firmware binary over I2C. The autofocus system is controlled with I2C commands to begin an auto-focus procedure and determine that the focus is complete. Otherwise, the camera looks just like any other OV5640 sensor.

Each order comes with an assembled PCB, camera sensor, and two pieces of 20-pin pin header. You will need to solder in the header yourself, but it's a quick task.

Since this board has the camera pointing 'up', it's best to use our PiCowbell 'doubler' to have the Pico on one side with the BOOT button accessible, and then the camera on the other side. Or you can 'stack' the camera 'bell on top, best when you don't need easy access to the BOOT loading button.

Or, for a compact package, you can...

  1. Use the Pico Stacking Headers if you want to be able to plug into a breadboard or other accessory with sockets. Solder these onto the Pico so that the camera is on top.
  2. Use the Pico Socket Headers if you want to plug directly in and have a nice solid connection that doesn't have any poking-out-bits. Ditto, solder these into the Pico and plug the camera on top.

Specifications

  • Dimensions: 53.0mm x 20.3mm x 6.8mm
  • Weight: 5.1g

Resources

You may also like

-70%
Thumbnail 1Thumbnail 2

Adafruit AS7343 14-Channel Light / Colour Sensor Breakout

$25.35

$7.61

Thumbnail 1Thumbnail 2

Adafruit AS7331 UV / UVA / UVB / UVC Sensor Breakout

$28.52

Thumbnail 1Thumbnail 2

Adafruit Fruit Jam - Mini RP2350 Computer

$50.71

-70%
Thumbnail 1Thumbnail 2

Adafruit SGP41 Multi-Pixel Gas Sensor Breakout - VOC & NOx

$25.35

$7.61

-70%
Thumbnail 1Thumbnail 2

Adafruit TMP119 High-Precision ±0.03°C I2C Temperature Sensor

$19.01

$5.70

-70%
Thumbnail 1Thumbnail 2

Adafruit STCC4 and SHT41 - CO2, Temperature & Humidity Sensor

$34.86

$10.46

-70%
Thumbnail 1Thumbnail 2

Adafruit APDS9999 Proximity, Lux Light & Colour Sensor

$9.51

$2.85

Thumbnail 1Thumbnail 2

Adafruit TCS3430 / TCS34303 Ambient Tri-Stimulus Colour Sensor

$12.02

-70%
Thumbnail 1Thumbnail 2

Adafruit LED Sequins - Cool White - Pack of 5

$5.02

$1.51

-70%
Thumbnail 1Thumbnail 2

Adafruit ADS122C04 24-Bit ADC - 4 Channel 2-kSPS

$25.35

$7.61

-70%
Thumbnail 1Thumbnail 2

Adafruit TMAG5273 3D Hall Effect Magnetometer Breakout

$7.53

$2.26

Thumbnail 1Thumbnail 2

Adafruit Terminal Block BFF Add-On for QT Py and XIAO

$13.86