摘要
介绍了以AT89S52为控制核心,利用数字化温度传感器DS18B20实现温室温度测量的一种方法。论述了系统的硬件组成、各功能部分的电路设计和系统的软件设计,给出了关键功能部分的电路图、单片机的温度测量程序和单片机与上位机的串行通信程序。
A kind of method for realizing the temperature measurement in the greenhouse by using the digital temperature sensor and taking AT89S52 as the control core was introduced. The hardware compostition of the system, the circuit design of all functional parts and the software design of the system were discussed. The circuit diagrams of key functional parts, the temperature measuring program of single-chip microcomputer and the serial communication program between single-chip microcomputer and the upper machine were given.
出处
《安徽农业科学》
CAS
北大核心
2008年第25期11140-11142,共3页
Journal of Anhui Agricultural Sciences
关键词
单片机
温度传感器
串行通信
Single-chip microcomputer
Temperature sensor
Serial communication