Updated Variant ADC (markdown)

Candas1
2022-04-08 11:29:42 +02:00
parent c2780a43e0
commit b0ae12212e

@@ -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 dont 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 dont 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.