基于AVR单片机的检测设备通讯系统设计 |
点此下载全文 |
引用本文:张文泉,彭建怡,张志璐,苏鹏,陈炯.基于AVR单片机的检测设备通讯系统设计[J].计算技术与自动化,2013,(2):76-80 |
摘要点击次数: 1586 |
全文下载次数: 98 |
|
|
中文摘要:为了满足某型测地仪的数据采集和故障检测所要解决的通讯问题,提高检测设备的数据传输的可靠性,采用AVR单片机作为主控制器,构建一个由单片机和被测单体组成的RS485现场总线测控系统。详细介绍基于RS485总线的检测设备通讯系统总体设计以及硬件实现,讨论主从式通信协议设计方法和数据校验算法,并给出软件设计流程图。本设计已在某型测地仪的检测上调试通过,结果表明数据传输可靠、移植性好,同时大大降低研发成本。 |
中文关键词:AVR单片机 RS485总线 校验算法 通信协议 |
|
Design of Detection Equipment Communication System Based on AVR Microcontroller |
|
|
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 |
查看全文 查看/发表评论 下载pdf阅读器 |
|
|
|