From 8be69932f14cf02b6edc54753554e63704ffdab9 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Sun, 2 Jan 2022 11:52:46 +0100 Subject: [PATCH] Updated Variant PWM (markdown) --- Variant-PWM.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Variant-PWM.md b/Variant-PWM.md index e5a6650..0cbc893 100644 --- a/Variant-PWM.md +++ b/Variant-PWM.md @@ -1,8 +1,12 @@ This variant can be used with Pulse Width Modulation RC Receivers. +## 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.
+You can use CONTROL_PWM_LEFT instead if you need to use the left sensor cable.
+DEBUG_SERIAL will be automatically enabled on the opposite cable.
## Wiring: -* Connect channel 1(steering) of your receiver to blue wire and channel 2(speed) to green wire. By default, the right sensor cable(shorter) is used to limit the noise +* Connect channel 1(steering) of your receiver to blue wire and channel 2(speed) to green wire of the cable selected in config.h * PWM is highly prone to noise : keep cables short, use 100nf capacitors, use shielded cable, use ferrites, stabilize voltage ⚠ Red wire from sensor cable delivers 15v !!! @@ -16,5 +20,5 @@ Proceed with [calibration](https://github.com/EmanuelFeru/hoverboard-firmware-ha ## 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 or right) selected in config.h +* 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 \ No newline at end of file