文档介绍:微计算机信息嵌入式与年第卷第期
单片机开发与应用《》( SOC)2010 26 10-2
文章编号
:1008-0570(2010)10-2-0102-03
基于的温度采集系统设计
RS485
The Design of the Temperature Acquisition System Based on RS485
安阳工学院张修太马金元翟亚芳秦长海
( )
ZHANG Xiu-tai MA Jin-yuan ZHAI Ya-fang QIN Chang-hai
摘要介绍了基于串行总线标准的温度采集系统的硬件和软件设计温度数据的采集由以单片机为核心的
: RS485 。 AT89S52
系统完成采集的数据经串行总线上传给计算机进行存储和处理系统的软件包括单片机程序和计算机程序分别应
, RS485 。,
用语言和语言编写相应的硬件和软件抗干扰措施保证了系统的稳定性和可靠性
C VB 。。
关键词: RS485; 温度采集; AT89S52; 串行通信;
中图分类号: TP273 文献标识码: A
Abstract: The hardware and software design of the temperature acquisition system based on RS485 munication criterion is
introduced. The acquisition of temperature data is finished by the system taking AT89S52 MCU as core. Collected data can be sent
up puter through RS485 serial bus, stored and processed in it. The software of this system includes MCU puter pro-
技 grams, programmed with C language and VB language. Some corresponding software and hardware anti -disturbance measures assure
this system’s stability and reliability.
术 Key words: RS485; Temperature Acquisition; AT89S52; munication;
阵图形液晶显示模块用以显示采集系统的当前状
创串行通信的特点 JCM12864M,
态采集的数据时间和日期等内容四个按键式键盘用以实现
1 RS485 、、。
典型的串行通讯标准有和通信距离时间采集参数的设置和调整
新 RS232 RS485。RS232 、。
短最大传送距离约为米速率低最高速率为共模抑
, 15 , , 20Kbps,
制能力抗干扰性能差只能实现点对点通信不能实现多机通
、, ,
信适合本地设备间的通信
,RS-232 。
与标准相比标准的主要特点有接口
RS232 ,RS485 :RS485
电