Variant NUNCHUK - EFeru/hoverboard-firmware-hack-FOC GitHub Wiki
This variant can be used with Wii Nunchuk (not the Wiimote).
:electric_plug: Wiring:
- Connect nunchuk's VCC to 3.3v from programming port or from a voltage regulator, ⚠️ Red wire from sensor cable delivers 15v !!!
- Connect blue wire to SCL and green wire to SDA on right sensor board cable(shorter)
- Connect nunchuk to ground, ⚠️ On some boards, the black wire is 15v !!! Check with a multi-meter to make sure 15V and ground are not swapped
- ⚠ 100k Pull up resistors connected to 3.3v are recommended to prevent the board to go full speed if nunchuk is disconnected
Recommendation: Nunchuk Breakout Board https://github.com/Jan--Henrik/hoverboard-breakout
:gear: Configuration/Parameters
Default settings for this variant are:
- Voltage Control Mode
- A smoother FILTER so more control lag
- A lower SPEED_COEFFICIENT so lower maximum throttle
- A negative STEER_COEFFICIENT so steering is reversed
Please check the parameters that are common to all the variants.
:control_knobs: Calibration:
Proceed with calibration for better control.
:toolbox: Troubleshooting:
If the board is beeping
- On some boards the wire colors might differ, try switching blue and green cable
- Keep cable short, use shielded cable, use ferrits, stabilize voltage in nunchuk
- It could be the chip's ports are defective, or the 101 smd resistors are either missing or have a too high resistance: do you have another board to try with ? This will help understand wether the problem is the board or the nunchuk
- If you have added capacitors for PWM/PPM, remove it