Skip to main content
FW version: Stable

UART display

info

All mentioned parameters are located in misc folder.

On the controller, UARTCOM interface can be connected to a display or a programmable LED. The display can be used for indication of ride data (speed, user map, SOC) as well as external digital inputs used as map switch button, walk assist or light enable. The LED can be used for a simple indication current map and SOC.

ParameterDescriptionRange
dispmodeDefines UART controller selection-1 - Automatic display selector
0 - Disabled
1 - Bafang
3 - 800U
4 - KT-LCD3
32+ - WS LED
ledbrightDefines brightness of WS LED0 - 100 [%]
ledoptsDefines settings of WS LED indication (bitwise parameter)0-2 - LED color order
4 - LED is turned OFF while driving
8 - LED reduce brightness while riding

UART displays

Lynx supports several UART displays. The parameter dispmode defines what controller is used for the signalization. Currently supported controllers are listed below.

warning

siliXcon does not have control over the displays. If the manufacturer of the display changes the protocol, the display will not work with the siliXcon controller.

tip

siliXcon can add support for other displays. If you are interested in adding support for a specific display, please contact us.

Bafang UART display

dispmode = 1

Bafang UART display

800U UART display

dispmode = 3

800U UART display

KT-LCD3 UART display

dispmode = 4

KT-LCD3 UART display

WS LED

WS LED can be used for simple indication of the system state. Supported are all the types of WS281x LEDs.

Using the ledopts you can change the color order of the LED, turn off the LED while driving, and reduce the brightness while riding.

Wiring

Connect the LED data input to the UARTCOM TX pin. Connect the LED GND to the IOGND (UARTCOM GND) pin.

You can use UARTCOM +5V as a power supply for the LED, If the LED is drawing more than the controller can supply, use an external power supply or reduce the brightness of the LED using the ledbright parameter.

For controller pinout check the corresponding controller datasheet.

warning

The LED can draw a significant amount of current. Using a multimeter check if the LED is not drawing more than the controller can supply. Fox maximum current ratings check the corresponding controller datasheet.

LED presets

The parameter dispmode defines what the LED will signalize. Currently supported presets are listed below.

tip

Custom presets can be added. If you are interested in adding a custom preset, please contact us.

Preset 1

dispmode = 32

This preset uses one LED. The LED will signalize the current map. If the LYNX is disarmed, the led will be pulsating. If the LYNX is armed, the LED will be solid.

MapLED color
1Green
2Blue
3Red
OtherWhite

Preset 2

dispmode = 40

This preset uses one LED. The LED will show this (with priority from top to bottom):

  • If the controller or motor is in overtemperature, the LED will be purple.
  • If map is changed, map color is shown for 10s.
  • As the last thing it will show the SOC. The SOC is show by color. From green (100%) to red (0%).
  • Under 30% od SOC the LED will be blinking red.
MapLED color
0White blinking
1Green
2Blue
3Red
OtherWhite

Preset 3

dispmode = 50 up to 59.

This preset uses multiple LEDs. First LED always signalize the current map. The other LEDs will show the SOC. The SOC is show by color. From green (100%) to red (0%) and also as bar graph.

dispmodeDescription
501 LED showing maps
511 LED showing maps + 1 LED for SOC
......
591 LED showing maps + 9 LEDs for SOC

The first LED signals the same thing as in Preset 1.

Preset 5

dispmode = 70

It is similar to Preset 1 but the LED will show the maps only if the maps are changed and after 15s the LEDs are turned off.