How twotoz/c5vrx works
C5VRX-5 is an experimental ESP32-C5 analog 5.8 GHz FPV receiver: it receives RF, demodulates and processes the signal, then produces PAL/NTSC composite video through a passive six-bit DAC. Its principal workflow is accompanied by calibration, gain control, settings, diagnostics, and browser-based flashing and receiver controls. The tree also contains earlier receiver generations and research tools; only substantial legacy runtime pipelines are shown here. Relationships are limited to calls visible in excerpts or capabilities explicitly described in the README; unsampled internals are not inferred.
Main entry points: main.c Boot orchestration · app.js Web controls · rf.c RF reception · transport.c Demodulation transport
Components 21
Receiver firmware
- Boot orchestration
main/main.c - RF reception
main/rf.c - Receiver control
main/receiver.c - Demodulation transport
main/transport.c - CVBS output
main/phy.c - Calibration
main/calibration.c - Receive profiles
main/profile.c - Persistent settings
main/settings.c - On-screen menu
main/menu.c - Diagnostics console
main/console.c - Flight logging
main/flightlog.c
Browser interface
- Web controls
web/app.js - Serial flashing
web/esptool.js - Serial terminal
web/serial-terminal.js - Receiver console UI
web/receiver-console.js - Flight-log decoding
web/flight-log.js
Legacy firmware
- C5VRX-1 live pipeline
legacy/c5vrx1/main/c5vrx_live_pipeline.c - C5VRX-3 gain controller
legacy/c5vrx3/main/arc_v3_controller.c - C5VRX-4 pipeline
legacy/c5vrx4/pipeline.c
Other components
- Operator
- Browser user
Connections 17
- Operator → RF reception: supplies video signal
- RF reception → Demodulation transport: feeds received signal
- Demodulation transport → CVBS output: produces composite video
- Boot orchestration → RF reception: starts RF
main/main.c - Boot orchestration → Calibration: starts calibration
main/main.c - Boot orchestration → Receive profiles: loads and selects
main/main.c - Boot orchestration → Demodulation transport: starts transport
main/main.c - Boot orchestration → Receiver control: starts receiver
main/main.c - Boot orchestration → Flight logging: starts logging
main/main.c - Browser user → Web controls: uses controls
- Web controls → Serial flashing: invokes flashing
web/app.js - Web controls → Serial terminal: uses terminal
web/app.js - Web controls → Receiver console UI: uses receiver UI
web/app.js - Web controls → Flight-log decoding: decodes logs
web/app.js - Boot orchestration → C5VRX-1 live pipeline: legacy generation
- Boot orchestration → C5VRX-3 gain controller: legacy generation
- Boot orchestration → C5VRX-4 pipeline: legacy generation