How sysch415/mite-esc works
MITE is a pair of bare-metal STM32F411 firmwares: the handheld controller samples joystick axes and transmits a fixed four-byte command, while the crawler receives it and updates motor and servo outputs. The graph separates the two device workflows from the shared nRF24 driver and register-level HAL, and includes the documented board designs. HAL internals and hardware behavior are not sampled; edges show only calls visible in firmware or relationships stated in the README.
Main entry points: crawler/main.cpp Receive and control · controller/main.cpp Sample and transmit · nrf24.cpp nRF24 driver · nrf24.hpp nRF24 interface
Components 14
Controller firmware
- Controller startup
controller/startup.cpp - Sample and transmit
controller/main.cpp
Crawler firmware
- Crawler startup
crawler/startup.cpp - Receive and control
crawler/main.cpp
Shared firmware
- nRF24 driver
drivers/src/nrf24.cpp - nRF24 interface
drivers/include/nrf24.hpp - Register-level HAL
hal_lib
Board designs
- MITE v1 board
hardware/crawler_schematic - Controller board
hardware/controller_schematic
Other components
- Operator
- Joystick axes
- nRF24L01+ radios
- Brushed motor
- Steering servo
Connections 16
- Operator → Joystick axes: moves
README.md - Joystick axes → Sample and transmit: provides axes
controller/main.cpp - Controller startup → Sample and transmit: calls
controller/startup.cpp - Sample and transmit → Register-level HAL: reads ADC
controller/main.cpp - Sample and transmit → nRF24 driver: transmits payload
controller/main.cpp - Sample and transmit → nRF24 interface: uses interface
controller/main.cpp - nRF24 driver → Register-level HAL: uses SPI and GPIO
drivers/src/nrf24.cpp - nRF24 driver → nRF24 interface: implements
drivers/src/nrf24.cpp - nRF24 driver → nRF24L01+ radios: commands
README.md - nRF24L01+ radios → Receive and control: delivers commands
README.md - Crawler startup → Receive and control: calls
crawler/startup.cpp - Receive and control → Register-level HAL: configures peripherals
crawler/main.cpp - Receive and control → nRF24 driver: receives payload
crawler/main.cpp - Receive and control → nRF24 interface: uses interface
crawler/main.cpp - Receive and control → Brushed motor: sets PWM and direction
crawler/main.cpp - Receive and control → Steering servo: sets servo pulse
crawler/main.cpp