1、毕业论文设计 第 1 页 共 48 页 基于单片机温度控制系统的设计 中文 摘要 随着微机测量和控制技术的迅速发展与广泛应用,以单片机为核心的温度采集与控制系统的研发与应用在很大程度上提高了生产生活中对温度的控制水平。 本设计论述了一种以 STC89C52 单片机为主控制单元 ,以 DS18B20 为温度传感器的温度控制系统。 该控制系统可以实时存储相关的温度数据并记录当前的时间。 系统设计了相关的硬件 电路和相关应用程序。硬 件电路主要包括 STC89C52 单片机最小系统,测温电路 、实时时钟电路 、 LCD 液晶 显示电路 以及通讯模块电路 等 。 系统程序主要包括主程序,读出 温度子程
2、序 ,计算温度子程序、按键处理程序 、 LCD 显示程序 以及数据存储程序 等。 关键词 STC89C52 单片机 ; DS18B20; 显示电路 毕业论文设计 第 2 页 共 48 页 Based on single chip microcomputer temperature control system design Abstract Along with the computer measurement and control technology of the rapid development and wide application, based on singlechip te
3、mperature gathering and control system development and application greatly improve the production of temperature in life level of control. This design STC89C52 describes a kind of mainly by MCU control unit, for temperature sensor DS18B20 temperature control system. The control system can real-time
4、storage temperature data and record related to the current time. System design related hardware circuit and related applications. STC89C52 microcontroller hardware circuit include temperature detection circuit smallest system, and real-time clock circuit, LCD display circuit, communication module circuit, etc. System programming mainly include main program, read temperature subroutine, the calculation of temperature subroutines, key processing procedures, LCD display procedures and data storage procedures, etc. Keywords STC89C52 microcontroller; DS18B20; display circuit