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

所在平台: Udemy

课程主页: https://www.udemy.com/course/linwiser/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 局部互联网络 (LIN) 总线主/从/嗅探器 **课程概述:** 本课程是 Emicros 系列教学视频的一部分,名为“构建局部互联网络 (LIN) 项目:从硬件到软件”。课程将介绍 LIN 的基本原理,包括生成主节点(Master)的 Break 信号,以及从节点(Slave)/嗅探器(Sniffer)如何响应 Break 信号。随后,课程将讲解同步字节(Sync character)和数据负载(Payload)。 课程还会深入探讨受保护的标识符(Protected ID)生成,并提供 LIN 1.x 和 2.x 规范的校验和(Checksum)的编码实现。 **硬件部分:** * **开发板:** 使用 Arduino 平台的 Teensy 4.0 和/或 Seeed Development XIAO ESP32C3 模块,作为 LIN 主节点或从节点/嗅探器发送和接收 LIN 帧。 * **LIN 接口 IC:** 使用 MCP2003 或 MCP2004。 * **硬件实现:** 提供硬件原理图,并指导学员使用面包板进行硬件搭建。将开发两种版本的硬件,分别适用于 Teensy 4.0 和 XIAO ESP32C3。**注意:** XIAO ESP32C3 模块价格约为 5 美元。 **软件部分:** * **开发环境:** 使用免费的 Arduino IDE。 * **编程语言:** 使用 C 语言编写软件。 * **软件功能:** * 首先开发 Break 信号。 * 接着实现同步字节。 * 然后实现 LIN 数据负载。 * 展示校验和的实现。 * 最终提供主节点和从节点/嗅探器的完整软件代码。 **目标学员:** 本课程适合具备基本的电子硬件和软件知识,并希望深入学习嵌入式硬件和软件技术的任何人。

课程评论(0条)

课程详情

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.

课程标签

0人关注该课程

主题相关的课程