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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.