Local Interconnect Network (LIN) Bus Master/Slave/Sniffer

Building both a LIN Master and Slave/Sniffer using the Arduino based Teensy 4.0 and XIAO ESP32C3.

Ratings 3.98 / 5.00
Local Interconnect Network (LIN) Bus Master/Slave/Sniffer

What You Will Learn!

  • Learn the basic LIN (Local Interconnect Network) basics from an implementation point of view.
  • Exposure to the Arduino Integrated Development Enviroment (IDE)
  • Program both the Arduino based Teensy 4.0 and XIAO ESP32C3 modules for act as a LIN Master and Slave/Sniffer
  • Learn to build LIN prototyping hardware using breadboard.

Description

The Emicros Instructional Series on “Building A Local Interconnect Network (LIN) Project From Hardware to Software” exposes the student to basic LIN principles generating a break signal for the Master to responding to the break signal by the Slave/Sniffer. The sync character is next followed by the payload. The protected ID generation is discussed and coded as well as the checksum for both LIN 1.x and 2.x specification. The hardware for sending and receiving LIN frames as a LIN Master or Slave/Sniffer using the Arduino based Teensy 4.0 and/or Seeed Development XIAO ESP32C3 modules. Software is written in C and compiled using the FREE Arduino IDE.

In the hardware section the schematic used for building the hardware is shown and then the hardware is built using a breadboard. Two versions for both the Teensy 4.0 and the XIAO ESP32C are developed. The LIN interface IC is the MCP2003 or MCP2004. Note the XIAO ESP32C3 can be purchased for around $5.

The software starts with setting up the FREE Arduino IDE writing the software in C. The break signal is developed first then the sync byte and the LIN payload. The checksum is shown and then both Master and Slave/Sniffer software is produced.

This course is for anyone with basic electronic hardware and software knowledge and having the motivation to learn more embedded hardware and software techniques.

Who Should Attend!

  • This course is for embedded software engineers, electrical engineers, and students exploring a career in the embedded software area.

TAKE THIS COURSE

Tags

  • Embedded Systems

Subscribers

30

Lectures

16

TAKE THIS COURSE



Related Courses