基于DS18B20的恒温控制器方案毕业方案.docVIP

  • 51
  • 0
  • 约1.24万字
  • 约 36页
  • 2017-11-23 发布于江苏
  • 举报

基于DS18B20的恒温控制器方案毕业方案.doc

基于DS18B20的恒温控制器方案毕业方案

基于DS18B20的恒温控制器设计 Designed of The Constant Temperature Which is based on DS18B20 摘 要 恒温控制在任何地方都有着举足轻重的地位,在工业生产中,温度的控制直接影响着工业生产;在家庭中,其直接影响着生活的品质与安慰。本设计是基于AT89C51单片机的恒温箱控制系统,系统分为硬件和软件两部分,其中硬件包括:温度传感器、显示、控制和报警的设计;软件包括:键盘管理程序设计、显示程序设计、控制程序设计和温度报警程序设计。编写程序结合硬件进行调试,能够实现设置和调节初始温度值,用LCD显示,当加热到设定值后立刻报警。另外,本系统通过软件实现对按键误差、加热过冲的调整,以提高系统的安全性、可靠性和稳定性。本设计从实际应用出发选取了体积小、精度相对高的数字式温度传感元件DS18B20作为温度采集器,单片机AT89C52作为主控芯片,LCD屏作为显示输出,实现了对温度的实时测量与恒定控制。 关键词:单片机 传感器 温度 Abstract Temperature control in any place has a pivotal role in the industrial production, the control of the temperature directly affect the industrial production; In the household, its directly influences the quality of the life and comfort .The design is based on AT89C51 single-chip microcomputer control system of the constant temperature box, the hardware and software system is divided into two parts, including hardware including: temperature sensor display and control and alarm design; The software includes: the keyboard management program design shows that the program design control program design and temperature alarm program design write a program combining hardware debugging, will be able to realize the Settings and adjusting the initial temperature, use LCD display, when heated to set data immediately after the alarm in addition, the system through the software to realize error heated flush buttons adjustment, the security of the system to improve the reliability and stability. Key words:AT89C52 temperature sensor temperature 目录 摘 要 I Abstract II 绪 论 1 1 硬件电路的设计 2 1.1 总体设计 2 1.1.1 系统实现的功能 2 1.1.2 系统实现方案的选择 2 1.1.3 系统整体结构的布局 2 1.2 单片机 3 1.2.1 单片机的应用范围 3 1.2.2 单片机的分类 4 1.2.3 单片机的端口介绍 4 1.3 DS18B20 6 1.3.1 DS18B20的应用范围 6 1.3.2 DS18B20的内部结构 6 1.3.3 DS18B20温度测量电路 6 1.3.4 DS18B20的工作原理 8 1.4 DS1302 8 1.4.1 DS1320的功能及结构 8 1.4.2 DS1302实时显示时间的软硬件 9 1.5 LM016L显示屏 9 1.5.1 LM016L结构和功能 9 1.5.2 LCD在仿真中的连接 10 2 软件电路设计 12 2.1 系统主程序的设计 12 2.2 系统子程序的设计 13 2.2.1 LCD显示程序 13 2.2.2 DS18B20的子程序 14 2.2.3 DS18B20初始化

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档