Skip to main content

Trigger Capture from External Devices

reCamera Pro has two serial ports: a DEBUG UART for system debugging, and a UART interface on the expansion port for Web UI triggering and receiving AI inference data. Combined with GPIO and HTTPS triggers, you can integrate the camera with external controllers, sensors, and automation systems.

Hardware Base Board Interface Diagram Expansion Port Schematic

Connecting the DEBUG UART​

The debug serial port baud rate is 1500000, and the hardware interface is MX1.25.

DEBUG_UART_PIN

  1. Prepare a USB-to-serial converter.
  2. Connect TX→RX, RX→TX, and GND→GND between the converter and the device.
  3. Power on the device to see debugging information on the converter.

DEBUG_UART_SHOW

Using the expansion UART for triggering​

Connect the expansion port​

  1. Prepare a 10-pin MX1.25 cable and plug it into the expansion interface.
  2. Connect TX→RX, RX→TX, and GND→GND to your USB-to-TTL tool per the expansion diagram above.

Set the baud rate​

In Device Info → Connection Settings, set the serial port baud rate.

UART connection config

Serial port trigger​

  1. In Recording Settings → Recording Configuration → Serial Port Trigger, click Configure to set the trigger command.

UART trigger config

  1. Open your serial port tool, select the correct serial port, and send the trigger command.

UART send command

  1. In Recording Settings → File Preview, view the captured photo or video.

UART file preview

note

The trigger command can only be sent in ASCII format. HEX sending and Chinese characters are not supported.

Receive AI inference results​

  1. In AI Inference → Output Method, select Serial Port.

UART AI output config

  1. Open your serial port tool to see the inference results.

UART AI output

GPIO trigger​

GPIO trigger is configured in Recording Settings → Recording Configuration → GPIO Trigger:

Configuration ItemDescription
GPIO Pin NameSelect the GPIO pin
Pin StateDefault pin state, e.g. floating
Trigger SignalTrigger level, e.g. high level
Debounce DurationDebounce time in milliseconds

Suitable for integration with external sensors, buttons, door magnets, PIR sensors, or relays.

HTTPS trigger​

HTTPS trigger is configured in Recording Settings → Recording Configuration → HTTPS Trigger. The page displays the HTTPS trigger address that external systems can call.

Suitable for integration with third-party platforms, alarm systems, or automation scripts.

Tech Support & Product Discussion​

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...