首页 | 本学科首页   官方微博 | 高级检索  
     检索      

利用PIC18FXX8进行CAN总线系统节点设计
引用本文:朱芳.利用PIC18FXX8进行CAN总线系统节点设计[J].电子工程师,2004,30(10):13-15.
作者姓名:朱芳
作者单位:无锡科技职业学院,江苏省,无锡市,214028
摘    要:采用带在片CAN的微控制器PIC18FXX8进行CAN总线系统智能节点的硬件电路设计和软件设计.硬件电路设计时为了增强CAN总线节点抗干扰能力,采用MICROCHIP公司的CAN总线驱动器MCP2551,并通过高速光耦6N137与MCP2551相连,很好地实现了总线上各CAN节点间的电气隔离;软件设计包括PIC18FXX8的CAN模块的初始化、查询方式发送子程序和查询方式接收子程序等应用中最基本的子程序.软件程序采用汇编语言编写,在实际应用中可采用C语言编写.

关 键 词:总线  节点
修稿时间:2004年7月8日

CAN Bus System Node Design with PIC18FXX8
Zhu Fang.CAN Bus System Node Design with PIC18FXX8[J].Electronic Engineer,2004,30(10):13-15.
Authors:Zhu Fang
Abstract:Owing to its own characteristics, CAN bus is widely used in the auto industry and now is being extended to mechanical engineering industry, NC machines, robots, household electric appliances and so on. The paper describes a design of the CAN bus system intellegent nodes with the micro-controller PIC18FXX8, including both circuit design and software design. In the circuit design, microchip CAN bus driver MCP2551 is adopted and is connected with the high-speed optical coupler 6N137 to increase the ability of anti-interference so that a good electrical isolation between nodes on the bus can be achieved. The software design involves the CAN module setup of PIC18FXX8 and some basic subprograms, such as inquiry mode sending sub-program and receiving sub-program. In order to be clear, the programs are written in assembler language while C language can be used in the practical apply.
Keywords:CAN  PIC18FXX8
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号