Project 7.16—Automotive Project—Local Interconnect Network Bus Project

The Local Interconnect Network (LIN) is a serial network protocol developed for the automotive industry. The CAN bus was too expensive to implement for every electronic component in a car and the need for a cheap serial network arose as a result of this. The LIN bus is a low-cost serial protocol that can easily be implemented with microcontrollers having UART modules. The bus consists of a master and typically up to 16 slaves. All messages are initiated by the master with an identifier. The slave with the matching identifier replies to the message. As a result of this two-way communication, there is no collision on the bus. In typical applications, the master is a microcontroller ...

Get PIC Microcontroller Projects in C, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.