Arducam B0312

Arducam Raspberry Pi Camera Module 3 (B0312) User Manual

12MP IMX708 75°(D) Autofocus Pi Camera V3

1. Introduction

This manual provides detailed instructions for the Arducam Raspberry Pi Camera Module 3 (Model B0312). This camera module features a 12-megapixel IMX708 sensor with High Dynamic Range (HDR) and autofocus capabilities, designed for use with various Raspberry Pi models including Pi 5, 4B, 3B, Zero W, and 2 W. It offers high-resolution still images (4608 x 2592) and supports both libcamera and Picamera2 for seamless integration and control.

Arducam Raspberry Pi Camera Module 3 with ribbon cable

Figure 1: Arducam Raspberry Pi Camera Module 3 with attached ribbon cable.

2. Package Contents

Verify that all items are present in your package:

  • 1 x Arducam 12MP IMX708 Camera Module 3
  • 1 x 66° HFOV Autofocus Lens (integrated)
  • Raspberry Pi compatible FFC cables (various lengths/types for different Pi models)

3. Setup

3.1 Hardware Connection

Carefully connect the camera module to your Raspberry Pi board using the appropriate Flexible Flat Cable (FFC). Ensure correct orientation to prevent damage.

Diagram showing correct and incorrect FFC cable insertion and connection instructions for Raspberry Pi 5, Pi 4, and Pi Zero.

Figure 2: FFC cable connection instructions for various Raspberry Pi models.

  • For Raspberry Pi 5: The metal contacts of the FFC cable should face the Ethernet port.
  • For Raspberry Pi 4B/3B: The metal contacts of the FFC cable should face the HDMI port.
  • For Raspberry Pi Zero W/2 W: The metal contacts of the FFC cable should face DOWN (towards the main board). Note that a thinner FFC cable is required for Pi Zero models.
Arducam Camera Module connected to Raspberry Pi Zero

Figure 3: Connection to Raspberry Pi Zero.

Arducam Camera Module connected to Raspberry Pi 4B

Figure 4: Connection to Raspberry Pi 4B.

Arducam Camera Module connected to Raspberry Pi 5

Figure 5: Connection to Raspberry Pi 5.

3.2 Software Configuration

The Arducam Camera Module 3 requires specific software configuration on your Raspberry Pi. This camera module is designed for the new camera stack (libcamera/Picamera2) and is not compatible with the legacy camera stack (raspistill/raspivid).

  1. Install Raspberry Pi OS: Ensure your Raspberry Pi is running a recent version of Raspberry Pi OS (e.g., Bullseye OS or newer) that supports the new camera stack.
  2. Update System: Open a terminal and run the following commands to update your system:
    sudo apt update && sudo apt upgrade
  3. Install libcamera-apps: Install the necessary camera applications:
    sudo apt install libcamera-apps
    For headless setups, consider `sudo apt install rpicam-apps-lite`.
  4. Configure `config.txt`: Edit the boot configuration file:
    sudo nano /boot/firmware/config.txt
    Locate or add the following lines:
    camera_auto_detect=0
    dtoverlay=imx708
    Save and exit the editor.
  5. Enable I2C: If not already enabled, enable I2C via `raspi-config`:
    sudo raspi-config
    Navigate to Interface Options > I2C and enable it.
  6. Reboot: Reboot your Raspberry Pi for changes to take effect:
    sudo reboot

4. Operating Instructions

After successful setup, you can operate the camera using `libcamera` commands or the Picamera2 library.

4.1 Basic Commands (libcamera)

  • List Cameras: Verify the camera is detected:
    rpicam-hello --list-cameras
    You should see output similar to: `0 : imx708 [4608x2592 10-bit RGGB]`.
  • Capture Still Image: Capture a JPEG image:
    rpicam-jpeg -o test.jpg
  • Record Video: Record an H.264 video:
    rpicam-vid -t 10000 -o video.h264
    (Records for 10 seconds)

4.2 Autofocus and HDR

The IMX708 sensor supports autofocus (PDAF and CDAF) and HDR. These features are typically managed automatically by the libcamera stack. For advanced control, refer to the official libcamera and Picamera2 documentation for specific parameters and settings.

5. Maintenance

