Tutorials > Local Interconnect Network (LIN) Bus Master/Slave/Sniffer
Local Interconnect Network (LIN) Bus Master/Slave/SnifferDate: 15 February 2023 | Posted by: voska89 |
![]() Published 2/2023 MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz Language: English | Size: 447.29 MB | Duration: 0h 35m Building both a LIN Master and Slave/Sniffer using the Arduino based Teensy 4.0 and XIAO ESP32C3. What you'll 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. Requirements Basic embedded hardware and software and a willingness to expand on embedded C software. 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. Overview Section 1: Introduction Lecture 1 Introduction Section 2: Building The Hardware Lecture 2 Building The Hardware Section 3: Installing the Development Enviroment Lecture 3 Installing The Development Enviroment Lecture 4 ESP32C3 Software Section 4: Building And Programming a LIN Master (Transmitter) Lecture 5 LIN Master - Introduction Lecture 6 LIN Master - Setup Lecture 7 LIN Master - Generate Break & Sync Lecture 8 LIN Master - Protected ID Lecture 9 LIN Master - loop() Lecture 10 LIN Master - Send Frame Lecture 11 LIN Master - Teensy Code Lecture 12 LIN Master - Read Frame Lecture 13 LIN Master - XIAO ESP32C3 Master Section 5: LIN Slave & Sniffer Lecture 14 LIN Slave & Sniffer - The Code Lecture 15 LIN Slave & Sniffer - XIAO ESP32C3 Version Section 6: Final Lecture 16 Where to get updates This course is for embedded software engineers, electrical engineers, and students exploring a career in the embedded software area. Homepage DOWNLOAD LINK Links are Interchangeable - No Password - Single Extraction See full article |