fox-hunt-web

Not connected

Signal strength

RSSI vs time

Channels

RSSI per channel

Audio

from the sound card

Fox console

Firmware for the fox

The fox needs this page's code.py on it once. The XIAO ESP32-C3 has no USB drive, so the page writes the file through CircuitPython's REPL over the same USB serial connection — the same thing Thonny does — and reboots into it. Every fox is assumed to be running CircuitPython already (the stock DC34 fox is).

A setting the firmware keeps on the board, applied right after the install; one code.py serves every fox.

Stored on the board too. Needed before the transmitter can ever be armed.

firmware —

What "Install" does, and doing it by hand
  1. Opens the fox's serial port (Chrome or Edge; the chooser lists USB devices). If the fox is already connected to this page, that connection is used.
  2. Interrupts whatever code.py is running (Ctrl+C), enters CircuitPython's raw REPL, writes the new file as code.py.new, then renames it over code.py — so a failed transfer leaves the old firmware in place.
  3. Soft-reboots the board and waits for the new firmware's ch> prompt, then applies the band and callsign above.

By hand instead: download code.py, open it in Thonny with the interpreter set to CircuitPython (generic) on the fox's port, File → Save As → CircuitPython device as exactly code.py, Ctrl+D. Then disconnect Thonny — it holds the port — and connect here. A board that has never had CircuitPython flashed needs that first: dc34fox, step 1.

Going back to the stock beacon: install dc34fox's code.py the same way (Thonny), or any code.py through this page's console is out of scope — this installer only writes this project's firmware.