Stufin
Home Quick Cart Profile

Raspberry Pi Camera Module 3 NoIR Wide

Buy Now on Stufin

Name

Raspberry Pi Camera Module 3 NoIR Wide

Description

The Raspberry Pi Camera Module 3 NoIR Wide is a high-quality camera module designed specifically for use with Raspberry Pi single-board computers. This camera module is part of the third generation of Raspberry Pi cameras, offering improved performance and features compared to its predecessors.

Functionality

The Raspberry Pi Camera Module 3 NoIR Wide is a wide-angle camera module that captures high-quality images and video. It is designed for use in various applications, including

Computer vision projects

IoT applications

Surveillance systems

Robotics

Media centers

Key Features

  • Image Sensor:

12-megapixel Sony IMX708 image sensor

Backside illumination (BSI) technology for improved low-light performance

  • Lens:

Wide-angle lens with a 102 diagonal field of view

Focal length

3.04 mm

f/2.1 aperture

  • NoIR (No Infrared filter) Filter:

Allows for nighttime photography and computer vision applications that require IR sensitivity

Suitable for use with external IR illuminators or LEDs

  • Resolution and Frame Rate:

Still images

up to 12 megapixels (4032 x 3024)

Video

up to 1080p at 30 fps, 720p at 60 fps, or 480p at 90 fps

  • Connectivity:

15-pin MIPI CSI-2 interface connects directly to the Raspberry Pi board

Supports Raspberry Pi OS and other compatible operating systems

  • Mechanical Dimensions:

Dimensions

25 mm x 23 mm x 9 mm (1 inch x 0.9 inch x 0.35 inch)

Weight

10 grams (0.35 oz)

  • Operating Conditions:

Operating temperature

-20C to 70C (-4F to 158F)

Storage temperature

-30C to 80C (-22F to 176F)

  • Compatibility:

Compatible with Raspberry Pi 4, Raspberry Pi 3, Raspberry Pi 2, and Raspberry Pi 1

Also compatible with other single-board computers that support MIPI CSI-2 interfaces

  • Accessories:

Includes a 15-pin MIPI CSI-2 cable for connecting to the Raspberry Pi board

Optional

Raspberry Pi Camera Module 3 NoIR Wide case and mounting accessories available separately

The Raspberry Pi Camera Module 3 NoIR Wide offers improved performance, wider angle, and higher resolution compared to its predecessors, making it an ideal choice for various IoT and computer vision applications.

Pin Configuration

  • Raspberry Pi Camera Module 3 NoIR Wide Pinout Explanation
  • The Raspberry Pi Camera Module 3 NoIR Wide is a high-quality camera module designed for use with Raspberry Pi boards. The module has a 15-pin interface that connects to the Raspberry Pi's camera serial interface (CSI). Here's a detailed explanation of each pin, along with guidance on how to connect them:
  • Pinout Structure:
  • The camera module has a 15-pin FPC (Flexible Printed Circuit) connector. The pins are arranged in two rows of 7 and 8 pins, respectively. When facing the connector, the rows are labeled as:
  • Top row (pins 1-7)
  • Bottom row (pins 8-15)
  • Pin-by-Pin Explanation and Connection Guide:
  • 1. Pin 1: CSI2 Lane 0 (D0)
  • Description: Camera data lane 0
  • Connection: Connect to Raspberry Pi's CSI2 Lane 0 (D0) pin
  • 2. Pin 2: CSI2 Lane 1 (D1)
  • Description: Camera data lane 1
  • Connection: Connect to Raspberry Pi's CSI2 Lane 1 (D1) pin
  • 3. Pin 3: CSI2 Lane 2 (D2)
  • Description: Camera data lane 2
  • Connection: Connect to Raspberry Pi's CSI2 Lane 2 (D2) pin
  • 4. Pin 4: CSI2 Lane 3 (D3)
  • Description: Camera data lane 3
  • Connection: Connect to Raspberry Pi's CSI2 Lane 3 (D3) pin
  • 5. Pin 5: PCLK (Pixel Clock)
  • Description: Pixel clock signal
  • Connection: Connect to Raspberry Pi's PCLK pin
  • 6. Pin 6: VSYNC (Vertical Sync)
  • Description: Vertical sync signal
  • Connection: Connect to Raspberry Pi's VSYNC pin
  • 7. Pin 7: HSYNC (Horizontal Sync)
  • Description: Horizontal sync signal
  • Connection: Connect to Raspberry Pi's HSYNC pin
  • 8. Pin 8: GND (Ground)
  • Description: Ground reference
  • Connection: Connect to Raspberry Pi's GND pin
  • 9. Pin 9: XCLK (X-Clock)
  • Description: X-clock signal
  • Connection: Connect to Raspberry Pi's XCLK pin
  • 10. Pin 10: DN (Data Not Ready)
  • Description: Data not ready signal
  • Connection: Connect to Raspberry Pi's DN pin
  • 11. Pin 11: RESET
  • Description: Camera module reset signal
  • Connection: Connect to Raspberry Pi's RESET pin (optional, but recommended for proper camera operation)
  • 12. Pin 12: POWER_DOWN
  • Description: Power-down signal (active low)
  • Connection: Connect to Raspberry Pi's GPIO pin (e.g., GPIO17) for power control (optional)
  • 13. Pin 13: LED_I2C_SCL (I2C Clock)
  • Description: I2C clock signal for LED control
  • Connection: Not connected by default; use an I2C bus extender or a custom circuit to control the LED
  • 14. Pin 14: LED_I2C_SDA (I2C Data)
  • Description: I2C data signal for LED control
  • Connection: Not connected by default; use an I2C bus extender or a custom circuit to control the LED
  • 15. Pin 15: 3V3
  • Description: 3.3V power supply
  • Connection: Connect to Raspberry Pi's 3V3 power pin
  • Important Connection Notes:
  • Ensure the camera module is connected to the Raspberry Pi's CSI2 interface, which is usually located near the USB ports.
  • Use a 15-pin FPC connector to connect the camera module to the Raspberry Pi.
  • Be careful when handling the FPC connector and camera module to avoid damage.
  • Make sure to configure the Raspberry Pi's camera interface correctly using the `raspistill` or `libcamera` tools.
  • By following this pinout guide and connecting the pins correctly, you'll be able to use the Raspberry Pi Camera Module 3 NoIR Wide with your Raspberry Pi board.

