mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 10:34:28 +02:00
Updated ADC Control (markdown)
@@ -12,7 +12,7 @@ This variant can be used with potentiometers or hall sensors.
|
|||||||
* If you use a joystick as input, enable **ADC1_MID_POT** and **ADC2_MID_POT** in config.h
|
* If you use a joystick as input, enable **ADC1_MID_POT** and **ADC2_MID_POT** in config.h
|
||||||
|
|
||||||
# Manual Calibration:
|
# Manual Calibration:
|
||||||
* Connect FTDI RX to blue wire from right sensor board cable to read USART DEBUG values
|
* 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 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
|
* 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**
|
* For middle resting potis, let the potis in the middle resting position, write value 1: to **ADC1_MID** and value 2: to **ADC2_MID**
|
||||||
|
Reference in New Issue
Block a user