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

基于AVR单片机的检测设备通讯系统设计
引用本文:张文泉,彭建怡,张志璐,苏鹏,陈炯. 基于AVR单片机的检测设备通讯系统设计[J]. 计算技术与自动化, 2013, 0(2): 76-80
作者姓名:张文泉  彭建怡  张志璐  苏鹏  陈炯
作者单位:(1.武汉军械士官学校,湖北 武汉430075;2. 78616部队,四川 双流610214;3. 73906部队54分队,江苏 南京210000)
摘    要:为了满足某型测地仪的数据采集和故障检测所要解决的通讯问题,提高检测设备的数据传输的可靠性,采用AVR单片机作为主控制器,构建一个由单片机和被测单体组成的RS485现场总线测控系统。详细介绍基于RS485总线的检测设备通讯系统总体设计以及硬件实现,讨论主从式通信协议设计方法和数据校验算法,并给出软件设计流程图。本设计已在某型测地仪的检测上调试通过,结果表明数据传输可靠、移植性好,同时大大降低研发成本。

关 键 词:AVR单片机;RS485总线;校验算法;通信协议

Design of Detection Equipment Communication System Based on AVR Microcontroller
ZHANG Wen-quan,PENG Jian-yi,ZHANG Zhi-lu,SU Peng,CHEN Jiong. Design of Detection Equipment Communication System Based on AVR Microcontroller[J]. Computing Technology and Automation, 2013, 0(2): 76-80
Authors:ZHANG Wen-quan  PENG Jian-yi  ZHANG Zhi-lu  SU Peng  CHEN Jiong
Affiliation:(1. Wuhan Ordnance Noncommissioned Officer Academy, Wuhan430075, China; 2. Unit 78616 of PLA, Shuangliu610214, China; 3. 54 Branch of Unit 73906, Nanjing210000, China)
Abstract:To solve the communication problem of measure land instrument that data collection and fault detection to raise the reliability of the data transmission of detection equipment, this paper brings forward a method that building a measure and control system based on RS485 bus line and constituted by microcontroller and monomer under test, which takes AVR microcontroller as main controller. The detection equipment communication systematic overall design based on RS485 bus line as well as hardware to realize is introduced in detail. The design of master-slave communication protocol as well as the data algorithm of desired result is discussed. The program flow chart of software design is also given. This design is already in certain type measure land the detection of instrument on debug pass, as a result, shows that data transmission is reliable, well transplantable, at the same time, research and develop cost large reduced.
Keywords:AVR microcontroller   RS485 bus line  data algorithm  communication protocol
点击此处可从《计算技术与自动化》浏览原始摘要信息
点击此处可从《计算技术与自动化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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