Skip to main content
FW version: Stable

Lights

There is an option to control external lights using inbuilt digital output (if the device is equipped with it). The lights are controlled by the state of the digital /io/in_light input. Advanced settings of lights can be done by parameter /misc/lightopts

tip

If you are using the UART display, you can use its light input by setting the /io/in_light parameter to value 3,14

/misc/lightopts is bitwise parameter. The following options are available:

BitDescription
0Turn on the light on controller startup
1Use second contactor output as brake lights
2Use second contactor with PWM as brake light. Only for PWM capable outputs.
  • 0% = lights off
  • 50% = lights on, no braking
  • 100% = lights on, braking|

Contactor output mapping

ControllerDescription
SL controllerContactor 2 is used for lights
Contactor 3 is used for brake lights
SC, SX controllerContactor 1 is used as lights
If brake lights is enabled, it is used as brake light.
AM controllerContactor 1 is used as lights
Contactor 2 used as brake light. (withou PWM controll)
AX, TX controllerContactor 1 is used as lights
Contactor 2 used as brake light.
tip

If you want to configure contactor voltage, check the contactor settings. This only works for controllers with PWM-capable outputs.