基于单片机的温度控制系统设计摘要:这次综合设计,主要是设计一个温度控制系统,用 STC89C52 单片机控制,用智能温度传感器 DS18B20 对温度进行采集,用 LCD1602 液晶显示屏将采集到的温度显示出来。系统可以有效的将温度控制在设定的范围内。假如实际温度超出了控制范围,则系统会有自动的提示信号,并且相应的继电器会动作。我们的实际生活离不开对温度的控制,在很多情况下我们都要对我们所处的环境进行温度检测,然后通过一定的措施进行调节,从而达到我们自己想要的温度,使我们的生活环境更加适宜。关键字:单片机;液晶显示屏;温度传感器;继电器;提示信号Abstract:This integrated design is the design of a temperature control system. A smart temperature sensor DS18B20 is used to collect temperature and a LCD1602 Liquid Screen is used to display the collected temperature. The system controlled by STC89C52 can effectively control the temperature within the setting limits. If the actual temperature exceeds the setting range, the system will automatically give signal, and the corresponding Relay will take related actions. It is necessary for us to control the temperature because in many situations the temperature around us is not proper for us.So we need to detect it and take some actions to adjust it to the temperature we want to make the environment around us better.Key Words:DS18B20;LCD1602;STC89C52;Relay;Signal引言目前,测控系统在工业生产中起着把关者和指导者的作用,它从生产现场到各种参数的猎取,运用科学规律和系统工程的做法,综合有效地利用各种先进技术,通过自动手段和装备,使每个生产环节得到优化,进而保证生产法律规范化,提高产品质量,降低成本,满足需要,保证安全生产。传统的测控系统主要由“测控电路”组成,所具备的功能较少,也比较弱。随着计算机技术的迅速进展,使得传统的系统发生了根本性的变化,即采纳微型计算机作为测控系统的主题和核心,代替传统测控系统的常规电子线路,从而成为新一代的微机化测控系统。目前,单片机在工业控制系统诸多领域得到了极为广泛的应用。特别是其中的C51 系列的单片机的出...