- All products
- Development Boards
- Raspberry Pi
- RPi Accessories
- RPi Cameras
- Camera Module V2 8MP for Raspberry Pi
- RPi Cameras
Features:
- 8-Megapixel Resolution: High-resolution image capture with the Sony IMX219 sensor.
- Still Image Capture: Supports up to 3280x2464 pixels for detailed images.
- Video Recording: Supports 1080p30, 720p60, and 640x480p90 video modes.
- Compact Design: Ideal for space-constrained projects.
- Easy Integration: Connects via ribbon cable to Raspberry Pi CSI port.
- CSI Interface: Efficient data transfer through the Camera Serial Interface.
- Fully Compatible: Works with all Raspberry Pi models.
Description:
This module features an 8MP Sony IMX219 sensor and connects to the Raspberry Pi via a CSI ribbon cable. It supports capturing still images at 3280x2464 resolution and video recording at multiple frame rates. It's ideal for surveillance, robotics, home automation, and more.
Principle of Work:
- Physical Connection: Ribbon cable connects to the CSI port on the Raspberry Pi.
- Sensor: Sony IMX219 converts light to digital signals.
- Data Transfer: Communication via CSI interface.
- Driver Support: Built-in camera drivers in Raspberry Pi OS.
- Software: Control via Python libraries like
picamera. - Image Capture: Capture photos and videos via software commands.
Note: Connect the ribbon cable with the blue backing facing away from the PCB on the camera, and towards the Ethernet port on the Raspberry Pi.
Pinout:

| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | CAM_D0_N | MIPI Data Lane 0 Negative |
| 3 | CAM_D0_P | MIPI Data Lane 0 Positive |
| 4 | GND | Ground |
| 5 | CAM_D1_N | MIPI Data Lane 1 Negative |
| 6 | CAM_D1_P | MIPI Data Lane 1 Positive |
| 7 | GND | Ground |
| 8 | CAM_CK_N | MIPI Clock Lane Negative |
| 9 | CAM_CK_P | MIPI Clock Lane Positive |
| 10 | GND | Ground |
| 11 | CAM_IO0 | Power Enable |
| 12 | CAM_IO1 | LED Indicator |
| 13 | CAM_SCL | I2C SCL |
| 14 | CAM_SDA | I2C SDA |
| 15 | CAM_3V3 | 3.3V Power Input |
Applications:
- Photography
- Video Recording
- Surveillance Systems
- Robotics
- Home Automation
- Computer Vision Projects
- Remote Monitoring
- Education and Learning
Circuit Setup:
Enable the camera via Raspberry Pi Configuration under the Interfaces tab. Connect the camera module to the CSI port with correct orientation (blue side up on Pi).

Library Installation:
$ python -c "import picamera"
$ python3 -c "import picamera"
If not installed, use the following commands:
$ sudo apt-get update
$ sudo apt-get install python-picamera python3-picamera
Python Code Example:
from time import sleep
from picamera import PiCamera
camera = PiCamera()
camera.resolution = (1024, 768)
camera.start_preview()
sleep(2)
camera.capture('test_photo.jpg')
Technical Specifications:
- Weight: 3g
- CCD size: 1/4 inch
- Aperture: F2.0
- Focal Length: 3.04mm
- Resolution: 3280 × 2464 (8MP)
- Video: 1080p30, 720p60, 480p90
- Sensor: Sony IMX219
- Horizontal FOV: 62.2°
- Vertical FOV: 48.8°
- Dimensions: 25mm × 24mm × 9mm
- Compatible with: Raspberry Pi 4B, 3B, 3B+, 3A+, Zero W
Comparison with Other Modules:
| Name | Camera Module v1.3 | Camera Module v2 | Camera Module HQ |
|---|---|---|---|
| Size | 25 × 24 × 9 mm | 25 × 24 × 9 mm | 38 × 38 × 18.4 mm |
| Weight | 3g | 3g | 3g |
| Still Resolution | 5MP | 8MP | 12.3MP |
| Video Modes | 1080p30, 720p60, 480p90 | 1080p30, 720p60, 480p90 | 1080p30, 720p60, 480p90 |
| Sensor | OmniVision OV5647 | Sony IMX219 | Sony IMX477 |
| Sensor Resolution | 2592 × 1944 | 3280 × 2464 | 4056 × 3040 |
| Sensor Area | 3.76 × 2.74 mm | 3.68 × 2.76 mm | 6.287 × 4.712 mm |
| Pixel Size | 1.4µm × 1.4µm | 1.12µm × 1.12µm | 1.55µm × 1.55µm |
| Focal Length | 3.60mm ± 0.01 | 3.04mm | Depends on lens |
| Horizontal FOV | 53.5° ± 0.13 | 62.2° | Depends on lens |
| Vertical FOV | 41.41° ± 0.11 | 48.8° | Depends on lens |
Features:
- 8-Megapixel Resolution: High-resolution image capture with the Sony IMX219 sensor.
- Still Image Capture: Supports up to 3280x2464 pixels for detailed images.
- Video Recording: Supports 1080p30, 720p60, and 640x480p90 video modes.
- Compact Design: Ideal for space-constrained projects.
- Easy Integration: Connects via ribbon cable to Raspberry Pi CSI port.
- CSI Interface: Efficient data transfer through the Camera Serial Interface.
- Fully Compatible: Works with all Raspberry Pi models.
Description:
This module features an 8MP Sony IMX219 sensor and connects to the Raspberry Pi via a CSI ribbon cable. It supports capturing still images at 3280x2464 resolution and video recording at multiple frame rates. It's ideal for surveillance, robotics, home automation, and more.
Principle of Work:
- Physical Connection: Ribbon cable connects to the CSI port on the Raspberry Pi.
- Sensor: Sony IMX219 converts light to digital signals.
- Data Transfer: Communication via CSI interface.
- Driver Support: Built-in camera drivers in Raspberry Pi OS.
- Software: Control via Python libraries like
picamera. - Image Capture: Capture photos and videos via software commands.
Note: Connect the ribbon cable with the blue backing facing away from the PCB on the camera, and towards the Ethernet port on the Raspberry Pi.
Pinout:

| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground |
| 2 | CAM_D0_N | MIPI Data Lane 0 Negative |
| 3 | CAM_D0_P | MIPI Data Lane 0 Positive |
| 4 | GND | Ground |
| 5 | CAM_D1_N | MIPI Data Lane 1 Negative |
| 6 | CAM_D1_P | MIPI Data Lane 1 Positive |
| 7 | GND | Ground |
| 8 | CAM_CK_N | MIPI Clock Lane Negative |
| 9 | CAM_CK_P | MIPI Clock Lane Positive |
| 10 | GND | Ground |
| 11 | CAM_IO0 | Power Enable |
| 12 | CAM_IO1 | LED Indicator |
| 13 | CAM_SCL | I2C SCL |
| 14 | CAM_SDA | I2C SDA |
| 15 | CAM_3V3 | 3.3V Power Input |
Applications:
- Photography
- Video Recording
- Surveillance Systems
- Robotics
- Home Automation
- Computer Vision Projects
- Remote Monitoring
- Education and Learning
Circuit Setup:
Enable the camera via Raspberry Pi Configuration under the Interfaces tab. Connect the camera module to the CSI port with correct orientation (blue side up on Pi).

Library Installation:
$ python -c "import picamera"
$ python3 -c "import picamera"
If not installed, use the following commands:
$ sudo apt-get update
$ sudo apt-get install python-picamera python3-picamera
Python Code Example:
from time import sleep
from picamera import PiCamera
camera = PiCamera()
camera.resolution = (1024, 768)
camera.start_preview()
sleep(2)
camera.capture('test_photo.jpg')
Technical Specifications:
- Weight: 3g
- CCD size: 1/4 inch
- Aperture: F2.0
- Focal Length: 3.04mm
- Resolution: 3280 × 2464 (8MP)
- Video: 1080p30, 720p60, 480p90
- Sensor: Sony IMX219
- Horizontal FOV: 62.2°
- Vertical FOV: 48.8°
- Dimensions: 25mm × 24mm × 9mm
- Compatible with: Raspberry Pi 4B, 3B, 3B+, 3A+, Zero W
Comparison with Other Modules:
| Name | Camera Module v1.3 | Camera Module v2 | Camera Module HQ |
|---|---|---|---|
| Size | 25 × 24 × 9 mm | 25 × 24 × 9 mm | 38 × 38 × 18.4 mm |
| Weight | 3g | 3g | 3g |
| Still Resolution | 5MP | 8MP | 12.3MP |
| Video Modes | 1080p30, 720p60, 480p90 | 1080p30, 720p60, 480p90 | 1080p30, 720p60, 480p90 |
| Sensor | OmniVision OV5647 | Sony IMX219 | Sony IMX477 |
| Sensor Resolution | 2592 × 1944 | 3280 × 2464 | 4056 × 3040 |
| Sensor Area | 3.76 × 2.74 mm | 3.68 × 2.76 mm | 6.287 × 4.712 mm |
| Pixel Size | 1.4µm × 1.4µm | 1.12µm × 1.12µm | 1.55µm × 1.55µm |
| Focal Length | 3.60mm ± 0.01 | 3.04mm | Depends on lens |
| Horizontal FOV | 53.5° ± 0.13 | 62.2° | Depends on lens |
| Vertical FOV | 41.41° ± 0.11 | 48.8° | Depends on lens |