Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.1 KB

File metadata and controls

24 lines (12 loc) · 1.1 KB

Teensy-based LIN-bus Master & Slave

This repository shows a simple Teensy-based LIN-bus Master & Slave setup.

For the Master I used this library.

The Slave code is a very basic hardware serial port handler. When it receives a specific message from the Master, it responds with a defined message & checksum.

For calculating the checksum needed by the Slave, I used this tool.

image

The test setup:

image

The LIN message frame as seen on the RX pin of the Master:

image

The serial monitor of the Arduino IDE shows:

image