Skip to content
Candas1 edited this page Apr 10, 2021 · 35 revisions

Variant selection

Variants are a set of parameters to configure FOC firmware for a specific use.

  • Platformio - Remove the semicolon in front of the desired Variant in Platformio.ini file
  • Others - Uncomment the desired Variant in Variant selection section of config.h file
VARIANTS ADC USART NUNCHUK PPM PWM IBUS HOVERCAR TRANSPOTTER SKATEBOARD HOVERBOARD
CONTROL ADC USART I2C PPM PWM USART ADC ADC PWM USART
DEFAULT
CABLE
LEFT RIGHT RIGHT RIGHT RIGHT RIGHT LEFT LEFT RIGHT BOTH
CONTROL MODE VOLTAGE VOLTAGE VOLTAGE VOLTAGE VOLTAGE VOLTAGE TORQUE TORQUE TORQUE VOLTAGE
INPUT
CMD1
CMD2

POT
POT



MID POT
MID POT

MID POT
MID POT

MID POT
MID POT

MID POT
MID POT

POT
POT

POT
MID POT

N/A
MID POT

SIDEBOARD
SIDEBOARD
MIXER
CMD1
CMD2

STEER
SPEED

STEER
SPEED

STEER
SPEED

STEER
SPEED

STEER
SPEED

STEER
SPEED

BRAKE
THROTTLE

DISTANCE
STEER

N/A
THROTTLE/BRAKE

ANGLE LEFT
ANGLE RIGHT
AUTO
CALIBRATION
YES YES YES YES YES YES YES NO YES NO
CURRENT
MAX SPEED
LIMIT
YES YES YES YES YES YES YES NO YES NO