题 目: 基于单片机的室内温度控制系统的设计(论文)摘 要本设计用 AT89C51 单片机实现房间的恒温控制。该系统由温度检测模块温度显示模块、标准温度设定以及温度控制模块组成。温度检测模块是将DS18B20 温度传感器对温度进行测量所传出的数字信号利用单片机进行读取和处理;四位 LED 数码管用来显示温度显示模块,温度显示精度为 0.1℃;温度设定模块用三个按键进行房间标准温度值的输入;温度控制是根据房间的实际温度与设定的标准温度之间的差值来调节可变脉宽(PWM)的宽度,从而控制可控硅的导通或截止的时间实现系统的恒温控制。本设计的相关软件编程由汇编语言实现,与硬件电路相辅相成,很好实现了系统的功能。本温度控制系统实现简单,经济有效,能够达到良好的温度控制效果。本系统操作简单,实用性强,成本低廉,在实际生产生活中可以广泛应用。- II -关键词:AT89C51 单片机 温度传感器 DS18B20 恒温控制 可变脉宽(PWM)(论文)AbstractThis design uses AT89C51 single chip microcomputer to realize the constant temperature control of the room. The system consists of temperature detection module, temperature display module, standard temperature setting and temperature control module. The temperature detection module uses the DS18B20 temperature sensor to read and process the digital signal sent out by the temperature measurement; the temperature display module uses the four digit LED digital tube to display the temperature with the accuracy of 0.1 degree; the temperature setting module uses three buttons to input the standard room temperature value; the temperature control is based on the actual room temperature and the set standard temperature The difference between them can adjust the width of the variable pulse width (PWM), so as to control the on or off time of the thyristor to realize the constant temperature control of the system. The relevant software programming of this design is realized by assembly language, which complements the hardware circuit...