Code Examples

Raspberry Pi Camera Module 3 NoIR Wide Documentation
Overview
The Raspberry Pi Camera Module 3 NoIR Wide is a high-quality camera module designed for use with Raspberry Pi boards. This module features a 12-megapixel Sony IMX708 sensor, improved low-light performance, and a wide-angle lens with a 102 field of view. The "NoIR" designation indicates that this module does not have an infrared filter, making it suitable for use in low-light conditions or with infrared illumination.
Technical Specifications
Sensor: Sony IMX708, 1/2" format, 12-megapixel
 Lens: Wide-angle, f/2.0, 102 field of view
 Focus: Fixed focus, 1m to infinity
 Interface: CSI-2 (Camera Serial Interface)
 Resolution: Up to 4032x3042 pixels
 Frame rate: Up to 30 fps at 1080p
 Operating temperature: 0C to 50C
Code Examples
### Example 1: Capturing a Still Image using Python
This example demonstrates how to capture a still image using the Raspberry Pi Camera Module 3 NoIR Wide and Python:
```python
import picamera
# Create a PiCamera object
camera = picamera.PiCamera()
# Set the camera resolution and format
camera.resolution = (4032, 3042)
camera.format = 'jpg'
# Capture a still image
camera.capture('image.jpg')
# Close the camera
camera.close()
```
This code creates a `PiCamera` object, sets the resolution and format, captures a still image, and saves it to a file named `image.jpg`.
### Example 2: Streaming Video using OpenCV and Python
This example demonstrates how to stream video from the Raspberry Pi Camera Module 3 NoIR Wide using OpenCV and Python:
```python
import cv2
# Create a video capture object
cap = cv2.VideoCapture(0)
while True:
    # Read a frame from the camera
    ret, frame = cap.read()
    
    # Display the frame
    cv2.imshow('Camera Feed', frame)
    
    # Exit on key press
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
# Release the video capture object
cap.release()
cv2.destroyAllWindows()
```
This code creates a video capture object using OpenCV, reads frames from the camera, displays them, and exits when the user presses the "q" key.
### Example 3: Motion Detection using Python and OpenCV
This example demonstrates how to detect motion using the Raspberry Pi Camera Module 3 NoIR Wide, Python, and OpenCV:
```python
import cv2
# Create a video capture object
cap = cv2.VideoCapture(0)
while True:
    # Read a frame from the camera
    ret, frame = cap.read()
    
    # Convert the frame to grayscale
    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
    
    # Apply Gaussian blur
    blur = cv2.GaussianBlur(gray, (21, 21), 0)
    
    # Calculate the absolute difference between the current frame and the previous frame
    frame_delta = cv2.absdiff(blur, cv2.imread('previous_frame.jpg', cv2.IMREAD_GRAYSCALE))
    
    # Threshold the frame delta
    thresh = cv2.threshold(frame_delta, 25, 255, cv2.THRESH_BINARY)[1]
    
    # Find contours in the thresholded image
    contours, _ = cv2.findContours(thresh, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
    
    # Iterate through contours and draw a rectangle around the motion
    for contour in contours:
        if cv2.contourArea(contour) > 1000:
            x, y, w, h = cv2.boundingRect(contour)
            cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2)
    
    # Display the output
    cv2.imshow('Motion Detection', frame)
    
    # Exit on key press
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break
# Release the video capture object
cap.release()
cv2.destroyAllWindows()
```
This code creates a video capture object, reads frames from the camera, applies motion detection using background subtraction and thresholding, and draws a rectangle around the detected motion.