How ashish4hub/radar_system works
This is an AVR radar firmware project with a browser dashboard. The principal workflow is firmware initialization and repeated radar control, combining angle sweeps with ultrasonic distance measurement and sending measurements to a web-facing serial bridge for live display. The dashboard server-to-acquisition call and firmware entry point are visible; several firmware orchestration and hardware relationships are only implied by the available headers, so those links are marked unverified. The README is empty, and unsampled dashboard files are represented only where their paths and roles are evident from the tree or server code.
Main entry points: radar_control.c Radar controller · server.py WebSocket server · obstacle_detection.c Obstacle detector · send_data.c Measurement TX
Components 15
Radar control
- Firmware entry
main.c - Radar controller
app/radar_control.c - Measurement TX
src/send_data.c - UART driver
driver/uart/uart.c
Distance sensing
- Obstacle detector
src/obstacle_detection.c - GPIO driver
driver/gpio/gpio.c - Capture driver
driver/icu/icu.c
Sweep motion
- Timer driver
driver/timer/timer.c - Sweep control
src/sweep_control.c - Servo driver
driver/servo/servo.c
Dashboard
- Serial acquisition
radar_dashboard/radar_data_acq.py - WebSocket server
radar_dashboard/server.py - Dashboard page
radar_dashboard/index.html - Radar UI
radar_dashboard/static/radar.js
Other components
- Browser user
Connections 13
- Firmware entry → Radar controller: calls
main.c - Radar controller → Obstacle detector: coordinates
- Radar controller → Sweep control: coordinates
- Radar controller → Measurement TX: dispatches
- Obstacle detector → GPIO driver: triggers
src/obstacle_detection.c - Obstacle detector → Capture driver: captures
src/obstacle_detection.c - Sweep control → Servo driver: moves
- Measurement TX → UART driver: transmits
- WebSocket server → Serial acquisition: reads measurements
radar_dashboard/server.py - WebSocket server → Radar UI: broadcasts data
- WebSocket server → Dashboard page: serves page
radar_dashboard/server.py - Browser user → WebSocket server: connects
- Browser user → Dashboard page: views