Abstract

CAN bus will be increasingly used in wide range of applications for its superiority, but it couldn’t communicate with computer directly. The article describes the design of RS232 and CAN bus protocol converter depending on PIC Microcontroller, which solves the problem that CAN networks can not directly communicate with PC. At present, single-chip microcomputer of 51 series with CAN controller SJA1000 are widely used in domestic. Considering cost and converter size, the paper will talk about PIC18F2580 with integrated CAN microcontroller designed for RS232 and CAN protocol converters to facilitate the direct communication between computers and CAN bus.

Highlights

  • Controller Area Network (CAN) bus are being used more and more widely in the areas of automotive, machinery, CNC machine tools, medical devices, smart sensors for its high-performance, high reliability and flexible design features

  • CAN bus and RS232 protocol converter is designed based on Microchip's PIC18F2580 MCU, so that computer can read data on CAN bus directly and send control commands to CAN bus through the RS232 interface

  • CAN-bus specification has been developed as international standards the "ISO11898" and "ISO11519" by ISO

Read more

Summary

Introduction

CAN bus are being used more and more widely in the areas of automotive, machinery, CNC machine tools, medical devices, smart sensors for its high-performance, high reliability and flexible design features. Data on CAN bus could not directly communicate with computer. At present there are more and more MCU with internal CAN controller integration. CAN bus and RS232 protocol converter is designed based on Microchip's PIC18F2580 MCU, so that computer can read data on CAN bus directly and send control commands to CAN bus through the RS232 interface

The introduction of CAN Bus
PIC18F2580CAN module introduction
Circuit hardware design
Software design

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.