mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 18:44:28 +02:00
Updated ADC Control (markdown)
@@ -1,12 +1,11 @@
|
|||||||
This variant can be used with potentiometers or hall sensors.
|
This variant can be used with potentiometers or hall sensors.
|
||||||
|
|
||||||
# Wiring:
|
# Wiring:
|
||||||
* Connect blue wire to steering and green wire to speed (left sensor board cable)
|
* Connect blue wire (ADC1) to steering and green wire (ADC2) to speed. Those are the wires from left sensor board cable.
|
||||||
* Use 3.3v from programming port or a voltage regulator
|
|
||||||
* If you don’t need steering, also connect blue wire to your input, and set **STEERING_COEFFICIENT** to 0 in config.h, you will be able to use auto calibration
|
* If you don’t need steering, also connect blue wire to your input, and set **STEERING_COEFFICIENT** to 0 in config.h, you will be able to use auto calibration
|
||||||
* 100k Pull down resistors connected to ground are recommended to prevent issues when inputs are floating (wire is cut or disconnected)
|
* 100k Pull down resistors connected to ground are recommended to prevent issues when inputs are floating (wire is cut or disconnected)
|
||||||
|
|
||||||
⚠ don’t use red wire it delivers 15v
|
⚠ Use 3.3v from programming port or a voltage regulator, don’t use red wire it delivers 15v
|
||||||
|
|
||||||
|
|
||||||
# Configuration:
|
# Configuration:
|
||||||
@@ -36,7 +35,7 @@ An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config
|
|||||||
# Extra Features
|
# Extra Features
|
||||||
## Setup current and speed limit:
|
## Setup current and speed limit:
|
||||||
* press the power button for more than 5 sec and immediately after the beep sound press one more time shortly
|
* press the power button for more than 5 sec and immediately after the beep sound press one more time shortly
|
||||||
* move and hold the pots to a desired limit position for Current and Speed ( Maximum being the values you have put in config.h )
|
* move and hold the pots to a desired limit position for Current(ADC1) and Speed(ADC2), maximum being the values you have put in config.h
|
||||||
* press the power button to confirm or wait for the 10 sec timeout
|
* press the power button to confirm or wait for the 10 sec timeout
|
||||||
|
|
||||||
## Support of extra buttons:
|
## Support of extra buttons:
|
||||||
|
Reference in New Issue
Block a user