Operating Modes
Edit on GitHubBEACON, SEARCH, LISTEN, CONFIG and EMERGENCY: what each mode does, when to use it and how to switch
Operating Modes
Overview
The Aegis-Beacon has five operating modes, each designed for specific scenarios. Use the MODE button to switch between BEACON and SEARCH. LISTEN is entered via serial or the config portal boot mode setting.
BEACON Mode
Info
Primary emergency mode. Transmits Morse SOS + GPS on all configured frequencies.
Operation
- Disables WiFi and Bluetooth (~120 mA saved)
- Reads buttons for live VOL/WPM updates
- Builds Morse payload (base + name + GPS)
- Iterates through all configured frequencies
- Initializes SX1262 in CW mode
- Transmits full payload (repeated N times)
- Emits Morse click tones through GPIO 25
- Updates OLED with frequency and progress
- Enters deep sleep for configured interval
- Wakes and repeats
Morse Timing (PARIS Standard)
| Element | Duration |
|---|---|
| Dot | 1200 / WPM ms |
| Dash | 3 x dot ms |
| Intra-character gap | 1 x dot ms |
| Inter-character gap | 3 x dot ms |
| Word gap | 7 x dot ms |
Example at 13 WPM: dot = 92 ms, dash = 277 ms
| Payload | Duration |
|---|---|
SOS | ~2.7 s |
SOS DE MARIO ROSSI | ~15 s |
SOS PSN N4553 E01230 | ~18 s |
SOS DE MARIO ROSSI PSN N4553 E01230 | ~45 s |
Tip
Use shorter names and higher WPM to reduce cycle time in emergency situations.
LED Indicator
Red LED blinks during transmission.
SEARCH Mode
Info
Continuous scan mode for locating other beacons.
Operation
- Disables WiFi and Bluetooth
- Loops through all frequencies indefinitely
- Opens FSK receive window
- Measures peak RSSI over dwell period
- Emits rising-pitch audio tone
- Updates OLED with RSSI bar
- Logs detections to RTC RAM
- Blinks blue LED on detection
Audio Alert
| Signal Strength | Tone |
|---|---|
| No signal | Silence |
| Weak (-90 to -80 dBm) | 440 Hz rising |
| Medium (-80 to -60 dBm) | ~880 Hz |
| Strong (>= -60 dBm) | up to 2200 Hz |
Tip
The audio behaves like a metal detector — pitch rises as signal gets stronger.
LED Indicator
Blue LED blinks slowly during scan, fast on detection.
LISTEN Mode
Info
Real-time CW decoder. Stays on one frequency and prints decoded Morse text on the OLED.
Operation
- Disables WiFi and Bluetooth
- Opens continuous receive on the first configured frequency
- Decodes incoming Morse using the configured WPM (PARIS timing)
- Shows RSSI strip-chart, threshold, and the last 42 decoded characters
- Streams each character over USB serial as
AEGIS:CW:<char> - Emits variable-pitch audio (same rising tone as SEARCH)
Controls
| Button | Action |
|---|---|
| MODE short | Return to BEACON |
| MODE long (2 s) | Enter EMERGENCY |
| SEL short | Toggle VOL / WPM adjustment target |
| SEL long (3 s) | Enter CONFIG |
| UP / DN | Adjust the selected parameter live |
LED Indicator
Blue LED blinks on each decoded character.
See LISTEN Mode for the full screen layout and serial output format.
CONFIG Mode
Info
WiFi configuration portal for field settings.
Operation
- Starts WiFi AP (
AegisBeacon, open) - DNS redirects all domains to
192.168.4.1 - Serves full dashboard at
http://192.168.4.1 - OLED shows SSID, IP, and instructions
- Captive portal appears on phones
- After saving, reboots into selected mode
- Auto-reverts after 5 minutes if no client
Access
- Hold SEL button for 3 seconds
- Connect to
AegisBeaconWiFi - Open
http://192.168.4.1 - Configure and save
LED Indicator
Both LEDs blink alternately.
EMERGENCY Mode
Warning
Maximum power mode. Use only in critical situations. Consumes maximum battery.
Operation
- Maximum TX power (+22 dBm / +30 dBm with PA)
- Message repeated 3x per frequency
- Full payload always transmitted
- No deep sleep — continuous transmission
- OLED shows alternating inverse SOS
- Continuous audio tone at 1760 Hz
- Flag persisted in RTC RAM
Activation
- Hold MODE button for 2 seconds, OR
- Use Emergency button in CONFIG dashboard
Deactivation
Enter CONFIG mode and save — clears the emergency flag.
LED Indicator
Red LED blinks fast.
Mode Comparison
| Mode | Power | Sleep | Audio | GPS |
|---|---|---|---|---|
| BEACON | +17 dBm | Yes (10-300s) | Morse clicks | Optional |
| SEARCH | Rx only | No | Rising tone | No |
| LISTEN | Rx only | No | Rising tone | No |
| CONFIG | WiFi AP | No | Silent | No |
| EMERGENCY | +22/+30 dBm | No | Continuous | Yes |
Battery Life by Mode
| Mode | Sleep | GPS | Runtime |
|---|---|---|---|
| BEACON | 10s | Off | ~65 hours |
| BEACON | 10s | On | ~45 hours |
| BEACON | 30s | Off | ~130 hours |
| SEARCH | Continuous | Off | ~44 hours |
| LISTEN | Continuous | Off | ~44 hours |
| EMERGENCY | Continuous | On | ~12 hours |
Note
At -20C with standard Li-ion, expect 40-60% of these figures. Use LiFePO4 for alpine deployments.