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

基于AT89C51的RS 485中继器设计
引用本文:刘建龙,杨明,聂可富.基于AT89C51的RS 485中继器设计[J].现代电子技术,2012,35(15):59-62.
作者姓名:刘建龙  杨明  聂可富
作者单位:南京航空航天大学机电学院,江苏南京,210016
摘    要:传统RS 485通信效率低下且数据易混乱丢失,以优化RS 485接口电路提高数据传递效率为目的,介绍了一种新的RS 485中继器的设计。硬件采用光电隔离、上电抑制、零延时转换电路;软件设计一方面弥补了AT89C51只有单串口的不足,另一方面充分利用单片机的引脚资源。该系统已在自动抄表系统中应用,实时性好,抗干扰性高,节约成本,工作稳定可靠。

关 键 词:RS  485  中继器  单片机  串口通信

Design of RS 485 repeater based on AT89C51
LIU Jian-long , YANG Ming , NIE Ke-fu.Design of RS 485 repeater based on AT89C51[J].Modern Electronic Technique,2012,35(15):59-62.
Authors:LIU Jian-long  YANG Ming  NIE Ke-fu
Affiliation:(College of Mechanical and Electrical Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,China)
Abstract:The traditional RS 485 makes the efficiency of communication low and causes data confusion and loss.To optimize the RS 485 interface circuit for the purpose of increasing data transmission efficiency,a novel 485 repeater was designed in this paper.In this system,the hardware includes photoelectric isolation,electric control and zero delay switching circuits.On the other hand,by means of the simulation of serial ports which is realized by the software,the system makes up the insufficient caused by single serial port of AT89C51 and makes full use of the pins of MCU.The system has been applied in automatic meter reading system,which has the characteristics of good real-time performance,high anti-interference,low cost,stability and reliability.
Keywords:RS 485  repeater  MCU  serial communication
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号