Skip to content

DM106 LIN Monitor

This board acts as LIN bus master, sending queries according to a built-in schedule. It also has a 240x280 display for showing the last packets on the bus for each of the 64 LIN IDs.

Prototype

This is an STM32G431 with 240x240 LCD board, running in simulation mode:

Usage

The colours indicate how long ago the last packet for each ID was received:

  • RED: received within the last second (ID 62)
  • YELLOW: received in last 3 sec (IDs 0 and 10)
  • GREEN: received in last 6 sec (IDs 1, 3, 13, 27, and 60)
  • BLUE: received in last 10 sec
  • GREY: packet is older than 10 sec (IDs 4, 12, 15, 30, 31, 40, and 52)

IDs for which no packet has ever been received are shown as their ID in grey.

When the same packet is received again, it starts off in GREEN iso RED.

Connections

Left I/O Right Bus
IO-1 N/C BUS-A LIN
IO-2 N/C BUS-B N/C
IO-3 N/C BUS-C N/C
IO-4 N/C BUS-D N/C
Tip Ring Sleeve
+5V LIN GND
GND +3.3V +5V GND
N/C IN N/C

Board

This module was manually constructed using a 7x3 cm proto board.

Components

Schematics

  • WeAct STM32C011F6: see GitHub

Software

See https://codeberg.org/jcw/dobb/src/branch/main/mods/dm10x/linmon.cpp.