mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Input Calibration (markdown)
@@ -30,6 +30,20 @@ Otherwise the inputs will be identified as middle resting potis.<br />
|
||||
For inputs with type 3 (AUTO) in config.h, auto-calibration will automatically identify the right input type.
|
||||
If input type 0,1,2 has been selected in config.h, auto-calibration will fail if identified input type is not matching and disable the input.
|
||||
|
||||
If you use [Debug Serial](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Debug-Serial), you can see the results of auto-calibration procedure:
|
||||
```
|
||||
Input calibration started...
|
||||
Input1 is ignored..OK
|
||||
Input2 is a normal pot AND protected..OK
|
||||
Limits Input1: TYP:0 MIN:1158 MID:1059 MAX:973
|
||||
Limits Input2: TYP:1 MIN:1115 MID:1015 MAX:2633
|
||||
-- Motors enabled --
|
||||
```
|
||||
In this example:
|
||||
* Input1 was ignored has it was not connected, was floating, or wasn't moved
|
||||
* Input2 was identified as a normal pot (pedal or throttle handle), and the minimum value is high enough to detect a floating input pulled to ground
|
||||
|
||||
|
||||
|
||||
⚠The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing.<br />
|
||||
An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config.h.
|
Reference in New Issue
Block a user