首页 | 官方网站   微博 | 高级检索  
     

基于C8051F020单片机的RS485串行通信设计
引用本文:江贤志刘华章张教育,等.基于C8051F020单片机的RS485串行通信设计[J].电子测量技术,2014(3):121-124.
作者姓名:江贤志刘华章张教育  
作者单位:[1]中国人民解放军91515部队三亚,572016 [2]海军航空工程学院七系烟台,264001
摘    要:介绍了一种基于C8051F020单片机的RS485串行通信设计方法。利用MAX485芯片实现C8051F020单片机的串口输出电平与RS485的EIA电平之间的转换,通过工业控制计算机安装的RS485通信卡对RS485信号进行收发,并利用Silicon Labs IDE集成开发环境对单片机进行编程与在系统调试,实现计算机与单片机之间的多点串行通信。该设计方法已经应用到某型电子设备中,用于完成多个单片机与多个上位机之间的RS485串行通信,结果表明该套设备的RS485串行通信速率高、距离远,抗干扰能力强,满足设计要求。

关 键 词:单片机  串行通信  RS

Design of RS485 serial communication based on MCU C8051F020
Jiang Xianzhi,Liu Huazhang,Zhang Jiaoyu,Rao Jiyun,Sun Lei.Design of RS485 serial communication based on MCU C8051F020[J].Electronic Measurement Technology,2014(3):121-124.
Authors:Jiang Xianzhi  Liu Huazhang  Zhang Jiaoyu  Rao Jiyun  Sun Lei
Affiliation:(No.91515 Unit of PLA,Sanya 572016,China;No.7 Department,Naval Aeronautical & Astronautical University,Yantai 264001 ,China)
Abstract:This paper expatiates on the design method of RS485 serial communication based on MCU C8051F020.The MAX485 chip is used to complete the conversion between the output level of MCU C8051F020 and EIA level of RS485.The IPC receives or transmits the RS485 signals by RS485 communication card.The single chip microcomputer is programmed and debugged in system by Silicon Labs IDE,and the Multi-point serial communication between PC and MCU is achieved finally.This design method has been applied to a certain type of electronic device,for the RS485 serialcommunication between multiple MCU and multiple PC,the result shows that the RS485 serial communication of the device has high speed,distance,and strong anti-jamming capability,so the design meets the requirements.
Keywords:single chip microcomputer  serial communication  RS485
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号