demo.mp4
The original kit was intended to be done with a
STC 89C5RC
microcontroller, and probably written in C? Arduino? but I have used anESP32
andRust
instead for simplicity.
- Use a
Lily-Go T-Display S3
board to control a car with 2 motors and a caster wheel. - The car is controlled by a
DVR8833
motor driver, which is controlled by theESP32
usingPWM
signals. - The companion app sends
BLE
commands to theESP32
to control the car. - The companion app is written in
Flutter
and can be found here. - The RGB LED goes green when the bluetooth is connected, and red when disconnected.
- THe RGB LED blinks yellow when the motor-drive detects a short circuit / over current / over temperature etc...
- Motor Driver (DVR8833)
- A RGB LED
- 2x Motors (Which I have no idea about its specs)
- A mini power supply (HW-131)
- An Lily-Go T-Display S3
- 2x wheels
- 1x caster wheel
- 1x PCB car chassis (although I'm not using the printed circuit that came with it)
- Wires
To run the example, use the following command:
cargo run -p motor-driver
- When using a
Lily-Go T-Display S3
board the pin 15 needs high to be able to power it from the 5v pin instead of USB.