基于51单片机的温度测量控制系统设计摘要随着科技的不断进步,在工业生产中温度是常用的被控参数,而采用单片机来对这些被控参数进行控制已成为当今的主流
温度传感器DS18B20具有性能稳定、灵敏度高抗干扰能力强、使用方便等优点,广泛应用于冰箱、空调器、粮仓等日常生活中温度的测量和控制
本文采用51单片机来实现对温度的测量和控制
它的主要组成部分有:AT89S52单片机最小系统,DS18B20测温电路,按键电路、LCD1602显示电路,蜂鸣器报警电路
它可以实时地检测和显示温度,可以设定温度范围,实现对温度的报警和自动控制
关键词:温度;51单片机;DS18B20;测量和控制
-i-ABSTRACTTemperaturesensorDS18B20hasalotofadvantages,suchasstableperformance,highsensitivity,stronganti-interferencecapability,convenienceofuse,etc
Anditwaswidelyusedforthemeasurementandcontroloftemperatureinrefrigerators,airconditioners,barnandotherdailylifeinthemeasurementandcontroloftemperature
Inthisarticle,Weusedasinglechipforrealizingtemperaturemeasurementandalarm
ItwasmainlycomponentofAT89S52chip,DS18B20,keyboardanddisplaycircuit,temperaturealarmandcontrolcircuit
Itrealizenotonlyreal-timedetection