Updated Setup current and speed limits (markdown)

Candas1
2022-01-02 10:11:29 +01:00
parent 65427741fa
commit 5a635ac76e

@@ -1,9 +1,10 @@
## Current Limit
You can adjust I_MOT_MAX/I_DC_MAX parameters in config.h file to decrease/increase current limit(Amps). I_DC_MAX should be equal to I_MOT_MAX + 2A.
You can adjust I_MOT_MAX/I_DC_MAX parameters in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase current limit(Amps). I_DC_MAX should be equal to I_MOT_MAX + 2A
## Speed Limit
You can adjust N_MOT_MAX in config.h file to decrease/increase the speed limit(RPMs).<br>
You can adjust N_MOT_MAX in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase the speed limit(RPMs).<br>
Be aware that the firmware has a hard limit of 2000 RPMs to prevent overflows.<br>
This [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/86) explains how to reach high speeds, but use it at your own risks.<br>
The speed can overshoot the limit, this is a know [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/132).<br>
## Setting up the Current and Speed limits on the go