mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-03 17:44:27 +02:00
Updated Firmware Compatibility (markdown)
@@ -8,16 +8,16 @@ For those you can use the alternate mapping by changing parameter BOARD_VARIANT
|
||||
|
||||
It could be that your mainboard was designed differently, please check if the pin mapping is matching with the one in this [section](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Firmware-Compatibility#pin-mapping).
|
||||
|
||||
In general, if you have doubts about you mainboard's compatibility:
|
||||
* Try sinusoidal control type with ADC variant first for your tests, this will prove phases/halls are mapped to the right pins
|
||||
* Then try FOC control type with ADC variant, this will prove phase current sensing is also working fine, this is mandatory for FOC
|
||||
* Then you can try FOC control type and Speed control mode with ADC variant, this will prove the phases/hall sensor sequence is correct and speed/direction measurement is accurate
|
||||
|
||||
## :toolbox: Troubleshooting
|
||||
* Motors are cogging/not running in a smooth way - please try to swap the phases. Usually, color-correct mapping (blue to blue, green to green, yellow to yellow) works fine. However, some hoverboards have a different layout then others, and this might be the reason your motor isn't spinning well
|
||||
* In speed mode, wheels are running at maximum speed - find the right mapping for hall sensors, firmware probably measures a speed with opposite sign
|
||||
* With hovercar variant in torque mode, braking actually accelerates - find the right mapping for hall sensors, firmware probably measures a speed with opposite sign
|
||||
|
||||
In general, if you have doubts about you mainboard's compatibility:
|
||||
* Try sinusoidal control type with ADC variant first for your tests, this will prove phases/halls are mapped to the right pins
|
||||
* Then try FOC control type with ADC variant, this will prove phase current sensing is also working fine, this is mandatory for FOC
|
||||
* Then you can try FOC control type and Speed control mode with ADC variant, this will prove the phases/hall sensor sequence is correct and speed/direction measurement is accurate
|
||||
|
||||
## Pin Mapping
|
||||
This is the pin mapping this firmware is using, you might have to adapt it to your board variant in [defines.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/defines.h) file
|
||||
|
||||
|
Reference in New Issue
Block a user