Documentation Index
Fetch the complete documentation index at: https://docs.altnautica.com/llms.txt
Use this file to discover all available pages before exploring further.
Physical UI (OLED + Buttons)
The ground station has a 128x64 pixel OLED and four tactile buttons. Together they give you status at a glance and a menu system for configuration, pairing, and network control. No laptop or phone required.
Hardware
OLED display. SSD1306 or SH1106 driver IC, 128x64 pixels, I2C interface at address0x3C. Wired with four connections: SDA, SCL, VCC (3.3 V), and GND. The 1.3” size is easier to read in the field. The 0.96” size works on the bench.
Buttons. Four 6mm tactile momentary pushbuttons. Each wires between a GPIO pin and GND. The agent enables internal pull-ups in software, so you do not need external resistors for the bench build.
| Button | Pi 4B GPIO | Header pin | Short press | Long press (2 sec) |
|---|---|---|---|---|
| B1 | GPIO 5 | Pin 29 | Menu up | Toggle recording |
| B2 | GPIO 6 | Pin 31 | Menu down | Toggle WiFi AP on/off |
| B3 | GPIO 13 | Pin 33 | Select / enter | Start drone pairing |
| B4 | GPIO 19 | Pin 35 | Back / exit | Factory reset (hold 10 sec) |
Status screens
Five auto-cycling screens rotate every 5 seconds. Press B1 or B2 to advance manually.1. Link
Shows the WFB-ng radio link to the drone.2. Drone
Shows the connected drone status.3. GCS (connected clients)
Shows who is connected to the ground station.PIC badge marks the pilot-in-command client.
4. Network
Shows current network state and uplinks.5. System
Shows SBC health and agent version.Role badge
When the node is mesh-capable (mesh_capable: true in /etc/ados/profile.conf), the status screen header carries a small role tag at the top right:
| Tag | Meaning |
|---|---|
Dir | direct mode (single-node) |
Rly | relay mode |
Rx<id> | receiver mode (with the first three characters of the mesh id) |
Menu system
Press B3 (Select) from any status screen to enter the menu. Navigation uses the same four buttons:- B1: move up
- B2: move down
- B3: enter / confirm
- B4: back / exit
mesh_capable: true in /etc/ados/profile.conf. profile_detect sets this flag at boot when a second USB WiFi adapter is present on the node. Children inside the submenu are filtered by the current role: a receiver sees “Accept relay” but not “Join mesh”; a relay sees the inverse; “Leave mesh” only appears when a mesh is up.
Mesh overlay screens
Mesh actions take over the OLED with dedicated screens that override the normal status cycle. Each overlay rebinds the four buttons to actions specific to that screen.| Screen | Triggered by | Buttons |
|---|---|---|
| Role picker | Mesh -> Set role | B1/B2 cycle direct/relay/receiver, B3 apply, B4 back |
| Accept window | Mesh -> Accept relay (receiver) | B1 approve highlighted pending, B2/B3 scroll, B4 close window |
| Join scan | Mesh -> Join mesh (relay) | B1 send join request to discovered receiver, B4 cancel |
| Joined status | After successful join | B4 back to status |
| Hub unreachable | Relay loses receiver via mDNS timeout | B1 wait longer, B4 transition to direct |
| Neighbors | Mesh -> Neighbors | B1/B2 scroll, B4 back |
| Leave confirm | Mesh -> Leave mesh | B3 confirm leave (transitions to direct), B4 cancel |
| Error states | Any pairing or role error | B4 dismiss; the screen shows a short message keyed off the agent error code |
Factory reset
Factory reset is a two-step process to prevent accidents:Confirm within 5 seconds
The OLED shows “Confirm? Hold B4 again for 3 seconds.” Release B4, then hold it again within 5 seconds.
direct, stops the mesh services, and wipes /etc/ados/mesh/* (the mesh id, the shared PSK, the receiver hint, the revocation list, and the role sentinel). The node returns to a fresh state and can be paired into a different deployment.
Power saving and burn-in protection
OLED screens can develop burn-in from static content over long periods. The agent includes three mitigations:- Auto-dim: brightness drops to 20% after 60 seconds of no button activity
- Pixel invert: white-on-black swaps to black-on-white every 10 minutes
- Screensaver: a small bouncing “ADOS” logo appears after 5 minutes of idle
Graceful degradation
The OLED and buttons are optional. The ground station works fine without them.| Missing hardware | Behavior |
|---|---|
| No OLED | Agent skips the OLED service. All menu functions are available via the setup webapp and Mission Control Hardware tab |
| No buttons | OLED still renders status screens on a 5-second cycle. Configuration is done via setup webapp or GCS |
| No OLED and no buttons | Agent runs headless. Use WiFi AP + browser, USB tether, or HDMI kiosk for all interaction |
Remapping buttons
You can remap what each button does (short press and long press) from three places:- OLED menu: not available (you would need buttons to remap buttons)
- Setup webapp: Advanced page
- Mission Control: Hardware tab > Physical UI sub-view
What is next
- Display if your node has the SPI LCD attached for the touch surface and native dashboard
- Setup and Pairing for the first-time walkthrough
- Hardware Tab for the Mission Control management interface
- HDMI Kiosk for standalone flight display