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

基于AT89S52单片机的温度采集系统设计
引用本文:陈立兵,樊瑜瑾,代杰.基于AT89S52单片机的温度采集系统设计[J].机械与电子,2011(2):65-67.
作者姓名:陈立兵  樊瑜瑾  代杰
作者单位:昆明理工大学机电工程学院,云南,昆明,650093
摘    要:为了实现对某养殖场室内温度的实时监测和控制,设计了一种基于单片机的温度采集系统;系统采用AT89S52单片机进行控制,利用DS18B20温度传感器进行温度检测,并通过串口通信将采集的温度传送至PC机;采用VB6.0软件设计了上位机的实时监测界面,根据温度值绘制实时曲线,并在每一段时间结束后进行数据统计计算,根据此段时间的平均温度给出提示信息,从而对温度进行及时调节;试验结果表明,系统设计电路简单,成本低廉,能较好地显示出实际环境温度,且反应迅速,可以应用于很多温度检测领域。

关 键 词:AT89S52单片机  温度传感器  数据采集  串口通信  VB6.0

Design of Temperature Acquisition System Based on AT89S52 Single-chip
CHEN Li-bing,FAN Yu-jin,DAI Jie.Design of Temperature Acquisition System Based on AT89S52 Single-chip[J].Machinery & Electronics,2011(2):65-67.
Authors:CHEN Li-bing  FAN Yu-jin  DAI Jie
Affiliation:(Faculty of Mechanical and Electrical Engineering, Kunming University of Science and Technology, Kunming 650093,China)
Abstract:In order to controlling for the indoor real time monitoring and temperature of a farm,a temperature acquisition system based on single - chip is designed. The system use AT98S52 single - chip to control, and takes DS18B20 temperature sensor to collect temperature,and sent the temperature value to the upper PC through serial communication. The real time monitoring interface is designed by VB6. 0 software, the real time cure is drawn according to the temperature, and statistical calculation is done after every given time, and the prompt message is given based on the average temperature ,and the temperature can he adjusted timely. The experiment results show that the design is simple, and has low cost, fast response. It can show the actual ambient temperature, and can be used in many areas of temperature detection.
Keywords:VB6  0
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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