This repository contains code for TTGO T-Display board to let it use as dashboard for any VESC based ESC. Compatible with FW5.3
Display battery level, power and speed based on VESC data. Transparent BLE-UART proxy for VESC tool.
- Modify
src/config.haccording to your specifications. - Connect
3Vor5Vpin to VESC.- Optional: I recommend you to use 10µF capacitor between
V+andGpin to avoid unstable behavior.
- Optional: I recommend you to use 10µF capacitor between
- Connect
Gpin to VESCGround. - Connect
RXpin to VESCTXandTXpin to VESCRX. - Now you can use T-Display as dashboard and bluetooth relay.
You can also install buzzer, but case in this repo doesn't have a space for it.
Use buttons
I'm using the first button to control the light, so pin name is LIGHT_PIN. The button can be used in two modes: as switch and pass-through.
In Switch mode button will toggle the flag, while flag is TRUE, LIGHT_PIN will be HIGH.
In pass-through mode button will pass-through the state. Normal state is HIGH.
