mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Variant PWM (markdown)
@@ -1,12 +1,12 @@
|
||||
This variant can be used with Pulse Width Modulation RC Receivers.
|
||||
It expects 1ms to 2ms pulses at 50Hz from 2 channels.
|
||||
|
||||
## Configuration/Parameters
|
||||
## :gear: Configuration/Parameters
|
||||
CONTROL_PWM_RIGHT is for the right sensor cable and is set by default to limit the noise as this cable is shorter.<br>
|
||||
You can use CONTROL_PWM_LEFT instead if you need to use the left sensor cable.<br>
|
||||
DEBUG_SERIAL will be automatically enabled on the opposite cable.<br>
|
||||
|
||||
## Wiring:
|
||||
## :electric_plug: Wiring:
|
||||
* Connect your receiver VCC to 3.3v from programming port, 5v from hall sensor cable, or a voltage regulator, ⚠️ Red wire from sensor cable delivers 15v !!!
|
||||
* Connect channel 1(steering) of your receiver to blue wire and channel 2(speed) to green wire of the cable selected in config.h
|
||||
* Connect the receiver to ground, ⚠️ On some boards, the black wire is 15v !!! Check with a multi-meter to make sure 15V and ground are not swapped
|
||||
@@ -15,10 +15,10 @@ DEBUG_SERIAL will be automatically enabled on the opposite cable.<br>
|
||||
## Transmitter configuration:
|
||||
* Assign desired joystick to channel 1(steering) and channel 2(throttle)
|
||||
|
||||
## Calibration:
|
||||
## :control_knobs: Calibration:
|
||||
Proceed with [calibration](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration) for better control.
|
||||
|
||||
## Troubleshooting:
|
||||
## :toolbox: Troubleshooting:
|
||||
If the board is [beeping](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Diagnostics)
|
||||
* Make sure you are using the sensor cable(left=CONTROL_PWM_lEFT or right=CONTROL_PWM_RIGHT) selected in config.h
|
||||
* You might have a defective input, because of a fried resistor or MCU pin (e.g. [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/244)), you can configure the firmware to work on the other cable
|
Reference in New Issue
Block a user