The Arducam Camera Module 3 is a delicate electronic component. Follow these guidelines for proper maintenance:

  • Handling: Always handle the camera module by its edges to avoid touching the lens or sensor.
  • Cleaning: Use a soft, lint-free cloth or a specialized lens cleaning pen to gently clean the lens if necessary. Avoid abrasive materials or harsh chemicals.
  • Storage: Store the camera in a dry, dust-free environment when not in use.
  • Cable Care: Ensure FFC cables are not bent sharply or stressed, as this can damage the conductors.

6. Troubleshooting

If you encounter issues with your Arducam Camera Module 3, consider the following:

  • "No Cameras Available" Error:
    • Verify the FFC cable is correctly inserted at both the camera module and the Raspberry Pi. The metal contacts must be fully engaged and facing the correct direction as described in Section 3.1. Try flipping the cable at each end, one at a time, and rebooting.
    • Ensure `camera_auto_detect=0` and `dtoverlay=imx708` are correctly set in `/boot/firmware/config.txt`.
    • Confirm I2C is enabled via `raspi-config`.
    • Ensure your Raspberry Pi OS is updated and `libcamera-apps` are installed.
  • `dmaHeap allocation failure` Error: This error, often seen on older Pi models (e.g., Pi 4 running Bookworm), indicates insufficient memory for camera buffers. While increasing CMA (Contiguous Memory Allocator) might help, it's not always a guaranteed fix. Consider reducing resolution or frame rate, or using a newer Raspberry Pi model if possible.
  • Poor Image Quality/Focus Issues:
    • Remove any protective film from the lens.
    • Ensure adequate lighting in your environment.
    • For specific autofocus control, consult the libcamera/Picamera2 documentation for manual focus options.
  • Compatibility with Pi Zero: While compatible, ensure you are using the correct, thinner FFC cable designed for the Pi Zero's smaller camera connector.

7. Specifications

FeatureDetail
Model NumberB0312
Image SensorSony IMX708
Resolution12 Megapixels (4608 x 2592)
Field of View (Diagonal)75°
AutofocusYes (PDAF and CDAF)
HDR (High Dynamic Range)Yes
ConnectivityCSI-2
CompatibilityRaspberry Pi 5, 4B, 3B, Zero W, 2 W
Operating System SupportBullseye OS, libcamera, Picamera2
Item Weight1.27 ounces
Package Dimensions2.1 x 1.75 x 0.67 inches

8. Warranty Information

For detailed warranty information regarding your Arducam Raspberry Pi Camera Module 3, please refer to the official Arducam website or contact their customer support directly. Warranty terms and conditions may vary.

9. Support

If you require further assistance or have technical questions not covered in this manual, please visit the official Arducam support resources or contact their customer service department. Online forums and community resources for Raspberry Pi camera users may also provide helpful information.

Related Documents - B0312

Preview Arducam High-Resolution Autofocus Camera: Getting Started Guide
A comprehensive guide to installing and operating the Arducam High-Resolution Autofocus Camera, including safety instructions and compatibility information with Raspberry Pi.
Preview Arducam 12MP IMX477 Motorized Focus Camera for Raspberry Pi - B0272
High-quality 12MP Arducam camera module with Sony IMX477 sensor and motorized focus for Raspberry Pi. Features M12 lens mount, detailed specifications, connection instructions, and software setup for remote focus control.
Preview Arducam B0292 8MP USB Autofocus Camera Module Quick Start Guide
Quick start guide for the Arducam B0292, an 8MP USB autofocus camera module with IMX219 sensor. Includes specifications, setup instructions, and software usage details for Windows.
Preview Arducam 8MP IMX219 Camera Module for Raspberry Pi - Quick Start Guide
This guide provides essential information for setting up and using the Arducam 8MP IMX219 camera module with Raspberry Pi, covering hardware connection, software configuration, and basic operation.
Preview Arducam Ultra Wide Angle Fisheye 5MP OV5647 Camera for Raspberry Pi - Quick Start Guide
Comprehensive guide for the Arducam Ultra Wide Angle Fisheye 5MP OV5647 Camera module for Raspberry Pi. Covers specifications, hardware setup, and software configuration using libcamera and raspistill for Raspberry Pi OS Bullseye and Legacy.
Preview Arducam CSI-to-HDMI Adapter Kit for Raspberry Pi Cameras: Installation and Usage Guide
A comprehensive guide to installing and using the Arducam CSI-to-HDMI Adapter Kit with Raspberry Pi cameras, covering setup, compatibility, and safety precautions.