Skip to content

Interface Definition

Peripheral Interface Table

alt text

Interface No.Interface NameFunction Description
1C1Camera 1
2POWERIO 17-Pin interface, see "IO 17-PIN Definition Table"
3LINKAviation plug to Ethernet adapter
4C2Camera 2
5Type-CType-C interface
6HDMIHDMI display interface
7IndicatorsPWR/LNK/SYS/C0/C1/C2
8WIFI/BTWIFI/BT protective cover, WIFI/BT antenna hidden beneath

IO 17-PIN Definition Table

The power & IO aviation interface, cable, and pin definitions are as follows. The housing uses an M12 male connector.

alt text

alt text

PinSignalI/O Signal SourceDescriptionCable Color Reference
(subject to actual label)
1VCC+NADC Power +Green
2VCC+NADC Power +Green-White
3VCC-NAPower GroundBrown
4VCC-NAPower GroundWhite
5LED+NAExternal Light Source +Red
6LED-NAExternal Light Source -Black
7RS485_ANARS485_AYellow
8RS485_BNARS485_BYellow-White
9OPTO_IN0Line0 +Opto-isolated Input 0+Orange
10OPTO_IN1Line1 +Opto-isolated Input 1+Orange-White
11IN_COM0Line0/1/2 -Opto-isolated Input 0/1/2 -Purple
12OPTO_OUT0Line4 +Opto-isolated Output 4+Purple-White
13OPTO_OUT1Line5 +Opto-isolated Output 5+Blue
14OUT_COM0Line3/4/5/6 -Opto-isolated Output -Pink
15OPTO_OUT2Line3 +Opto-isolated Output 3+Brown-White
16OPTO_IN2Line2 +Opto-isolated Input 2+Blue-White
17OPTO_OUT3Line6 +Opto-isolated Output 6+Gray

⚠ Warning

  1. The sub-wire colors of the 17 PIN cable may vary by production batch. Please refer to the actual label colors. This document provides reference only!
  2. Some batches of the 17 PIN cable have LED+ and LED- paralleled into a separate terminal. It is not recommended to use this together with the LED+ and LED- in the 17 PIN connector, as using both parallel light source outputs simultaneously may result in insufficient power.

Network Port Aviation Header Pin Definition

The 8-PIN interface on the camera housing uses an M12 female connector.

alt text

Peripheral Devices

Camera

ItemSpecification
Camera Configuration1x Main Camera (optional) + 2x GMSL Sub-Cameras (optional)
Sensor TypeCMOS, Rolling Shutter, Color
Sensor Size1/1.2"
Pixel Size2.98μm x 2.98μm
Max Resolution3840 x 2160
Max Frame Rate60 FPS
Lens MountC-Mount, with lens protective cover

Display

  • 1x HDMI port, supports external display connection

Bluetooth

The camera supports Bluetooth (classic/BLE). You can use the bluetoothctl command to turn Bluetooth on/off, scan, pair, and connect devices. The Bluetooth stack is BlueZ 5.64.

Turn On Bluetooth

bash
bluetoothctl power on

Check Status

bash
bluetoothctl show          # View controller (powered/name/address)
hciconfig -a               # View hci0 status
bluetoothctl devices       # View paired devices

Scan

bash
bluetoothctl               # Enter interactive mode
scan on                    # Start scanning (BLE + classic)
devices                    # List discovered devices
scan off                   # Stop scanning (for viewing only; keep scan on when pairing, see next step)

Classic Bluetooth only (requires root):

bash
sudo hcitool scan           # Classic Bluetooth
sudo hcitool lescan         # Low Energy BLE

Connect and Use

⚠️ Note

Before pairing, put the target device into pairing mode (e.g., K380 keyboard: long-press F1/F2/F3 for 3 seconds until the indicator blinks rapidly); otherwise pair will report Device not available.

bash
bluetoothctl               # Enter interactive mode
scan on                    # Start scanning (keep it on when pairing; do not scan off, otherwise the cache will be cleared)
pair <MAC>                 # Pair, e.g., pair F4:73:35:8B:B7:12
                           #   If a Passkey is prompted (e.g., 162375), type the 6-digit number on the keyboard and press Enter
trust <MAC>                # Trust (avoid repeated confirmation)
connect <MAC>              # Connect (after pairing, use this command to reconnect later)

Disconnect / remove:

bash
disconnect <MAC>           # Disconnect
remove <MAC>               # Remove device

Turn Off Bluetooth

bash
bluetoothctl power off

💡 Tip

Low-level commands such as hcitool require sudo; bluetoothctl can be used by regular users.

GPIO

  • 3x Opto-isolated Input (Line0/Line1/Line2) + 1x Input Ground
  • 4x Opto-isolated Output (Line3/Line4/Line5/Line6) + 1x Output Ground
  • 1x RS485

See Board Hardware — Interfaces.

RS-485

⚠ Note

The camera's RS-485 interface is currently a 2-wire serial port without flow control, which may cause significant packet loss (20%+) during transmission and reception. Run the following command to restore the serial port to a "no packet loss" reliable communication mode (takes effect immediately).

Run the following command on the device:

shell
stty -F /dev/ttyHS1 9600 cs8 -parenb -cstopb -echo -echoe -echok -echoctl -echoke -icanon -iexten -isig -opost -onlcr -ocrnl -onocr -icrnl -ixon -ixoff -ixany -crtscts raw

I2C

To be added.

SPI

To be added.