Skip to content

Repository files navigation

Wheelie mode for a skate

Parts:

  • STM32F401CCU6
  • HC-05 bluetooth module
  • MPU 6050
  • 2x VESC4 or VESC6 (FocBOX might work too)
  • PPM remote with receiver

Operation

  • 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

Wiring:

MPU 6050

  • VCC -> VCC
  • GND -> GND
  • SDA -> PB7
  • SCL -> PB6

Bluetooth

Configure module for 115200 baud, 8bit, no parity, 1 stop bit

  • VCC -> VCC
  • GND -> GND
  • BT RX -> PA11
  • BT TX -> PA12

VESC

Configure VESC in FOC mode, ensure motor runs smoothly.

APP: USART

VESC1:

  • 5v -> STM32F401CCU6 5v
  • GND -> GND
  • RX -> PA9
  • TX -> PA10

VESC2:

  • 5v not connected
  • GND -> GND
  • RX -> PA2
  • TX -> PA3

Remote receiver:

  • Throttle channel PPM signal -> PB0
  • GND->GND
  • VCC->VCC

Flashing

Use STLINK V2 Use the file attached in releases hex and upload it via STM32CubeProg

Connection

  • GND
  • SWDIO
  • SWCLK

Configuing

Use attached (releases) APP apk. Here is my setting file

About

No description, website, or topics provided.

Resources

Stars

16 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages