Constellation Mesh Lab

A radio bench: signal measurements, numbered packets and the gaps between them, a working frame modem with encrypted messaging, learned waveforms, a multi-frequency mesh, and agents in a feedback loop. The radio channel is emulated here and live through the local bridge.

Signal and channel

Spectrum, dB per bin

Waterfall, newest at top

Constellation

received symbolsideal points

I and Q, first 300 samples

Measurements from this capture

Packet stream

Receiver findings

Packet power and gap noise floor, dBm by serial number

packet RSSInoise floor in the gap before itlost packet, found by a missing serial

Interval between arrivals, ms

Per-packet log

Frame modem

Decode an IQ recording

Finds and decodes this lab's frames in a capture. The file stays in your browser.

Transmit pipeline, last frame

Receiver, last frame

Received samples, magnitude over ms

Payload symbols after sync

Decoded frames, newest first

Secure link

Messages are encrypted before they reach the modem and decrypted after the frame check. The channel, modulation and SNR come from the Modem tab.

Link security

Station 1

Station 2

What is on the air, newest first

Channel autoencoder

The transmitter learns where to put its points. The receiver is a small neural network. Both train together through the simulated channel, in this page.

Training status

Constellation at the transmitter

learnedstandard baseline

Symbol error rate against SNR

learned, ideal detectorbaseline, ideal detector

Training loss

Mesh

Drag nodes to move them. Click one to select it. Squares are masters that decode and regenerate. Circles are workers that amplify and forward raw signal.

Field, 1000 m by 600 m

End-to-end throughput

Channel state on a hop

channel gain per subcarrier, dBwater-filled power

Delivered packets and their metadata

Agent loop

Six agents share one blackboard. Each round they act on what the others posted last round. The route comes from the Mesh tab.

Agents against a fixed plan

Agents

Interference by channel, last 60 rounds

interferencechannel the agents chose for a hop

Throughput per round, Mbit/s

agentsfixed plan

Blackboard log

Taking this to hardware

What is real here and what is simulated

The math is real: the filters, FFT, measurements, the neural network training, the routing and the water-filling all run as shown. The Modem and Messages tabs build real frames, sample by sample, and really encrypt. Opened here, they pass through an emulated channel. Opened through the local bridge, the same samples go to and from your radio.

Going on the air with the bridge

  • Download the bundle, run python3 bridge.py --loopback, and open the address it prints. The Modem tab switches to Radio bridge by itself.
  • The bridge carries raw IQ over UDP or through any command-line radio program, such as rtl_sdr for receive and hackrf_transfer for transmit. The README in the bundle has the commands.
  • A HackRF One cannot transmit and receive at once. A two-way link needs a receive radio and a transmit radio at each station.
  • The receiver locks to offsets up to about 1/64 of the sample rate. Cheap oscillators can be further off than that at 915 MHz, so read the offset on the Modem tab and correct it with the bridge's --rx-shift.

About the encryption

  • AES-256-GCM has 2^256 possible keys. No cipher offers 256^256, and stacking home-made matrix ciphers on top would add weakness, not strength.
  • Keys come from an elliptic-curve exchange (P-521 where the browser has it) or a shared passphrase. Every message gets its own key, so one captured key does not open earlier messages.
  • The serial number, sender and receiver stay readable so any receiver can still count and measure packets. They are authenticated, so changing them breaks the message.
  • This design has not had an independent security review. Treat it as a strong prototype, not a certified product.
  • Encrypted traffic is not allowed on amateur bands under FCC Part 97. Use ISM bands under Part 15.

What each class of hardware can measure

HardwareGives youRole in this design
ESP32 (Wi-Fi, ESP-NOW)RSSI, noise floor, per-subcarrier CSI, microsecond timestampsWorker
LoRa SX126x / SX127xRSSI, SNR, frequency error, time on airWorker, long range
nRF52 (BLE)RSSI, channel index, timestamps, direction-finding IQ on some partsWorker
RTL-SDRRaw IQ, receive only, about 2.4 MHz wideScanner input
PlutoSDR, HackRF, LimeSDRRaw IQ, transmit and receive: every measurement on the Signal tabMaster radio
Pi 5, Jetson, laptopCompute for decoding, training and the agentsMaster processor

Worker and master split

Workers do the fast, simple jobs: capture, timestamp, measure power in and between packets, forward. The master does the slow, heavy jobs: combining what the workers heard, decoding, training the waveform, planning channels and routes. Every packet carries a serial number plus a small metadata block (SNR, CSI summary, modulation guess) so the master can learn from the link itself, not only the payload.

From the learned-waveform notes

  • The Waveform tab is the channel autoencoder: learned transmitter, differentiable channel model, learned receiver.
  • Turn on the power amplifier model there to see the transmitter move points away from the compression zone.
  • Not built yet: pilotless reception, over-the-air training with a feedback link, and running the network at full sample rate on an FPGA or NPU. Those need real radios.
  • A waveform trained on this simulated channel will not transfer to a real one without retraining on captured data.

Before transmitting

Keep tests inside FCC Part 15 power limits on ISM bands, or Part 97 on amateur bands with encryption off, and only relay your own protocol's packets between your own devices.