提供全套毕业论文图纸,欢迎咨询摘要随着中国社会经济的进展,人们生活水平的提高,人们对生活环境的舒适度也越来越重视,比如室内的温度情况。所以基于以单片机为核心的温度采集和控制的系统出现满足了人们的这一要求,本论文以 STC89C52RC 单片机为主控器件,以数字温度传感器 DS18B20 进行当前温度值的采集,并将当前温度值通过 LCD12864 来显示出来;当温度高于或低于期望值时,通过 L298N 来控制电机对温度进行实时调控,使温度达到期望值。本系统的硬件设计包括单片机最小系统,温度检测电路,LCD 显示电路,按键控制电路和电机控制电路。软件设计包括主程序,温度检测子程序,按键检测子程序,LCD 液晶显示子程序,电机控制子程序等。关键词:单片机;DS18B20;LCD 液晶显示;电机控制The Design of Control System Base on Microcontroller at Room TemperatureAbstractWith the development of China's social economy, people living standard rise, people also pay more and more attention to the living environment of the comfort, such as indoor and outdoor temperature conditions. So based on single chip microcomputer as the core temperature gathering and control system to meet the people of the requirements, this thesis with STC89C52RC MCU as the master device, with digital temperature sensor DS18B20 the temperature value of the collection, and the current temperature value displayed by LCD12864; When the temperature higher or lower than expected, to control the motor by L298N to real-time control of temperature, the temperature reached expectations. The hardware design of this system include the single chip microcomputer minimum system, temperature detection circuit, LCD display circuit, key control circuit and the motor control circuit. Software design includes the main program, temperature detection subroutine, button detection subroutine, LCD liquid crystal display subroutine, motor control subroutine. Key Words : microcontroller ; DS18B20 ;...