The VCU handles the following tasks :
- Listening to throttle pedal, brake pressure, wheel speed, start button, other dash buttons
- Generating appropriate throttle signal, RTDS, dispaly data, APPS plausibility check, work on shutdown circuit
- Data logging, wireless live logging, Remote Emergency Shutdown, etc.
Refer to AdityaNG/VRE_CAN for CAN Data logger implementation.
- Data logging with dates
- Wireless live data logging
- Brake Pressure, Wheel Speed, Start button
- RTDS, APPS check, Shutdown line
- MPU Connection hang bug (system waits forever to connect to MPU)
- SD card consistency issue
- PCB - level shifter shape and pinout
- PCB - Power connector is to be reversed
- PCB - SD Card Mount Orientation
- PCB - Add shutdown relays
- PCB - Add BSPD daughter board
- PCB - ESP32 [Look at Strapping Pins] Error message - :A fatal error occurred: MD5 of file does not match data in flash!" - Disconnecting pin 12 from the level shifter fixed this
- PCB - RTC and MPU are too close to each other
- PCB - Add termination resistor of either 60 Ohm or 120 Ohm to CAN (60 seems to work)
The ESP32 chip has the following strapping pins:
- GPIO 0
- GPIO 2
- GPIO 4
- GPIO 5 (must be HIGH during boot)
- GPIO 12 (must be LOW during boot)
- GPIO 15 (must be HIGH during boot)