{"title":"Adafruit PiCowbell Camera Breakout - Autofocus 72 Degree Lens","handle":"adafruit-picowbell-camera-breakout-autofocus-72-degree-lens-ada5945","url":"/products/adafruit-picowbell-camera-breakout-autofocus-72-degree-lens-ada5945","description":"The Adafruit PiCowbell OV5640 Camera Breakout with Autofocus (72°) adds a 5-megapixel camera with a standard 72-degree non-distorting lens and autofocus motor to your Raspberry Pi Pico or Pico W. The narrower field of view produces natural-looking images without the barrel distortion of wider lenses. Capture raw RGB images for analysis or use the OV5640's built-in JPEG encoding to save photos to a microSD card.\n\nThe 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.\n\nKey Features\n\n\nOV5640 5MP Camera with Autofocus – 72-degree non-distorting lens with motor-driven focus\n\n8-bit DVP Interface – Uses RP2040 PIO for fast parallel data capture (GPIO 0–14)\n\nMicroSD Card Slot – SPI on GPIO 16–19, optional card detect on GPIO 15\n\nShutter Button – Dedicated button on GPIO 22\n\nSTEMMA QT / Qwiic – I2C connector on GPIO 4/5 for additional sensors\n\n16 MHz Onboard Oscillator – Generates XClock for the camera module\n\nReset Button – Quick restart access\n\n\n\nNote: 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.\n\n\nPin Assignments\n\n\nCamera – VSync (0), PWDN (1), HSync (2), PCLK (3), SDA/SCL (4/5), D0–D7 (6–13), Reset (14)\n\nMicroSD – SPI (16, 18, 19), CS (17), Detect (15)\n\nShutter – GPIO 22\n\n\nIdeal For\n\nNatural-perspective image capture without wide-angle distortion\nClose-up photography and variable-distance focus with Pico\nComputer vision and image processing projects\nIoT camera applications with Pico W\n\n\nAlso Consider\n\n\nPiCowbell Camera – Autofocus 120° Lens – Wider field of view with autofocus\n\nPiCowbell Camera – 120° Low Distortion (Fixed Focus) – Wide angle without autofocus\n\n\nPackage Contents\n\n1× PiCowbell Camera Breakout PCB (assembled)\n1× OV5640 Camera Sensor with autofocus and 72-degree lens\n2× 20-pin header strips (soldering required)\n","vendor":"Adafruit","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":1110,"title":"Default Title","sku":"AF-5945","mpn":"ADA5945","price":29.17,"compare_at_price":0.0,"on_sale":false,"in_stock":true,"available_quantity":102,"option1":"Default Title"}]}