- STM32F401CCU6
- HC-05 bluetooth module
- MPU 6050
- 2x VESC4 or VESC6 (FocBOX might work too)
- PPM remote with receiver
- Remote should opeareate in throttle / brakes mode, no reverse.
- When throttle is above 25% or when breakes are more than 25%, tilt the board into wheelie position, the board should start balancing
- VCC -> VCC
- GND -> GND
- SDA -> PB7
- SCL -> PB6
Configure module for 115200 baud, 8bit, no parity, 1 stop bit
- VCC -> VCC
- GND -> GND
- BT RX -> PA11
- BT TX -> PA12
Configure VESC in FOC mode, ensure motor runs smoothly.
APP: USART
- 5v -> STM32F401CCU6 5v
- GND -> GND
- RX -> PA9
- TX -> PA10
- 5v not connected
- GND -> GND
- RX -> PA2
- TX -> PA3
- Throttle channel PPM signal -> PB0
- GND->GND
- VCC->VCC
Use STLINK V2 Use the file attached in releases hex and upload it via STM32CubeProg
- GND
- SWDIO
- SWCLK