毕业设计(论文)-基于AT89C52单片机的温度控制系统设计.docVIP

  • 55
  • 0
  • 约1.8万字
  • 约 37页
  • 2017-08-11 发布于安徽
  • 举报

毕业设计(论文)-基于AT89C52单片机的温度控制系统设计.doc

摘 要 随着社会的发展、娱乐设施的普及,越来越多的开始构建游泳池,供人们娱乐健身之用。而如何监测并控制游泳池的水温,则是建游泳池主要关心的技术之一。本文课题主要研究的水温控制系统就是为了达到这样的温度控制要求。本设计论述了一种以STC89C52单片机为主控制单元,以DS18B20为温度传感器的温度控制系统。该控制系统可以实时存储相关的温度数据并记录当前的时间。系统设计了相关的硬件电路和相关应用程序。硬件电路主要包括STC89C52单片机最小系统,测温电路、实时时钟电路、LCD液晶显示电路以及报警模块电路等。系统程序主要包括主程序,读出温度子程序,计算温度子程序、按键处理程序、LCD显示程序以及数据存储程序等。 Abstract With the development of society, key the popularity of entertainment facilities, more and more people begin to build a swimming pool, the use of fitness for entertainment. And how to monitor and control the temperature of the water, is swimming pool built one of the primary concern of swimming pool technology. This paper main research topics of the water temperature control system is to achieve this temperature control requirements. Circuit .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 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,buttons 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: AT89C52 DS18B20 Show circuit Buttons 目 录 摘 要 I Abstract II 目 录 III 第一章 引 言 1 1.1课题研究背景 1 1.2课题研究的目的和意义 1 1.3题目设计要求 1 1.3.1基本要求 1 1.3.1发挥部分 1 第二章 硬件电路的设计 3 2.1系统设计的框架 3 2.2单片机最小系统电路 3 2.3单片机的选型 4 2.3.1 STC89C52单片机简介 4 2.3.2 STC89C52单片机时序 5 2.3.3 STC89C52单片机时序 5 2.4温度传感器电路 7 2.5按键接口电路 12 2.6报警系统电路 13 2.7显示模块电路 13 第三章 系统软件设计 15 3.1软件系统设计框架 15 3.1.1计算温度子程序 15 3.1.2按键处理子程序 16 3.1.3计算温度子程序 16 3.1.4显示数据刷新子程序 17 第四章 总结与展望 19 总结 19 展望 19 致 谢 20 参考文献 21 附录1 电路原理图 22 附录2 温度扫描显示仿真 23 附录3 软件编程 24 第一章 引 言 1.1课题研究背景 正文部分工业控制是计算机的一个重要应用领域,计算

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档