Skip to main content

Interface Definition

Navigation bar

The CAM126 provides a rich set of interfaces, as shown in the figure below:

Complete Device Interface Definition​

Photo

Ethernet Interface​

Photo

Connector type: mx1.25

  • Supports 1x 100M Ethernet

Photo Wiring method

Pin No.FunctionCorresponding T568BDefault cable color
1TX+1Green/white
2TX-2Green
3RX+3Blue/white
4RX-6Blue
5POE36Not connected (not supported)Not connected (not supported)
6POE12Not connected (not supported)Not connected (not supported)

RS-485 Communication Interface​

Photo

Connector type: mx1.25

The RS-485 interface is ttyS3 and the default baud rate is 9600

Pin No.Function
1GND
2A
3B
Note

The USB-RS485 adapter shown in the figure must be purchased and configured by yourself.

Photo Wiring method

24PIN Expansion Interface​

Photo

Note

The SDIO voltage is 1.8V

The new firmware interface is ttyS2 and the default baud rate is 9600

Link: https://pan.baidu.com/s/1NyfRuSKcakxMJCZohiFl6A?pwd=fanc Extraction code: fanc Copy this content and open the Baidu Netdisk mobile app for easier operation

Pin No.FunctionDescriptionPin No.FunctionDescription
1GND13BT_WAKE_HOST
2GND14WIFI_REG_ON
3VCC5V015SDIO_D0
4VCC5V016SDIO_D1
5USB_HOST_DP1-6 can be used as one USB Host17SDIO_D2
6USB_HOST_DM1-6 can be used as one USB Host18SDIO_D3
7GND19SDIO_CMD
8ADKEY_IN020SDIO_CLK
9GND21UART0_RTSN
10WIFI_WAKE_HOST22UART0_TXTTL 1V8; tested and works for 3V3 TX/RX
11BT_RST23UART0_RXTTL 1V8; tested and works for 3V3 TX/RX
12BT_WAKE24UART0_CTSN
Note

The USB-TTL adapter shown in the figure must be purchased and configured by yourself.

Photo Wiring method

Appendix: 24pin expansion interface information:​

24 PIN 0.5MM FPC connector, model: X05C2024TZ

Power Interface​

Photo Connector type: mx1.25

  • Do not connect 12V it will directly cause the device and the camera to be damaged

Photo Wiring method

Measured Power​

StateVoltageCurrentPowerRemarks
Automatic streaming5.3V0.5A-0.6A2.9-3.1WMeasurement accuracy 0.1 for reference only

USB Debug Interface​

Photo Connector type: mx1.25

  • Supports 1x USB device port for adb debugging to obtain the IP, etc.

  • Precautions
    1. Be careful not to connect it wrongly; verify before powering on
    2. If the computer is equipped with a camera, pay attention to the USB power supply capability; connecting to USB 3.0 is required to achieve 5V1A power supply
    3. If the computer's USB port cannot supply enough power to start the device, connect the 5V power supply first, and then connect the USB debug port
Pin No.FunctionDefault cable color
1VCC5V0Red
2OTG_DMWhite
3OTG_DPGreen/white
4GNDBlack

MIPI-CSI Camera Interface​

Photo

  • 40PIN dual MIPI/LVDS input interface (supports 4lane)

  • See the datasheet for the interface definition

  • Default bundle: IMX415 or IMX307 optional

Photo Wiring method

Appendix: 40pin MIPI interface information:​

40 PIN 0.5MM FPC connector, model: X05C2040TZ

Debug board: FPC 24PIN flexible flat cable adapter board, FFC to 2.54 straight-through, with a soldered 0.5-pitch connector PCB

Audio Input/Output Interface​

Photo Connector type: mx1.25

Defaults to maximum power; speakers of 8 ohms or more are recommended to avoid distortion

Debug Interface​

Photo

Please use TTL debug 1500000 (five 0s 0️⃣)

Pin No.Function
1GND
2RX
3TX

Usage​

Note

The USB-TTL adapter shown in the figure must be purchased and configured by yourself.

The debug pads need to be soldered by yourself.

Image

Loader Flashing Button​

Photo Hold the Boot button and then power on (USB) to enter Loader boot mode

Maskrom Flashing Button​

Photo Hold the Maskrom button and then power on (USB) to enter Maskrom boot mode

  • You can short the two contacts shown in the figure with tweezers or another metal object

Schematics​

RV1126

For CAM126B-P, you can refer to the CAM126 wiring

AI Translation Notice

This page was translated into English by AI and is provided for reference only. The original document is written in Chinese. If there is any discrepancy, the Chinese version prevails.

本页英文内容由 AI 自动翻译生成,仅供参考;原文为中文,如有差异请以中文原文为准。

查看中文原文 / View the Chinese original →