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.
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.
Anti Spark Switch Pro 280A for Electric Skateboard /EBike /Scooter/Robots
-286 in stock
PCB thickness: 6 layer*3oz copper=18oz copper
Max continuous 280A, Burst current 800A
Max voltage: 13S (60V)
Dimensions(with heatsink and heat shrink): 40mm*28.5mm*9.1mm
LED button diameter: 12mm
Reminder : the LED button is defaultly inserted in the switch in shipping status, DO NOT power on switch without the LED button connected.