Reminds: Can only support vesc fw 3.60 and below.
- Compatible with ESC based on VESC
- Communication port by UART mode
- Current Mileage & Total Mileage
Battery Capacity Percentage, Battery voltage per cell
- Function of the 3 Buttons
Quick press to check VESC’s parameters,Including total battery voltage, battery voltage per cell, battery capacity, mileage.
Press for 3 seconds to clear the value of battery capacity percentage. (To restore the original value, program re-flashing is required).
Press for 3 seconds to clear the current mileage and speed data. (To restore the original value, program re-flashing is required).
Product Variant:3.3V 5V FT232RL FTDI USB To TTL Serial Converter Adapter Module For Arduino
Reminds: USB-UART adapter is necessary to use the TFT screen, if you don't have it, pls also choose above variant with FT232RL
Source link for this project: https://github.com/janpom/davega/tree/v0.3
To compile this code, a library function "ILI9225.h" will need to be added: Click "Project","Loading Library", "Managing Library", search for "ILI9225", and install it to compile.
The baud rate of the UART of the FSESC should be 115200
The default data displayed on the screen (speed, mileage, and parameters required for the average battery voltage of each cell ) are pre-coded in the program, so it should be calculated according to the actual situation of the skateboard. After modifying data in the source code, flashing the modified program in it.
- Specific operations
Parameters required for speed: erpm, motor pole pairs, motor pulley teeth, wheel pulley teeth;
Parameters required for mileage: tachometer, motor pole pairs, motor pulley teeth, wheel diameter;
Modifying the parameters in the "davega_config.h" file according to your skateboard, otherwise the displayed speed and itinerary will not be accurate.
- The default is 12S battery. This parameter will affect the display of the average voltage. It can be changed in the “davega_config.h” file if you’re not using 12s battery.
- After quick pressing the button 3, the battery capacity (mAh) in the displayed data is calculated according to the number of VESCs used. For example, if two VESCs are used, then changing the VESC COUNT in the “davega_config.h” file to 2 ; if one VESC is used, then changing the VESC COUNT to 1.