
CAM-IMX296Mono-GS
CAM-IMX296Color-GS
Raspberry PI Global Shutter Camera
Support Hardware Trigger and Strobe
With Sony IMX296 Mono/Color Sensor
IMX296 Sensor Module User Manual

وحدة استشعار IMX296
| تاريخ | المراجعة | تغيير التفاصيل |
| 9/8/2025 | رقم V2.0 | صدر لأول مرة |
| 10/30/2025 | رقم V2.0.1 | Add external trigger mode, add eeprom |
الغرض من الوثيقة
This Document is for inn maker imx296 mono version camera module and imx296 color version camera module.
| اسم المنتج | اسم المستشعر | وصف جهاز الاستشعار |
| CAM-IMX296Mono-GS (Old Name: CAM- IMX296RAW) | IMX296LLR | Mono Sensor Sony Official Description |
| CAM-IMX296Color-GS | IMX296LQR | Color Sensor Sony Official Description |
عادة سنقوم بتحديث دليل التطوير الخاص بنا هنا
https://github.com/INNO-MAKER/cam-imx296raw-trigger
https://www.inno-maker.com/product/cam-mipi296raw-trigger/
الوحدة النمطية أكثرview
InnoMaker IMX296 Sensor Module is a Global Shutter Camera with IMX296LLR-C CMOS Sensor Module for raspberry pi, compatible with raspberry pi build in driver. It supports up to 60fps at 1456×1088 Pixels operate with shorter exposure times down to 30µs, given enough light than a rolling shutter camera, which makes it useful for high-speed photography.
1.1 ميزات الوحدة
- Support up to 60fps@1456×1088, totally Compatible with raspberry pi GS camera;
- Support M12 Len/ CS Len, comes with 1xM12 Wide angle lens/Cs Lens Seat.
- Support output format YUV with Resolution 1456*1088 up to 60fps.
- Support Hardware External Trigger.
- Support Strobe Function.
1.2 انتهى الاستشعارview:
This chip operates with analog 3.3V, digital 1.2V, and interface 1.8V triple power supply:
- انخفاض استهلاك الطاقة.
- High sensitivity, low dark current and low PLS characteristics are achieved.
(Applications: Sensing
IMX296LLR / IMX296LQR-C
| FPS (Sensors): | 60.3 إطارًا في الثانية |
| Pixel Size (Sensors): | 3.4 ميكرومتر × 3.4 ميكرومتر |
| Resolution (Sensors): | 1.58 مليون |
| Scan/Series: | Pregius |
| Shutter (Sensors): | مصراع العالمي |
| Signal (Sensors): | IMX296LLR Mono IMX296LQR Color |
| حجم المستشعر | 1/2.9 Diagonal 6.3 mm |
وصف الأجهزة
2.1 Pins Out Table(J1)

| 2 | CAM_D0_N | MIPI Data Lane 0 Negative |
| 3 | CAM_D0_P | MIPI Data Lane 0 Positive |
| 4 | أرضي | أرضي |
| 5 | CAM_D1_N | MIPI Data Lane 1 Negative |
| 6 | CAM_D1_P | MIPI Data Lane 1 Positive |
| 7 | أرضي | أرضي |
| 8 | CAM_CK_N | MIPI Clock Lane Negative |
| 9 | CAM_CK_P | MIPI Clock Lane Positive |
| 10 | أرضي | أرضي |
| 11 | CAM_IO0 | تمكين الطاقة |
| 12 | CAM_IO1 | مؤشر LED |
| 13 | CAM_SCL | I2C إس سي إل |
| 14 | CAM_SDA | I2C SDA |
| 15 | CAM_3V3 | 3.3 فولت مدخلات الطاقة |
2.2 حجم الكاميرا

2.3 عدسة الكاميرا
M12 Len

- الواجهة: M12
- مجال view Fov(D) = wide angle
- الطول البؤري 2.8 ملم
- المسافة البؤرية قابلة للتعديل
- تشويه التلفزيون <-17%
- F(N)/الفتحة 2.2
- مرشح الأشعة تحت الحمراء
- Yes for Color Version
- No for Mono Version
M12 LEN Seat

CS Len Seat

2.4 Flash Strobe Pins(J2)


2.4.1 الدائرة المرجعية

عزل optocoupler TLP281 على اللوحة، لاحظ أن الحد الأقصى لتيار المجمع هو 50 مللي أمبير.
مواصفات الإخراج
| س. لا | المعلمة | حالة الاختبار | قيمة | وحدة | |||
| الحد الأدنى | النوع | الأعلى | |||||
| 1 | سائق المجلدtagه (VCC) | 12 | 24 | V | |||
| 2 | Drive amen( Qcc) | 10 | 50 go | mA V | |||
| Collector Emitter Breakdown المجلدtage | |||||||
| 3 | |||||||
| 4 | Collector Emitter Saturation المجلدtage | loc =1 .nA | 0.1 | 0.2 | V | ||
| 5 | قوة تبديد | _ | 150 | mW | |||
| جامع - باعث حجم التشبعtage |
VCE (السبت) | IF 10mA, Ic = 1mA | 0.1 | 0.2 | V |
So, if the current required to drive the Flash LED is no more than 50mA
The value of series resistor: R1 = ( VCC- Vf – VCE ) / If
- VCC: مجلد النظامtage
- Vf: Forward voltage من Flash LED لـ Icc الحالي
- VCE: Collection Emitter voltagه، نموذجي: 0.1 فولت
If the current required to drive the flash exceeds 50mA,
- then it is required to drive it with the help of LED driver circuit, and LED driver circuit can be controlled by using the strobe output pin.
2.5 External TRIG Pins(J3)



2.5.1 الدائرة المرجعية

The calculations done here are based on 12VDC. Please do follow these calculations for other voltages like 24VDC.
Let’s take the current through IR LED I_{f} = 20mA
المجلدtage drop across the IR LED = 1.25V
The value of Resistor R1 = (Vcc-Vi)/If = (12-1.25)/0.02 = 537.5 Ω Wattage of resistor R 1 >l 2 ^ * R 1 =0.02^ 2* 537.5 = 0.215W
واتtage of the resistor R1 selected should be greater than 0.215W.
And there is a resistor on board (R * 4 = 200Omega) So the R_add = R1-R4 = 537.5 – 200 = 337.50
دليل البدء السريع
اتصال

3.1 Modify config.txt
سودو نانو /التمهيد/البرامج الثابتة/config.txt
older os it should be sudo nano /boot/ config.txt
3.2 Add dtoverlay
For CAM1 Interface
dtoverlay=imx296, cam1
For CAM0 Interface
dtoverlay=imx296, cam0
Change camera_auto_detect=1 to camera_auto_detect=0
يحفظ file وإعادة التشغيل.
3.2 قبلview
Reboot and check camera Status
$ls /dev/video*

$libcamera-vid –width 1456 –height 1088 -t 0
3.3 libcamera-apps
More about libcamera and libcamera-apps Please
أشير:
https://www.raspberrypi.com/documentation/computers/camera_software.html#libcamera-and-libcamera-apps
وضع التشغيل الخارجي
4.1 الوصف
- The Global Shutter (GS) camera can be triggered externally by pulsing the external trigger (denoted on the board as XTR (Trig+),GND(Trig-)) connection on the board.
Multiple cameras can be connected to the same pulse, allowing for an alternative way to synchronize two cameras. - The exposure time is equal to the low pulse-width time plus an additional 14.26us. i.e. a low pulse of 10000us leads to an exposure time of 10014.26us. Framerate is directly controlled by how often you pulse the pin. A PWM frequency of 30Hz will lead to a framerate of 30 frames per second.


4.2 Download source from our GitHub
We use raspberry pi5 as example, showing dual Camera in free working: sudo git clone https://github.com/INNO-MAKER/cam-imx296raw-trigger.gitcd cam-imx296raw-trigger sudo chmod -R a+rwx *

4.3 Setting config.txt
سودو نانو /التمهيد/البرامج الثابتة/config.txt
Add below content to last line follow [all]
dtoverlay=imx296,always-on,cam0
dtoverlay=imx296,always-on,cam1
4.4 Timeout Setting
sudo cp /usr/share/libcamera/pipeline/rpi/pisp/example.yaml timeout.yaml
Edit timeout.yaml by sudo nano timeout.yaml
delete the # (comment) from the “camera_timeout_value_ms”: line, and change the number from 0 to 60000,

Then run below command
export LIBCAMERA_RPI_CONFIG_FILE=timeout.yaml
4.5 libcamera Tool
To make two cameras work in free running mode
على سبيل المثالampعلى:
libcamera-hello -t 0 –camera 0
libcamera-hello -t 0 –camera 1
4.6 Trigger Tool
This tool can enable imx296 trigger mode individually.
./imx296_trigger [i2c bus] [on/off]
Note: on pi5
camera1 i2c bus =4
camera0 i2c bus =6
on=1 off=0
Exampعلى:
camera 1 trigger on:
./imx296_trigger 4 1
camera 1 trigger off:
./imx296_trigger 4 0
camera 0 trigger on:
./imx296_trigger 6 1
camera 0 trigger off:
./imx296_trigger 6 0
4.6 Trigger Pins Wire
Follow Chapter 2.5

4.7 Trigger Signal
We use Raspberry PI5 PIN23,GND GPIO as trigger signal and send signal by below script, Script code is as below, save it to .sh file.
while true;do
gpioset gpiochip0 23=1
النوم 1.9999
gpioset gpiochip0 23=0
النوم 0.0033
منتهي
Open another terminal window to run the script
![]()
On Board EEPROM
InnoMaker provide on board EEPROM, TYPE: FT24C08A(1KBYTE)
5.1 Operation env:
Hardware type: rpi5 ARCH64 OS , I2c bus on CSI : 4
5.2: Detect EEPROM on i2c bus:
i2cdetect -y 4

There should be 4 devices with address 0x50 0x51 0x52 0x53 detected.
Each device have 256 byte content.
5.3: Read EEPROM content
Take device address 0x51 sub address 0x00 as a exampعلى:
i2cget -y 4 0x51 0x00

5.4: Write EEPROM and read the content
i2cset -y 4 0x51 0x00 0xaa
i2cget -y 4 0x51 0x00

وضع ستروب
6.1 I2c tools download
i2c-tools-arch32.zip
i2c-tools-arch64.zip
6.2 الوصف
IMX296 official driver that provide by RPI default kernel not enable strobe by default.
Imx296 can output strobe while work in normal or fast trigger mode, We can enable strobe by i2c tools.
- Imx296 I2c address: 0x1a
- Pi5 csi1 i2c bus address : i2c-4
Note: strobe setting must be done while camera stream is off.
Regs and setting values
0x3026: 0x0F
0X3029:0x21
0x306D: 0X02(trigger mode strobe enable) /0x01(normal mode strobe enable)
Strobe start point 3byte:
0x3070 :0x00
0x3071 :0x00
0x3072 :0x00
Strobe end point 3byte:
0x3074:0x2c
0x3075:0x01
0x3076:0x00
0x3079: 0X0A(trigger mode strobe enable) /0x09(normal mode strobe enable)
Strobe start point 3byte:
0x307c :0x00
0x307d :0x00
0x307e :0x00
Strobe end point 3byte:
0x3080 :0x2c
0x3081 :0x01
0x3082 :0x00
I2c tools write register:
./i2c_write 4 0x1a <reg addr> <reg val>
I2c tools read register:
./i2c_read 4 0x1a <reg addr> <num of regs regs to read>
Official Software Manual
- https://www.raspberrypi.com/documentation/computers/camera_software
- https://github.com/raspberrypi/documentation/tree/develop/documentation/asciidoc/accessories/camera
Preset System IMAGE
This is preset system IMG for raspberry pi 5.
https://www.jianguoyun.com/p/DY_2JXYQpdSrBxj-nf4FIAA
(Password : o1drfz)
يدعم: support@inno-maker.com
سعر السائبة: sales@inno-maker.com
Webموقع: www.inno-maker.com
جيثب: https://github.com/INNO-MAKER
المستندات / الموارد
![]() |
inno IMX296 Sensor Module [بي دي اف] دليل المستخدم CAM-IMX296Mono-GS, CAM-IMX296Color-GS, IMX296 Sensor Module, IMX296, Sensor Module, Module |
