基于51单片机智能温度计的设计

  • 格式:doc
  • 大小:550.00 KB
  • 文档页数:36

##大学本科毕业生学士学位论文 1 目 录 目 录 ...................................................................................................................................................... 1 摘要 .................................................................................................................................................................. 2 Abstract ........................................................................................................................................................... 3 引言 .................................................................................................................................................................. 4 数字式温度计的发展历程 .............................................................................................................. 4 课题研究的目的和意义 .................................................................................................................. 4 第1章 系统设计 ........................................................................................................................................ 6 第2章 硬件电路的设计 .............................................................................................................................. 7 2.1主控制器的选择及原理图 ................................................................................................................ 7 2.1.1 AT89S51的引脚图: .......................................................................................................... 7 2.1.2上电/手动复位电路: .......................................................................................................... 11 2.2 测温电路的设计 ............................................................................................................................. 12 2.2.1AD590温度传感器的原理及应用 ...................................................................................... 12 2.2.2基准电压TL431 ................................................................................................................... 13 2.3 AD转换器的选择与工作原理 .................................................................................................... 14 2.3.1 AD转换器的选择 ............................................................................................................. 14 2.3.2 TLC549的工作原理 ............................................................................................................. 15 2.4显示电路的设计 .............................................................................................................................. 16 2.5按钮和报警电路的设计 .................................................................................................................. 18 2.6直流电源的设计 .............................................................................................................................. 19 第3章 程序设计 .......................................................................................................................................... 20 参考文献 ........................................................................................................................................................ 24 附录:1总电路图 ......................................................................................................................................... 25 附录2:C语言源程序 ................................................................................................................................. 26 ##大学本科毕业生学士学位论文 2 摘要 温度是工业生产和自动控制中最常见的工艺参数之一。过去温度检测系统设计中,大多采用模拟技术进行设计,这样就不可避免地遇到诸如传感器外围电路复杂及抗干扰能力差等问题;而其中任何一环节处理不当,就会造成整个系统性能的下降。随着半导体技术的高速发展,特别是大规模集成电路设计技术的发展, 数字化、微型化、集成化成为了传感器发展的主要方向。本文介绍了单片机AT89S51的特性、内部结构及工作原理,给出了数模转换器TCL549与单片机AT89S1接口的应用实例,以及由两者组成温度检测系统的方法,并给出了TCL549进行各种操作的软件流程图及操作程序。 关键词:温度检测 ;AD590;AD转换器TCL549;单片机AT89S51 ##大学本科毕业生学士学位论文

3 Abstract Temperature is the most common one of process parameters in automatic control and industrial production. In the traditional temperature measurement system design, often using simulation technology to design, and this will inevitably encounter error compensation, such as lead,complex outside circuit,poor anti-jamming and other issues, and part of a deal with them Improperly, could cause the entire system of the decline. With modern science and technology of semiconductor development, especially large-scale integrated circuit design technologies, digital, miniaturization, integration sensors are becoming an important direction of development. This paper presents the basic concept of detection, a single digital temperature sensor TCL549the characteristics and working principle is given TCL549 with 89 S51 MCU interface application examples, and the composition of TCL549 temperature detection system, and gives the various operations of the TCL549 Software flow chart and operation programs. Keywords: Temperature Detection;AD590;TCL549;AT89C2051;C language