mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-03 17:44:27 +02:00
Updated Variant ADC (markdown)
@@ -7,12 +7,11 @@ This variant can be used with analog inputs like potentiometers, joysticks or th
|
||||
* ADC_PROTECT_TIMEOUT : number of wrong / missing input commands before safety state is taken
|
||||
|
||||
## Wiring:
|
||||
* Connect blue wire (ADC1) to steering and green wire (ADC2) to speed on left sensor board cable
|
||||
* If you don’t need steering, set input1_type to 0 in order to disable the input or go through the auto-calibration procedure
|
||||
* Connect the potentiometer/hall sensor VCC to 3.3v from programming port or from a voltage regulator, ⚠️ Red wire from sensor cable delivers 15v !!!⚠️
|
||||
* 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
|
||||
* 100k Pull down resistors connected to ground are recommended to prevent issues when inputs are floating (wire is cut or disconnected) triggering ADC protection
|
||||
|
||||
⚠️ Red wire from sensor cable delivers 15v !!!
|
||||
Use 3.3v from programming port or a voltage regulator.
|
||||
* If you don’t need steering, set input1_type to 0 in order to disable the input or go through the auto-calibration procedure
|
||||
|
||||
## Calibration:
|
||||
Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration) for better control and proper ADC protection.
|
||||
|
Reference in New Issue
Block a user