Skip to content
Candas1 edited this page Jan 28, 2022 · 12 revisions

This variant can be used with Pulse Width Modulation remotes for Skateboards/Longboards.
Those remotes use a single PWM Channel for Throttle and Brake.
When the remote is at middle/resting position, the motors are freewheeling (Torque Mode).

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 the receiver signal to green wire on right sensor cable(shorter)

⚠ Red wire from sensor cable delivers 15v !!! Use 3.3v from programming port, 5v from hall sensor cable, or a voltage regulator.

Calibration:

Proceed with calibration for better control.
This variant is expecting only one mid-resting input, calibration will be rejected otherwise.

Troubleshooting:

If the board is beeping

  • Make sure you are using the sensor cable(left=CONTROL_PWM_LEFT or right=CONTROL_PWM_RIGHT) selected in config.h