Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.66 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.66 KB

LIN Master Node Emulation

This library is no longer actively maintained. It is replaced by LIN_master_portable_Arduino, which adds more boards and support for SoftwareSerial.

This library implements a Local Interconnect Master node emulation. For an explanation of the LIN bus and protocol e.g. see https://en.wikipedia.org/wiki/Local_Interconnect_Network.

Supported functionality:

For AVR and SAM architectures this library depends on the Task Scheduler library for background operation, which is available via the Arduino IDE library manager or directly from https://github.com/kcl93/Tasks. ESP32 and ESP8266 use the built-in Ticker library.

Supported Boards (with additional LIN hardware):

  • all boards using the Atmel ATMega328 controller, e.g. Arduino Uno and Nano
  • all boards using the Atmel ATMega2560 controller, e.g. Arduino Mega
  • all boards using the Atmel SAM3X8E controller, e.g. Arduino Due
  • ESP32 and ESP8266 boards

Notes:

  • No device specific tricks are used, so all boards supported by the Task Scheduler (AVR, SAM) or Ticker (ESP32, ESP8266) libraries should work
  • The sender state machine relies on reading back its 1-wire echo. If no LIN or K-Line transceiver is used, connect Rx&Tx (only 1 device!)

Have fun!, Georg