Stufin
Home Quick Cart Profile

Raspberry Pi Camera Module 3 Wide

Buy Now

Still images

up to 12 megapixels (4032 x 3024)

Videos

up to 1080p at 30fps, 720p at 60fps, and 640x480p at 90fps

The camera module also features built-in image processing capabilities, allowing for features like

Automatic gain control (AGC)

Automatic white balance (AWB)

Exposure compensation

Key Features

  • Wide-angle lens: The Camera Module 3 Wide features a wide-angle lens with a 102 diagonal field of view, making it ideal for applications where a broader field of view is required.
  • High-quality sensor: The module uses a high-quality Sony IMX708 image sensor, which provides excellent image quality and low noise levels.
  • Improved low-light performance: The Camera Module 3 Wide has improved low-light performance compared to previous models, making it suitable for applications where lighting conditions are limited.
  • Support for multiple interfaces: The module supports multiple interfaces, including CSI-2, I2C, and power supply.
  • Compact design: The Camera Module 3 Wide has a compact design, making it easy to integrate into a wide range of applications.
  • Compatibility: The module is compatible with all Raspberry Pi boards, including Raspberry Pi 4, Raspberry Pi 3, and Raspberry Pi Zero.
  • Open-source software: The camera module is supported by open-source software, making it easy to develop custom applications and projects.
  • IR cut filter: The module includes an IR cut filter, which helps to reduce noise and improve image quality in low-light conditions.

Technical Specifications

Image sensor

Sony IMX708

Resolution

up to 12 megapixels (4032 x 3024)

Lens

6-element lens with f/1.8 aperture

Field of view

102 diagonal

Focus range

1m to infinity

Interface

CSI-2, I2C, power supply

Power consumption

250mA typical, 450mA maximum

Operating temperature

-20C to 50C

Dimensions

25mm x 23mm x 9mm

Applications

The Raspberry Pi Camera Module 3 Wide is suitable for a wide range of applications, including

Computer vision projects

Robotics and automation

Home security and surveillance systems

Media centers and streaming devices

IoT projects and prototyping

Overall, the Raspberry Pi Camera Module 3 Wide is a high-quality camera module that offers excellent image quality, improved low-light performance, and a wide range of features and interfaces. Its compact design and compatibility with Raspberry Pi boards make it an ideal choice for a wide range of applications.

Pin Configuration

  • Raspberry Pi Camera Module 3 Wide Pinout Guide
  • The Raspberry Pi Camera Module 3 Wide is a high-quality camera module designed for use with Raspberry Pi single-board computers. It features a 12-megapixel sensor, improved low-light performance, and a wide-angle lens. The camera module connects to the Raspberry Pi via a 15-pin FPC (Flexible Printed Circuit) connector. Here's a detailed breakdown of each pin and how to connect them:
  • Pinout:
  • 1. GND (Ground)
  • Function: Provides a ground connection for the camera module
  • Connection: Connect to a ground pin on the Raspberry Pi (e.g., Pin 6, 9, 14, 17, 20, 25, 30, or 34)
  • 2. PWRDN (Power Down)
  • Function: Enables or disables the camera module's power
  • Connection: Typically connected to a GPIO pin on the Raspberry Pi (e.g., Pin 18) to control power state
  • 3. XCLK (Clock)
  • Function: Provides a clock signal for the camera module's operation
  • Connection: Not connected directly to the Raspberry Pi; instead, the Raspberry Pi's clock signal is routed internally
  • 4. PCLK (Pixel Clock)
  • Function: Synchronizes the camera module's pixel data transmission
  • Connection: Not connected directly to the Raspberry Pi; instead, the Raspberry Pi's pixel clock signal is routed internally
  • 5. VSYNC (Vertical Sync)
  • Function: Indicates the start of a new frame transmission
  • Connection: Not connected directly to the Raspberry Pi; instead, the Raspberry Pi's VSYNC signal is routed internally
  • 6. HSYNC (Horizontal Sync)
  • Function: Synchronizes the camera module's horizontal data transmission
  • Connection: Not connected directly to the Raspberry Pi; instead, the Raspberry Pi's HSYNC signal is routed internally
  • 7. D0 (Data Bit 0)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 0 (e.g., Pin 32)
  • 8. D1 (Data Bit 1)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 1 (e.g., Pin 33)
  • 9. D2 (Data Bit 2)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 2 (e.g., Pin 36)
  • 10. D3 (Data Bit 3)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 3 (e.g., Pin 37)
  • 11. D4 (Data Bit 4)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 4 (e.g., Pin 40)
  • 12. D5 (Data Bit 5)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 5 (e.g., Pin 41)
  • 13. D6 (Data Bit 6)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 6 (e.g., Pin 44)
  • 14. D7 (Data Bit 7)
  • Function: Transmits image data from the camera module
  • Connection: Connect to the Raspberry Pi's CSI-2 Lane 7 (e.g., Pin 45)
  • 15. Shield (Shield)
  • Function: Provides a ground connection for the FPC connector's shield
  • Connection: Connect to a ground pin on the Raspberry Pi (e.g., Pin 6, 9, 14, 17, 20, 25, 30, or 34)
  • Connecting the Pins:
  • 1. Carefully peel the FPC connector from the camera module and align it with the Raspberry Pi's CSI-2 connector.
  • 2. Ensure the pins are securely connected, making sure not to bend or damage the FPC connector.
  • 3. Gently push the FPC connector onto the Raspberry Pi's CSI-2 connector until it clicks into place.
  • Important Notes:
  • Always handle the camera module and FPC connector with care to avoid damage.
  • Make sure to connect the camera module to the correct CSI-2 port on the Raspberry Pi (usually labeled as "CAMERA" or "CSI-2").
  • Consult the Raspberry Pi's documentation and the camera module's datasheet for specific connection diagrams and configuration instructions.
  • By following these guidelines, you should be able to successfully connect the Raspberry Pi Camera Module 3 Wide to your Raspberry Pi and start capturing high-quality images.

