摘要
随着现代信息技术的高速发展,数据采集方面的技术也在不断地向前发展,并在信息技术中占有重要地位,温度、压力等参数在智能家居、工业控制、智能农业等方面都得到很高的重视,如何实时直观地采集到温度成为焦点。本温度采集系统下位机采用STC89C52单片机为主控制器,采用单线式DS18B20温度传感器采集温度,通过串口RS232将其传送到上位机(PC机),上位机使用VB编写界面和后台处理程序,将温度显示出来并存入Access数据库。最终测试结果显示上位机有实时接收数据,并将实时接收到的数据存入Access数据库里,并能够实时的把温度曲线显示到界面上。
With the high-speed development of the present information technology, the data gathering technology unceasingly forward is also developing and holding the important position in the information technology. Some parameters, such as temperature and pressure are paid much more attention in the smart home, industrial control, intelligent agrieulture. And how to gather the temperature real-time and intuitively beeomes a focus. This temperature gathering system used PC as upper machine and STC89C52 MCU as lower machine, and used the single-wire DS18B20 temperature sensor to gather temperature. The PC used VB to program, gathered data through the serial port RS232, stores data to the Access database. The test result shows that the PC can receive data real-time, store the data in the Access database instantly, and can real-time demonstrate the temperature curve on the surface.
出处
《电子设计工程》
2011年第4期17-19,23,共4页
Electronic Design Engineering
基金
武汉工程大学校长基金
武汉工程大学青年基金(Q200802)
关键词
温度采集
下位机
上位机
ACCESS
upper machine
lower machine
temperature gathering
Access