Darknet SMAO
A full Meshtastic LoRa + BLE mesh node on a single SAO board. Plug it into a DEF CON badge SAO port and it joins the mesh: no battery, no buttons, no wires. Configure it from your phone over BLE. By Boko (Darknet-NG).

What it is
- Module: RAK4630 (nRF52840 MCU + SX1262 LoRa radio), the same silicon as the RAK4631 WisBlock, so stock Meshtastic
rak4631 builds run unmodified.
- Radios: LoRa US915 + BLE. No WiFi (nRF52840 has none, on purpose).
- Antennas: two on-board Johanson chip antennas, 0915AT43A0026E (LoRa) and 2450AT18B100E (BLE), both retuned for this board (see rf-tuning/).
- Power: runs parasitically from the badge SAO rail (3.0V, 100 mA budget per the DC34 SAO spec). TX power ships at 10 dBm to stay inside that budget. USB-C also powers it (and frees it from the budget), with an automatic power mux between the two.
- Role: CLIENT_MUTE. The SMAO does not route packets; the dense con mesh and 1W infrastructure nodes do that. This is the single biggest power win on a 100 mA rail.
- Config: Meshtastic phone app over BLE with a per-unit fixed PIN. USB-C serial and tag-connect style SWD pads for flashing and debug.
- Board: 41.00 x 33.00 mm, 4-layer, fits the SAO v1.69bis 2x3 header.
Shipping defaults
| Setting | Value | Why |
|---|
| Role | CLIENT_MUTE | Does not route; routing is the biggest power cost on a 100 mA rail |
| Modem preset | SHORT_TURBO | The DC34 event mesh preset, baked by the event/defcon34 branch |
| TX power | 10 dBm | Stays inside the badge SAO budget; raise it on USB power |
| Region | US (915 MHz), frequency slot 31 | Baked by the event/defcon34 branch |
| Channels | DEFCONnect / HackerComms / NodeChat | Baked by the event build, PSKs included |
| BLE | FIXED_PIN, random 6-digit PIN per unit | Set at provisioning, printed for the label, never stored |
| Node name | SMAO <last4 of node id> / short SMAO | Set at provisioning |
Role and TX power are the SMAO's delta over the stock event build (firmware/userPrefs-smao.jsonc); the rest come from upstream or the provisioning tool. Details: firmware/BUILD.md.
Antenna matches (as shipped)
| Antenna | Part | Final match | S11 dip | Band coverage |
|---|
| LoRa (AE1) | Johanson 0915AT43A0026E | L1 = 15 nH, C7 = 4.7 pF, C8 = 0.5 pF | 905 MHz, -14.9 dB | 902-928 MHz, VSWR <= 2.1 |
| BLE (E1) | Johanson 2450AT18B100E | L2 = 6.8 nH, C9 = 1.2 pF, L3 = 2.7 nH | 2488 MHz, -16.0 dB | 2400-2483.5 MHz, VSWR <= 2.15 |
Both antennas needed only a series-inductor bump from the Johanson EVB reference values; the small SAO ground plane pushes both resonances high. Full sweep data and the tuning story: rf-tuning/.
Repo layout
| Path | Contents |
|---|
| hardware/kicad/v1.4/ | KiCad project (schematic, PCB, DRC/ERC reports). Open v1.4.kicad_pro in KiCad 9 or 10; libraries resolve with relative paths, nothing to install. |
| hardware/kicad/lib/ | Custom symbols, footprints, and 3D models (RAK4630, both antennas, SAO header, SWD pads). |
| hardware/production/ | The exact fab outputs the production run was built from: gerber zip, BOM (with LCSC part numbers), placement files, netlist. |
| hardware/images/ | Renders, populated-board photos, board outline dimensions. |
| firmware/ | Build recipe, the userPrefs delta, the shipped .uf2, and the RAK4631 bootloader hex. |
| tools/ | Provisioning station GUI, single-board flash script, RSSI range-walk logger. |
| rf-tuning/ | NanoVNA S11 sweeps (.s1p) and the antenna match tuning writeup. |
| tests/ | Unit tests for the provisioning tool's hardware-independent logic. |
Build your own
- Fab: upload
hardware/production/Darknet_SAO_V1.4.zip to your fab. Fab options and the impedance reasoning are in hardware/README.md.
- Assemble: SMT BOM is in
hardware/production/. Hand-populate the DNP parts: RAK4630 module, both antennas, SAO header, and connectors (see hardware README).
- Flash: RAK4630-NI modules ship with RUI3 and a locked Nordic Secure DFU, so the first flash must be the bootloader over SWD. After that everything is USB. Full recipe in firmware/BUILD.md.
- Provision:
python3 tools/smao-provision.py flashes the bootloader and app, sets a random BLE PIN and node name, and verifies the result. Dependencies and macOS/Linux setup: tools/README.md. For a one-off board, tools/flash-smao.sh.
Firmware
The shipped image (2.8.0.c800fc8, built from event/defcon34 head: the official DC34 release cut plus its post-release signing/ingress hardening) is the official Meshtastic DEF CON event build with two settings changed: CLIENT_MUTE role and 10 dBm TX power. Channels, PSKs, preset, and frequency slot are byte-identical to the official 2.8.0.8adc7c3 release, so it interoperates with every stock DC34 node. The exact delta is firmware/userPrefs-smao.jsonc and the reasoning is in firmware/BUILD.md. Because the board is electrically a RAK4631, any future stock rak4631 release flashes and runs on it.
License
Original hardware design files, documentation, and tools in this repo are MIT licensed (see LICENSE). firmware/smao-dc34-rak4631.uf2 is a build of Meshtastic firmware (GPL-3.0); its complete corresponding source is the upstream event/defcon34 branch plus the userPrefs delta documented here. The bootloader hex is RAKwireless's build of the Adafruit nRF52 bootloader.