How tumo07/vehicle-dashboard-cluster works
This is a distributed smart-vehicle dashboard simulator: Qt or the CAN monitor initiates commands, a central ECU validates and arbitrates them, and front/rear BCMs drive actuators while reporting sensors and faults. The translator bridges the PC’s UART link to CAN. The README documents the overall bus topology and turn-signal synchronization; sampled firmware confirms selected command/report behavior. Several listed capabilities, including the F407 variant, radar, diagnostics, and monitor injection, are represented at subsystem level where their implementation was not fully sampled.
Main entry points: Src/main.c Front actuator logic · Src/main.c Central ECU · Src/main.c Rear actuators and radar · Src/main.c CAN/UART bridge
Components 18
Dashboard and tools
- Qt dashboard
qt_dashboard/Project2/Controllers/controller.cpp - UART service
qt_dashboard/Project2/Services/services.cpp - CAN monitor
front_bcm_firmware/can_monitor.py - CAN/UART bridge
translator_firmware/CAN_UART_Gateway/Core/Src/main.c
Central coordination
- Central ECU
main_mcu_firmware/Central_ECU_F407/Core/Src/main.c - BluePill ECU variant
main_mcu_firmware/Central_ECU_BluePill/Core/Src/main.c - Test node
main_mcu_firmware/Test_Node_BluePill/Core/Src/main.c
Front BCM
- Front actuator logic
front_bcm_firmware/Logic_F411/Core/Src/main.c - Headlight control
front_bcm_firmware/Logic_F411/Core/Src/headlight.c - Turn and wiper control
front_bcm_firmware/Logic_F411/Core/Src/turnsignal.c - Front CAN bridge
front_bcm_firmware/TranslatorData_F103/Core/Src/main.c
Rear BCM
- Rear actuators and radar
rear_bcm_firmware/Core/Src/main.c - Nucleo firmware
Nucleo_F446RE/Core/Inc/Core/Src/main.c
Bus protocol
- Shared CAN definitions
can_messages_shared/can_messages.h - CAN bus
Other components
- Driver
- Vehicle inputs and actuators
- PC serial connection
Connections 29
- Driver → Qt dashboard: operates
README.md - Qt dashboard → UART service: uses serial service
- UART service → CAN/UART bridge: USB/UART frames
README.md - PC serial connection → CAN/UART bridge: UART link
README.md - CAN monitor → CAN bus: injects commands
README.md - CAN/UART bridge → CAN bus: bridges frames
README.md - CAN bus → Central ECU: delivers commands
README.md - Central ECU → CAN bus: dispatches execution
- CAN bus → Front CAN bridge: delivers CAN frames
README.md - Front CAN bridge → Front actuator logic: forwards UART pulse
README.md - CAN bus → Rear actuators and radar: delivers commands
README.md - Front actuator logic → Headlight control: initializes
front_bcm_firmware/Logic_F411/Core/Src/main.c - Front actuator logic → Turn and wiper control: initializes
front_bcm_firmware/Logic_F411/Core/Src/main.c - Front actuator logic → Front CAN bridge: UART bridge setup
front_bcm_firmware/Logic_F411/Core/Src/main.c - Front actuator logic → Vehicle inputs and actuators: reads inputs, drives outputs
front_bcm_firmware/Logic_F411/Core/Src/main.c - Rear actuators and radar → Vehicle inputs and actuators: reads sensors, drives actuators
rear_bcm_firmware/Core/Src/main.c - Rear actuators and radar → CAN bus: reports status
rear_bcm_firmware/Core/Src/main.c - CAN bus → Central ECU: delivers BCM reports
README.md - Central ECU → CAN/UART bridge: status reaches dashboard
README.md - CAN bus → Qt dashboard: turn status updates
README.md - Central ECU → CAN bus: broadcasts blink tick
README.md - CAN bus → Front actuator logic: synchronized turn tick
README.md - CAN bus → Rear actuators and radar: synchronized turn tick
README.md - BluePill ECU variant → CAN bus: coordinates variant
- Test node → CAN bus: test-node traffic
- Nucleo firmware → CAN bus: CAN firmware traffic
- Shared CAN definitions → Central ECU: defines message IDs
main_mcu_firmware/Central_ECU_F407/Core/Src/main.c - Shared CAN definitions → Front actuator logic: defines message IDs
front_bcm_firmware/Logic_F411/Core/Src/main.c - Shared CAN definitions → Rear actuators and radar: defines message IDs
rear_bcm_firmware/Core/Src/main.c