摘要
设计了一个温度测量系统。该系统采用单片机控制数字式温度传感器DS18B20,利用Visual Basic编写上位机程序,通过RS-232接口实现单片机与上位机的通信,将测量的实时数据存储在Access数据库。实验表明,该系统能实时测量、存储并显示温度。
In this paper,a temperature measurement system is design.In this system,digital temperature sensor DS18B20 is controlled by single chip microcomputer,the host computer program is written by visual basic and the communication between single chip microcomputer and host computer is RS-232.The data of temperature is saved in ACCESS database.The result show that the system could realize the collection,save and indication of temperature value in real time.
出处
《电力与电工》
2012年第2期33-37,共5页
Electric Power and Electrical Engineering
基金
福建省教育厅资助项目(JA07041)
福建省教育厅重点项目(JA10062)