mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Variant ADC (markdown)
@@ -16,7 +16,8 @@ Please also check the [parameters](https://github.com/EFeru/hoverboard-firmware-
|
|||||||
* Connect the output of the potentiometer/hall sensor to the blue wire (ADC1) for steering and green wire (ADC2) for speed on left sensor board cable
|
* Connect the output of the potentiometer/hall sensor to the blue wire (ADC1) for steering and green wire (ADC2) for speed on left sensor board cable
|
||||||
* Connect the potentiometer/hall sensor to ground, ⚠️ On some boards, the black wire is 15v !!! Check with a multi-meter to make sure 15V and ground are not swapped
|
* Connect the potentiometer/hall sensor to ground, ⚠️ On some boards, the black wire is 15v !!! Check with a multi-meter to make sure 15V and ground are not swapped
|
||||||
* 100k Pull down resistors connected to ground are recommended to prevent issues when inputs are floating (wire is cut or disconnected) triggering ADC protection
|
* 100k Pull down resistors connected to ground are recommended to prevent issues when inputs are floating (wire is cut or disconnected) triggering ADC protection
|
||||||
* If you don’t need steering, set input1_type to 0 in order to disable the input or go through the auto-calibration procedure
|
* If you don’t need steering, set input1_type to 0 in order to disable the input or go through the auto-calibration procedure :
|
||||||
|
`#define PRI_INPUT1 0, 0, 0, 4095, 0 // TYPE, MIN, MID, MAX, DEADBAND. See INPUT FORMAT section`
|
||||||
|
|
||||||
## :control_knobs: Calibration:
|
## :control_knobs: Calibration:
|
||||||
Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration) to select the right type of inputs, for better control and proper ADC protection.
|
Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration) to select the right type of inputs, for better control and proper ADC protection.
|
||||||
|
Reference in New Issue
Block a user