diff --git a/ADC-Control.md b/ADC-Control.md index 3d3f84d..7bba3b0 100644 --- a/ADC-Control.md +++ b/ADC-Control.md @@ -7,30 +7,7 @@ This variant can be used with potentiometers or hall sensors. ⚠ Use 3.3v from programming port or a voltage regulator, don’t use red wire it delivers 15v - -# Configuration: -* If you use a joystick as input, enable **ADC1_MID_POT** and **ADC2_MID_POT** in config.h - -# Manual Calibration: -* Connect FTDI RX to blue wire from right sensor board cable to read USART DEBUG values, baud rate should be 38400 -* Turn the potis to minimum position, write value 1: to **ADC1_MIN** and value 2: to **ADC2_MIN** in config.h -* Turn the potis to maximum position, write value 1: to **ADC1_MAX** and value 2: to **ADC2_MAX** in config.h -* For middle resting potis, let the potis in the middle resting position, write value 1: to **ADC1_MID** and value 2: to **ADC2_MID** - -Config.h values will be ignored if you have already used the auto-calibration procedure below. - -# Auto-calibration: -Auto-calibration finds the minimum, middle and maximum values for ADC inputs. -* Press the power button for more than 5 sec and release after the beep sound -* Move the potentiometers freely to the min and max limits repeatedly -* Release potentiometers to the resting position -* Press the power button to confirm or wait for the 20 sec timeout - -⚠The limits will be stored in flash memory and will be erased only if you fully delete memory before flashing.
-An alternative to bypass those limits is to change **FLASH_WRITE_KEY** in config.h to a value different than 0x1234. - -Auto-calibration only works if both ADC inputs are connected/used. - +[Calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) # Extra Features ## Setup current and speed limit: