This paper introduces the design and implementation of the CANbus and RS485 conversion unit based on the 8-bit AVR microcontroller ATMEGA128. The design principle of the hardware circuit of the conversion unit with ATMEGA128 as the core, the implementation of the functions of each software module, and the implementation process of CANbus initialization and data transmission and reception are described in detail. The RS485 standard was formulated and issued by the Electronic Industry Association (EIA) in 1983. RS485 only specifies the electrical characteristics of the balanced driver and receiver, but does not specify the connector transmission cable and application layer communication protocol. It has been widely used in industrial control systems. The CAN bus is a serial data communication protocol developed by the German Bosch company in the early 1980s to solve the data exchange between numerous control and test instruments in modern automobiles. It has been gradually applied to other fields. It is a serial data communication protocol that meets international standards and is a development direction for the realization of networked field measurement and control technology.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore