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:
Bit | Description |
---|---|
0 | Turn on the light on controller startup |
1 | Use second contactor output as brake lights |
2 | Use second contactor with PWM as brake light. Only for PWM capable outputs.
|
Contactor output mapping
Controller | Description |
---|---|
SL controller | Contactor 2 is used for lights Contactor 3 is used for brake lights |
SC, SX controller | Contactor 1 is used as lights If brake lights is enabled, it is used as brake light. |
AM controller | Contactor 1 is used as lights Contactor 2 used as brake light. (withou PWM controll) |
AX, TX controller | Contactor 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.