> For the complete documentation index, see [llms.txt](https://docs.inno-maker.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inno-maker.com/home/mipi-cameras/imx296-mipi-cameras.md).

# IMX296 MIPI Cameras

This documents are for CAM-IMX296Mono-GS,CAM-IMX296Color-GS

## UserManual Download

<https://www.inno-maker.com/wp-content/uploads/2021/05/CAM-IMX296RAW-UserManual-V2.0.pdf>

## 1 Hardware Description

[IMX296 Color Version](https://www.inno-maker.com/product/cam-imx296color/)

[IMX296 Mono Version](https://www.inno-maker.com/product/cam-mipi296raw-trigger/)

* Support Raspberry Pi OS Driver directly
* Support external Trigger And stobe, we reserve pins no need to solder;
* Support mono version and color version imx296

![IMX296 Camera Module](https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2Fv2dh7jparO3rHv7I8hyc%2Fimx296-1.jpg?alt=media\&token=24fc0aed-173a-4046-9659-cd6e09da8132)

## 2 Hardware&#x20;

### 2-1 Pins Out Table

![pi camera v2 pinout](https://www.arducam.com/wp-content/uploads/2020/03/pi-camera-v2-pinout.png)

**Raspberry Pi Camera Pinout (15-Pin)**

| Pin # | Name       | Description               |
| ----- | ---------- | ------------------------- |
| 1     | GND        | Ground                    |
| 2     | CAM\_D0\_N | MIPI Data Lane 0 Negative |
| 3     | CAM\_D0\_P | MIPI Data Lane 0 Positive |
| 4     | GND        | Ground                    |
| 5     | CAM\_D1\_N | MIPI Data Lane 1 Negative |
| 6     | CAM\_D1\_P | MIPI Data Lane 1 Positive |
| 7     | GND        | Ground                    |
| 8     | CAM\_CK\_N | MIPI Clock Lane Negative  |
| 9     | CAM\_CK\_P | MIPI Clock Lane Positive  |
| 10    | GND        | Ground                    |
| 11    | CAM\_IO0   | Power Enable              |
| 12    | CAM\_IO1   | LED Indicator             |
| 13    | CAM\_SCL   | I2C SCL                   |
| 14    | CAM\_SDA   | I2C SDA                   |
| 15    | CAM\_3V3   | 3.3V Power Input          |

### 2-2 Camera Size

2D Size Information

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FbCExDtM0T2Qe5BvEKNJs%2Fimage.png?alt=media&amp;token=3ae123ce-73b1-4562-9ce0-cc8f8c4d0602" alt=""><figcaption></figcaption></figure>

3D Size Information

{% file src="/files/xAYGydyPL23eqrpDp1l5" %}

{% file src="/files/Guhz3VmQJrtT6FLoMNyK" %}

### 2-3 Camera Lens

#### M12

{% file src="/files/TYrPQ6Af7HKSqkr2M9Ak" %}

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FPMI62r6HlHcu27BV6ggV%2Fimage.png?alt=media&amp;token=15395241-4186-4e6a-84af-f87e058dcf68" alt=""><figcaption></figcaption></figure>

#### CS LENS Holder

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FM5eFqiURidtpc2YEh8Ht%2Fimage.png?alt=media&amp;token=e9d35f62-4afb-4274-9fa8-7b9468e2318b" alt=""><figcaption></figcaption></figure>

## 3 Quick Start Guide

### **Step1, Modify config.txt**

* sudo nano /boot/firmware/config.txt

### **Step2, Add below content to the last line**

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2Ffx0xBqaOizyXPrjgK5ww%2Fimage.png?alt=media&amp;token=c196c697-d541-4ad3-ba53-8b6dae803ada" alt=""><figcaption></figcaption></figure>

For CAM1 Interface

* dtoverlay=imx296,cam1

For CAM0 Interface

* dtoverlay=imx296,cam0

### **Step3, Reboot and use below command to preview**

* libcamera-hello -t 0

## 4 External Trigger

### 4-1 Description

* 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 synchronise 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.

![External Trigger Function](https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FEv2dGj00pEsMWZuI1XDp%2FSignal.jpg?alt=media\&token=fe4206a5-ea42-41a2-9794-65f8b80c438c)

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2Fmof895MQ0pDJrbpMpC0l%2F2.jpg?alt=media&amp;token=d1f7cc2e-de76-4477-8fc2-264becfb2290" alt=""><figcaption></figcaption></figure>

## 5 Strobe Flash

### &#xD;5-1, Strobe Description

* Strobe output is : TOUT1 |TOUT2.
* Strobe delay can be adjust by reg PULSE1\_UP .

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FZcZLrx0aNhUp0sjITJVS%2FCatch(06-26-16-59-03).jpg?alt=media&amp;token=8a678ba2-7c13-4b7a-a814-f30a7697aecd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FRH3El4RwKknPbTz2UxGr%2FCatchA7E5(06-26-16-59-03).jpg?alt=media&amp;token=782f37ef-29ad-4944-8763-0d99a4280327" alt=""><figcaption></figcaption></figure>

### 5-2,How TOUT1 TOUT2 Connect

<figure><img src="https://509505459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7wRxfA2x73F2dy4vGWH7%2Fuploads%2FUcoJNjsbRl2Jz0xbkQ8R%2F1.jpg?alt=media&amp;token=c94b16eb-35f7-4bdd-a573-529f0ea86418" alt=""><figcaption></figcaption></figure>

## 6 EEPROM On Board

## 7 Official Software Manual

* [https://www.raspberrypi.com/documentation/computers/camera\_software](https://www.raspberrypi.com/documentation/computers/camera_software.html)
* <https://github.com/raspberrypi/documentation/tree/develop/documentation/asciidoc/accessories/camera>

## 8 Preset System IMAGE

This is preset system IMG for raspberry pi 5.&#x20;

<https://www.jianguoyun.com/p/DY\\_2JXYQpdSrBxj-nf4FIAA>

&#x20;(Password : o1drfz)
