Product repository: INNO-MAKER/cam-imx296raw-trigger
CAM-IMX296Mono-GS / CAM-IMX296Color-GS Camera Module

Raspberry Pi Global Shutter Camera
Support Hardware Trigger and Strobe
With Sony IMX296 Mono/Color Sensor
The CAM-IMX296Mono-GS and CAM-IMX296Color-GS are professional-grade global shutter camera modules featuring the Sony IMX296 CMOS sensor. The Mono variant (IMX296LLR) provides monochrome imaging without color filter, while the Color variant (IMX296LQR) includes a fixed color filter array. Both are designed for high-speed motion capture, automation, and machine vision applications where rolling shutter distortion must be eliminated.
These modules are compatible with Raspberry Pi 3, 4, and 5. They support up to 60fps at 1456×1088 resolution and exposure times as short as 30μs. Hardware trigger and strobe synchronization are available on supported Raspberry Pi configurations, making the modules suitable for high-speed photography and demanding imaging applications.
Key Features
- 1.58MP Global Shutter Sensor: 1456 × 1088 resolution with 3.4μm × 3.4μm pixel size
- Global Shutter: Eliminates motion blur and rolling shutter distortion in high-speed applications
- High Frame Rate: Support up to 60fps@1456×1088, with exposure times down to 30μs
- Mono & Color Variants:
- CAM-IMX296Mono-GS (IMX296LLR) - No color filter for maximum sensitivity
- CAM-IMX296Color-GS (IMX296LQR) - Fixed color filter array for RGB imaging
- Hardware Trigger & Strobe: Dedicated pins for external trigger input and strobe output on supported Raspberry Pi configurations
- Low Power Consumption: Operates with analog 3.3V, digital 1.2V, and interface 1.8V triple power supply
- High Sensitivity: Low dark current and low PLS characteristics for excellent low-light performance
- Broad Compatibility: Supports Raspberry Pi 3, 4, and 5 (Debian Bookworm/Trixie)
- Native Raspberry Pi Driver Support: Works directly with official kernel drivers
- Flexible Lens Options: Support M12 and CS lens mounts with included lens holder and adapter
Quick Start Guide — Raspberry Pi
1. Hardware Connection
Connect the camera to the CSI port of your Raspberry Pi using the appropriate ribbon cable. Ensure the connection is secure.
2. Enable the Driver
Modify the Raspberry Pi configuration file to enable the IMX296 overlay.
- For older OS versions:bash
sudo nano /boot/config.txt - For the latest OS (Bookworm/Trixie):bash
sudo nano /boot/firmware/config.txt
Add one of the following lines to the end of the file:
For CAM0 port:
dtoverlay=imx296,cam0For CAM1 port:
dtoverlay=imx296,cam13. Reboot & Test
Reboot your Raspberry Pi:
sudo rebootTest the camera using the rpicam-apps suite:
# Preview the camera stream
rpicam-hello -t 0
# Capture a still image
rpicam-still -o test.jpg
# List available cameras
rpicam-hello --list-camerasRaspberry Pi Camera Testing
For Raspberry Pi, use the rpicam-apps suite to test the camera:
# Preview the camera stream
rpicam-hello -t 0
# Capture a still image
rpicam-still -o test.jpg
# Record video (5 seconds)
rpicam-vid -t 5000 -o test.h264
# List available cameras
rpicam-hello --list-camerasAdvanced Features: Hardware Trigger
The module supports hardware triggering via GPIO on supported Raspberry Pi platforms.
Raspberry Pi Trigger Scripts
- Standard Trigger (
imx296.sh): A loop script that toggles GPIO 23 to trigger the camera. - Trixie/Bookworm Trigger (
imx296-trixie.sh): Optimized trigger command for the latest OS versions usinggpioset.
Note: External trigger and strobe functionality is available on supported Raspberry Pi configurations.
Trigger Pinout
Refer to 1-4Images/Conection.png for the physical pin definitions of the trigger and strobe headers.
I2C Tools & Diagnostics
Pre-compiled I2C Tools
Pre-compiled I2C diagnostic tools are provided for both 32-bit and 64-bit systems:
i2c-tools-arch32/: 32-bit binaries (i2c_read,i2c_write)i2c-tools-arch64/: 64-bit binaries (i2c_read,i2c_write)i2c-tools-python-eeprom-strobe-trigger/: Python-based utilities for trigger, strobe, and EEPROM control
Python I2C Tools (i2c.py)
The i2c-tools-python-eeprom-strobe-trigger/i2c.py script is a single Python 3 tool (stdlib only, no external dependencies) that covers three functions over I2C:
- External trigger — enable/disable hardware trigger mode (replaces the standalone
imx296_triggerbinary) - Strobe — enable/disable the sensor's strobe output
- On-board EEPROM — read/write/backup the FT24C08A 1 KB EEPROM
It also works as a drop-in replacement for the prebuilt i2c_read / i2c_write C binaries.
Which --bus to use? (Raspberry Pi 5)
The --bus number depends on which CSI port the camera ribbon is plugged into:
| CSI Port on Pi 5 | --bus value |
|---|---|
| CAM1 | --bus 4 |
| CAM0 | --bus 6 |
Not sure? Run ls /dev/i2c-* to list available buses, then i2cdetect -y 4 (or -y 6) to confirm — the sensor appears at 0x1a and the EEPROM at 0x50..0x53.
Quick Start
sudo chmod +x i2c-tools-python-eeprom-strobe-trigger/i2c.py
cd i2c-tools-python-eeprom-strobe-trigger
# Sanity check: should print "EEPROM chips found: 0x50 0x51 0x52 0x53"
sudo python3 i2c.py eeprom detect --bus 4External Trigger
Important: Run
trigger on/offwhile the camera stream is stopped (norpicam-hello/libcamera-*/v4l2running).
# Enter external-trigger mode: sensor waits for a pulse on the XTR pin before exposing each frame
sudo python3 i2c.py trigger on --bus 4
# Return to free-running mode
sudo python3 i2c.py trigger off --bus 4
# Read back the 4 trigger-related registers with hints
sudo python3 i2c.py trigger show --bus 4This replaces InnoMaker's standalone imx296_trigger binary and runs the same 6-write register sequence.
Combining Trigger + Strobe
For hardware-synchronised flash (each XTR pulse → one frame + one strobe pulse on the STROBE pin):
sudo python3 i2c.py trigger on --bus 4
sudo python3 i2c.py strobe on --bus 4 --mode triggerTo revert:
sudo python3 i2c.py strobe off --bus 4
sudo python3 i2c.py trigger off --bus 4Strobe
Important: Stop any running camera stream before calling
strobe on.
# External-trigger mode + strobe out
sudo python3 i2c.py strobe on --bus 4 --mode trigger
# Continuous-streaming mode + strobe out
sudo python3 i2c.py strobe on --bus 4 --mode normal
# Turn strobe off
sudo python3 i2c.py strobe off --bus 4
# Read back strobe registers with hints
sudo python3 i2c.py strobe show --bus 4EEPROM
The board has an FT24C08A EEPROM — four pages of 256 bytes each at 0x50, 0x51, 0x52, 0x53 (1 KB total).
# Confirm all 4 pages respond
sudo python3 i2c.py eeprom detect --bus 4
# Back up everything to a file (recommended before any write)
sudo python3 i2c.py eeprom dump --bus 4 --out cal_$(date +%Y%m%d).bin
# Read 16 bytes from page 0x51 at offset 0
sudo python3 i2c.py eeprom read --bus 4 --chip 0x51 --offset 0 --length 16
# Write a few bytes
sudo python3 i2c.py eeprom write --bus 4 --chip 0x51 --offset 0 --data 0xAA 0xBB 0xCC
# Restore a previous full dump
sudo python3 i2c.py eeprom restore --bus 4 --in cal_20260425.bin
# Erase everything (DESTRUCTIVE)
sudo python3 i2c.py eeprom clear --bus 4 --yesLow-level (Drop-in for i2c_read / i2c_write)
# Same argument order as the original C tools
sudo python3 i2c.py read 4 0x1a 0x306D 1
sudo python3 i2c.py write 4 0x1a 0x306D 0x02
# EEPROM uses 8-bit register addressing
sudo python3 i2c.py read 4 0x51 0x00 16 --reg-bits 8
sudo python3 i2c.py write 4 0x51 0x00 0xAA --reg-bits 8Troubleshooting
| Symptom | Likely Cause |
|---|---|
FATAL: /dev/i2c-4 not found | I2C disabled in raspi-config, or wrong bus number |
device did not ACK | Wrong slave address, no camera on that port, or stream is running |
| Strobe writes succeed but no pulse | Camera was streaming when you wrote — stop it and re-run strobe on |
eeprom detect only sees 0x50 | Different EEPROM chip — confirm with i2cdetect -y 4 |
trigger on but sensor still free-runs | Stream was running — stop rpicam-hello / libcamera-* and re-run |
Repository Structure
CAM-IMX296RAW-UserManual-V202.pdf: Latest technical manual with complete specifications.imx296.sh/imx296-trixie.sh: Shell scripts for Raspberry Pi hardware trigger control.1-4Images/: Connection diagrams and hardware reference images.FAQ/Old_Manual/: Legacy drivers and sample code (C/Python) for older Raspberry Pi kernel versions (5.4, 5.10, 6.1).FAQ/i2c-tools-arch32//FAQ/i2c-tools-arch64/: Pre-compiled I2C diagnostic tools.i2c-tools-python-eeprom-strobe-trigger/: Python-based I2C utilities for EEPROM, strobe, and trigger control.Certifications/: CE and FCC compliance documents.
Supported Platforms
| Platform | OS | Status | Notes |
|---|---|---|---|
| Raspberry Pi 3 | Bullseye, Bookworm | ✓ Supported | Legacy kernel support available; Trigger/Strobe supported |
| Raspberry Pi 4 | Bullseye, Bookworm, Trixie | ✓ Supported | Recommended for production; Trigger/Strobe supported |
| Raspberry Pi 5 | Bookworm, Trixie | ✓ Supported | Latest platform, fully optimized; Trigger/Strobe supported |
Documentation & Support
- Official Documentation:
- User Manual: See
CAM-IMX296RAW-UserManual-V202.pdf - Website: www.inno-maker.com
- Email: support@inno-maker.com | sales@inno-maker.com
Troubleshooting
Camera Not Detected on Raspberry Pi
- Verify the ribbon cable is properly seated in the CSI connector
- Check that the overlay is correctly configured in
config.txt - Verify the driver is loaded:
lsmod | grep imx296 - Check kernel messages:
dmesg | tail -20
Low Image Quality or Brightness Issues
- Use the brightness preset scripts to adjust gain and exposure
- Refer to the control parameter ranges table above
- Consult the user manual for detailed image quality tuning