Code Examples

Raspberry Pi Camera Module 3 Wide Documentation
Overview
The Raspberry Pi Camera Module 3 Wide is a high-quality camera module designed specifically for the Raspberry Pi series of single-board computers. It features a 12-megapixel sensor, improved low-light performance, and a wider angle lens compared to its predecessors. This module is ideal for various IoT applications, including computer vision, robotics, and monitoring systems.
Technical Specifications
12-megapixel Sony IMX708 sensor
 Wide-angle lens (FOV: 102 horizontal, 76 vertical)
 Supports up to 4K video at 30fps
 Improved low-light performance
 Compatible with Raspberry Pi 4, 3, and 2 models
Using the Raspberry Pi Camera Module 3 Wide
### Example 1: Capturing a Still Image using Python
To use the Raspberry Pi Camera Module 3 Wide, you'll need to have the Raspberry Pi OS installed on your Raspberry Pi board and the `picamera` library installed.
Code Example:
```python
import picamera
# Create a Picamera object
camera = picamera.PiCamera()
# Set the camera resolution and framerate
camera.resolution = (640, 480)
camera.framerate = 30
# Capture a still image and save it to a file
camera.capture('image.jpg')
# Close the camera
camera.close()
```
This code creates a `Picamera` object, sets the camera resolution and framerate, captures a still image, and saves it to a file named `image.jpg`.
### Example 2: Streaming Video using Python and OpenCV
In this example, we'll use the `picamera` library in conjunction with OpenCV to stream video from the Raspberry Pi Camera Module 3 Wide.
Code Example:
```python
import picamera
import cv2
# Create a Picamera object
camera = picamera.PiCamera()
# Set the camera resolution and framerate
camera.resolution = (640, 480)
camera.framerate = 30
# Create an OpenCV window
cv2.namedWindow('Video Stream', cv2.WINDOW_NORMAL)
while True:
    # Capture a frame from the camera
    frame = camera.capture_array(format='bgr')
# Display the frame using OpenCV
    cv2.imshow('Video Stream', frame)
# Exit on key press
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
# Close the camera and OpenCV window
camera.close()
cv2.destroyAllWindows()
```
This code creates a `Picamera` object, sets the camera resolution and framerate, captures frames from the camera, and displays them using OpenCV. The video stream can be exited by pressing the 'q' key.
### Example 3: Time-Lapse Photography using Bash Scripting
In this example, we'll use a bash script to capture a series of images at regular intervals using the Raspberry Pi Camera Module 3 Wide.
Code Example:
```bash
#!/bin/bash
# Set the capture interval (in seconds)
INTERVAL=30
# Set the output directory
OUTPUT_DIR=/home/pi/timelapse
# Create the output directory if it doesn't exist
mkdir -p $OUTPUT_DIR
while true
do
    # Capture an image and save it to the output directory
    raspistill -o $OUTPUT_DIR/image_%03d.jpg -t 1000 -w 640 -h 480
# Wait for the capture interval
    sleep $INTERVAL
done
```
This script captures an image every 30 seconds using the `raspistill` command and saves it to a directory named `timelapse`. The `sleep` command is used to wait for the specified interval before capturing the next image.
Remember to make the script executable by running `chmod +x script.sh` and then run it using `./script.sh`.