题 目: 基于单片机的室内温度控制系统的设计(论文)摘 要本文设计中采用 AT89C51 单片机进行温控系统的开发。改温度控制系统主要用于室内温度控制,系统主要有四部分组成,分别为温度检测部分、温度控制部分、显示部分、温度设定。其中温度检测部分主要采用了温度传感器对室内温度进行采集,并将信号传输至单片机,温度传感器型号为 DS18B20;系统显示部分使用了 LED 数码管,能够将温度显示的精度控制在 0.1℃。温度设定部分主要通过设定按钮进行室内温度的设定,温度控制部分主要通过检测部分采集的温度与设定的温度之间的对比,通过两者之间的差值进行 PWM的调节来对可控硅的导通进行控制,实现室内的温度调节。在本文中温度控制的程序采用汇编语言设计,系统整体结构较为简洁,功能满足设计需求,成本较低能够在实际生活中进行使用。- II -关键词:AT89C51 单片机 温度传感器 DS18B20 恒温控制 可变脉宽(PWM)(论文)AbstractIn this paper, AT89C51 is used to develop the temperature control system. The temperature control system is mainly used for indoor temperature control. The system consists of four parts: temperature detection part, temperature control part, display part and temperature setting part. In the temperature detection part, the temperature sensor is mainly used to collect the indoor temperature and transmit the signal to the single chip microcomputer. The model of the temperature sensor is DS18B20. In the system display part, the LED digital tube is used to control the accuracy of the temperature display at 0.1 ℃. The temperature setting part mainly sets the indoor temperature through the setting button, and the temperature control part mainly controls the conduction of the thyristor through the comparison between the temperature collected by the detection part and the set temperature, and the PWM adjustment of the difference between the two to realize the indoor temperature adjustment. In this paper, the temperature control program is desi...