Drop file to upload

LIN RGB Tool

experimental Meant specifically for diagnostics and reprogramming of LEDs with a Melexis 81108 controller, and possibly other LEDs with a LIN controller on board. It reads the color commands on the LIN bus and changes the color group, or the individual LIN address with its frame assignments. Connect over a raw UART-to-LIN transceiver using Web Serial (Chrome or Edge). Meant for bench work on an isolated spare LED, not for a populated vehicle bus.

Required hardware

This tool needs a UART-to-LIN interface. Any one of these works:

Isolate the target LED first. Disconnect the BCM LIN master from this LED segment, keep LED power and ground, and use a raw UART-to-LIN transceiver at 19200 baud. Live transmission is off by default: every action only previews the frames until you enable it. The source-derived sequences have not yet been verified on a real LED.
Connection
No adapter selected. Browser will ask for a serial port.

Read the colors the vehicle sends to the LEDs
  1. Select the adapter in Connection above.
  2. Keep the BCM connected and awake. Choose a capture time, then click Read colors from LIN.
  3. Change the vehicle ambient color or brightness during the capture.

Receive-only: this never sends LIN headers, BREAKs or diagnostic requests. It decodes ID 15 / PID 55 with Enhanced or Classic checksum; corrupt candidates are ignored and counted. Displayed colors are commanded values, not measured light output.

Ready. No colors received yet.
Target typeAddress / maskRGBIntensityNormalizeRamp (s)SpecialChecksumLast received
Color group

Reads or writes the lighting group. The initial NAD is preserved. Power-cycle after writing, then read again.


Manual diagnostic controls

Enter leaves the session open; use Exit when finished. Group and address operations open and close diagnostics automatically.

Individual address (optional)

Changes the stored and active NAD and assigns the RGB command (ID 15) and status frames. The lighting group is preserved. Connect only the target LED.

  1. Enter the current NAD and read the group first. Record both.
  2. Enter the new address (hex 01..14, decimal 1..20).
  3. Enable address writes and confirm only the target LED is connected.
  4. Power-cycle and read back at the new address.

Product identity must be supplier 0050, function 4000 or the change stops before any write. Failures can leave the stored NAD changed; no automatic rollback. Check both addresses before retrying.

Preview mode. Actions list the frames only; enable Live transmission to send them.
Log