Skip to content

Installation & Connectivity Guide

The THAP system provides two primary ways to interact with your vehicle: via the Standalone Electron Configurator (Recommended for Rescue Missions) or the ESP32 Web Bridge.


💻 Part 1: THAP Configurator (Electron)

The THAP Configurator is the primary command center for technical sovereignty. It supports high-speed serial and ultra-low latency 5G connectivity.

Installation

  1. Navigate to Tools/electron_configurator.
  2. Install dependencies: npm install.
  3. Launch the app: npm start.

📡 Connecting via 5G Tele-Rescue

If your vehicle is equipped with a 5G modem: 1. Power on the vehicle and ensure the 5G link is active. 2. In the Configurator, select 5G NETWORK from the connection dropdown. 3. Enter the vehicle's IP Address and Port (Default: 14550). 4. Click CONNECT.


🟥 Part 2: Flashing the AT32 (Core)

Prerequisites

  • Hardware: Artery Tek AT32F403A (Blackpill / National PCB).
  • Software: waf build system.

Build & Upload

# Configure & Build for ROVER
./waf configure --board THAP_AT32_ROVER
./waf rover

# Upload via USB (DFU)
./waf rover --upload

🟦 Part 3: ESP32 Bridge (Optional legacy)

The ESP32 bridge serves as a Wi-Fi gateway for field monitoring via mobile devices.

  1. Open Tools/esp32_bridge/THAP_Bridge.ino.
  2. Upload the Sketch Data (HTML Dashboards) via Tools > ESP32 Sketch Data Upload.
  3. Upload the firmware to your ESP32.

🟩 Part 4: Hardware Interconnect

AT32 Pin Function Target Device
PA9 USART1_TX RX
PA10 USART1_RX TX
GND Ground GND

[!TIP] 5G Low Latency: For the best Tele-Rescue experience, ensure your 5G modem is connected directly to UART1 or UART2 and configured for 115200bps.