(本科毕业论文)-基于单片机温度控制系统.docVIP

(本科毕业论文)-基于单片机温度控制系统.doc

  1. 1、本文档共37页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
提供全套毕业论文图纸,欢迎咨询 摘要 随着中国社会经济的发展,人们生活水平的提高,人们对生活环境的舒适度也越来越重视,比如室内的温度情况。所以基于以单片机为核心的温度采集和控制的系统出现满足了人们的这一要求,本论文以STC89C52RC单片机为主控器件,以数字温度传感器DS18B20进行当前温度值的采集,并将当前温度值通过LCD12864来显示出来;当温度高于或低于期望值时,通过L298N来控制电机对温度进行实时调控,使温度达到期望值。本系统的硬件设计包括单片机最小系统,温度检测电路,LCD显示电路,按键控制电路和电机控制电路。软件设计包括主程序,温度检测子程序,按键检测子程序,LCD液晶显示子程序,电机控制子程序等。 关键词:单片机;DS18B20;LCDMicrocontroller at Room Temperature Abstract With the development of Chinas 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:microcontrollerDS18B20;LCD liquid crystal display; motor control 目录 摘要 II Abstract III 引言 1 1 概述 2 1.1 设计背景和意义 2 1.2 设计思想 2 1.3 系统的总体设计 2 1.3.1 方案比较 2 1.3.2 系统框图 3 1.4 设计重点与难点 3 2 硬件电路设计 4 2.1 STC89C52RC单片机简介 4 2.2 STC89C52RC单片机管脚图 4 2.3 单片机最小系统电路图 5 2.4 LCD12864液晶简介 5 2.4.1 LCD12864的接口原理图 6 2.5 按键工作原理 6 2.5.1 按键原理图 6 2.6 L298N简介 7 2.6.1 L298N原理图 7 2.7 DS18B20温度传感器简介 8 2.7.1 DS18B20原理图 8 2.8 直流电机工作原理简介 8 2.9 系统总电路原理图 9 3 软件设计 10 3.1 软件整体设计 10 3.2 主程序流程图 10 3.3 温度采集子程序 11 3.4 液晶显示子程序 12 3.5 电机控制处理程序 13 3.6 按键处理程序 14 3.6.1 按键软件消抖 14 3.6.2 按键检测流程图 15 4

文档评论(0)

FDAC + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档