摘要
本文基于AT89S52单片机设计了一温度数据采集系统,通过该系统实现了对温度数据的采集,实时的温度显示监测等功能。在硬件上采用单片机AT89S52作为主处理芯片,采用智能温度传感器DS18B20作为检测元件,通过温度传感器DS18B20对温度数据进行采集,温度传感器DS18B20将被采集到的温度转化成带符号的数字信号并传送给单片机,同时将信号进行编码传送给上位机,上位机接收到数据,并对数据进行监测。
In this study,a temperature data acquisition system is designed based on the single-chip AT89S52.The function of temperature data acquisition and real-time temperature display monitoring is realized by this system.In this system,the single-chip AT89S52 is chosen as the main processing chip in the hardware,and the intelligent temperature sensor DS18B20 is chosen as the detecting element.The temperature data is acquired by temperature sensor DS18B20,and the acquired temperature data is transformed into digital signal with a symbol,and then the signal is transmitted to the single-chip.At the same time,the signal is encoded and transmitted to the host computer.The host computer receives the data,and monitors the data.
关键词
温度数据采集
单片机
传感器
temperature data acquisition
single-chip
sensor