Interface Definition

CAM126B-P provides a rich set of interfaces, as shown in the figure below:
Whole-device Interface Definition
Ethernet Interface
Interface info: mx1.25
- Supports 1 channel of 100M Ethernet
Connection method
| Pin No. | Function Description | Corresponding T568B | Default Wiring Color |
|---|---|---|---|
| 1 | TX+ | 1 | Green-white |
| 2 | TX- | 2 | Green |
| 3 | RX+ | 3 | Blue-white |
| 4 | RX- | 6 | Blue |
| 5 | POE36 | Not connected (not supported) | Not connected (not supported) |
| 6 | POE12 | Not connected (not supported) | Not connected (not supported) |
RS-485 Communication Interface
Interface info: mx1.25
The RS-485 interface is ttyS3, with a default baud rate of 9600
| Pin No. | Function Description |
|---|---|
| 1 | GND |
| 2 | A |
| 3 | B |
The USB-RS485 adapter in the figure needs to be purchased and configured by yourself.
Connection method
24PIN Expansion Interface
The SDIO voltage is 1.8V
The default interface of CAM126B-P is ttyS2, with a default baud rate of 9600
Link: https://pan.baidu.com/s/1NyfRuSKcakxMJCZohiFl6A?pwd=fanc Extraction code: fanc Copy this content and open the Baidu Network Disk mobile app for more convenient operation
| pin | Definition | Ball No. | RV1126 | RV1126BP | Pin name CAM126B-P |
|---|---|---|---|---|---|
| 1 | GND | ||||
| 2 | GND | ||||
| 3 | VCC5V0 | ||||
| 4 | VCC5V0 | ||||
| 5 | USB_HOST_DP | Y1 | USB_HOST_DP | ||
| 6 | USB_HOST_DM | Y2 | USB_HOST_DM | ||
| 7 | GND | ||||
| 8 | ADKEY_IN0 | E17 | SARADC_IN0 | ||
| 9 | GND | ||||
| 10 | WIFI_WAKE_HOST | A13 | GPIO1_D1 | GPIO3_B7 | SAI2_SDI1_M0/UART1_RX_M1/I2C5_SDA_M1/GPIO3_B7 |
| 11 | BT_RST | T18 | GPIO3_A5 | GPIO6_A1 | VI_CIF_D1_M0/CAN0_TXD_M1/SAI0_LRCK_M1/PWM1_CH1_M2/UART4_RX_M2/I2C3_SDA_M3/GPIO6_A1 |
| 12 | BT_WAKE | P17 | GPIO3_A6 | GPIO6_A2 | VI_CIF_D2_M0/CAN1_RXD_M1/SAI0_SDO0_M1/PWM1_CH2_M2/UART5_tX_M2/I2C4_SCL_M1/GPIO6_A2 |
| 13 | BT_WAKE_HOST | R17 | GPIO3_A4 | GPIO6_A0 | VI_CIF_D0_M0/CAN0_RXD_M1/SAI0_SCLk_M1/PWM1_CH0_M2/UART4_TX_M2/I2C3_SCL_M3/GPIO6_A0 |
| 14 | WIFI_REG_ON | B13 | GPIO1_D0 | GPIO3_B6 | SPI1_CSN1_M1/SAI2_MCLK_M0/SDMMC1_DETN/UART1_TX_M1/I2C5_SCL_M1/GPIO3_B6 |
| 15 | SDIO_D0 | B16 | GPIO1_B4 | GPIO3_A2 | SDMMC1_D0/I2C1_SCL_M1/GPIO3_A2 |
| 16 | SDIO_D1 | C16 | GPIO1_B5 | GPIO3_A3 | SDMMC1_D1/I2C1_SDA_M1/GPIO3_A3 |
| 17 | SDIO_D2 | D15 | GPIO1_B6 | GPIO3_A4 | SDMMC1_D2/GPIO3_A4 |
| 18 | SDIO_D3 | C15 | GPIO1_B7 | GPIO3_A5 | SDMMC1_D3/GPIO3_A5 |
| 19 | SDIO_CMD | A16 | GPIO1_B3 | GPIO3_A1 | SDMMC1_CMD/GPIO3_A1 |
| 20 | SDIO_CLK | D16 | GPIO1_B2 | GPIO3_A0 | SDMMC1_CLK/GPIO3_A0 |
| 21 | UART0_RTSN | B15 | GPIO1_C0 | GPIO3_A6 | UART2_RTSN_M0/GPIO3_A6 |
| 22 | UART0_TX | C14 | GPIO1_C3 | GPIO3_B1 | SAI2_SDI2_M0/UART2_TX_M0/GPIO3_B1 |
| 23 | UART0_RX | D14 | GPIO1_C2 | GPIO3_B0 | UART2_RX_M0/GPIO3_B0 |
| 24 | UART0_CTSN | A15 | GPIO1_C1 | GPIO3_A7 | UART2_CTSN_M0/GPIO3_A7 |
| Source | Schematic | 1126-1126BP 24pin.xlsx | Schematic | Schematic | Datasheet 1126B-p |
The USB-TTL adapter in the figure needs to be purchased and configured by yourself.
Connection method
Appendix 24pin expansion interface info:
24 PIN 0.5MM FPC connector, model: X05C2024TZ
Power Interface
Interface info: mx1.25
Do not connect 12V ; it will directly cause the device and camera to bedamaged
Connection method
Measured Power
- Test method:
-
Flash the default
BuildrootfirmwareRV1126_RV1109_AI_Camera_V1.1.4_20240907_imx307_imx415.img -
Power on normally, connect the network cable, and do nothing else
-
| State | Voltage | Current | Power | Notes |
|---|---|---|---|---|
| Automatic streaming | 5.3V | 0.5A-0.6A | 2.9-3.1W | Measurement accuracy 0.1 |
USB Debug Interface
Interface info: mx1.25
-
Supports 1 channel of USB devices for adb debugging to obtain IP, etc.
-
Notes - Be careful not to connect incorrectly; verify before connecting
- If using a computer with a camera, pay attention to the USB power supply capability; it is required to connect to USB 3.0 to achieve 5V1A power supply
- If the computer USB port has insufficient power supply and cannot start,
please connect the 5V power supply first , and then connect the USB debug
| Pin No. | Function Description | Default Wiring Color |
|---|---|---|
| 1 | VCC5V0 | Red |
| 2 | OTG_DM | White |
| 3 | OTG_DP | Green-white |
| 4 | GND | Black |
MIPI-CSI Camera Interface
-
40PIN dual MIPI/LVDS input interface (supports 4lane)
-
Interface definition see the specification
-
Default package:
IMX415IMX307optional
Connection method
Appendix 40pin MIPI interface info:
40 PIN 0.5MM FPC connector, model: X05C2040TZ
Debug board: FPC 24PIN flexible flat cable adapter board, FFC to 2.54 direct plug, 0.5 pitch connector PCB already soldered
Audio Input/Output Interface
Interface info: mx1.25
Default is maximum power; it is recommended to use 8 ohms or above to avoid distortion
Debug Interface
Interface info: pad contacts
Please use TTL debug 1500000 (5个0️⃣)
| Pin No. | Function Description |
|---|---|
| 1 | GND |
| 2 | RX |
| 3 | TX |
Usage
The USB-TTL adapter in the figure needs to be purchased and configured by yourself.
The debug contacts need to be soldered by yourself.

Loader Flashing Button
Press and hold the Boot button, then power on (USB) to enter Loader boot mode
Maskrom Flashing Button
Press and hold the Maskrom button, then power on (USB) to enter Maskrom boot mode
- You can use tweezers or other metal objects to short-circuit the two contacts shown in the figure
Schematic
CAM126B-P can refer to the CAM126 connection method


Connection method
Connection method
Connection method
Interface info: mx1.25
Connection method
Interface info: mx1.25
Connection method
Interface info: mx1.25
Press and hold the Boot button, then power on (USB) to enter Loader boot mode
Press and hold the Maskrom button, then power on (USB) to enter Maskrom boot mode