基于单片机的巡回温度检测系统设计论文.docVIP

  • 3
  • 0
  • 约2.81万字
  • 约 47页
  • 2018-02-28 发布于贵州
  • 举报

基于单片机的巡回温度检测系统设计论文.doc

基于单片机的巡回温度检测系统设计论文

摘 要 本设计系统地介绍了基于单片机和DS18B20的巡回温度测量系统的论证、设计、电路原理、程序设计以及系统仿真过程。基于单片机和DS18B20的巡回温度测量系统是以AT89C52单片机为控制核心、智能温度传感器DS18B20为温度测量元件、LCD1602 为显示模块,结合C语言实现多路检测功能。该系统具有智能、高精度、实用性强和多点温度测量等诸多优点,广泛应用于仓库测温、空调控制和煤矿火灾等领域,具有非常重要的实际价值。 关键字:单片机, DS18B20, 多点, 巡回, 温度检测 ABSTRACT This design introduces on the SCM and DS18B20 roving temperature measurement system demonstration, design, circuit theory, program design and system simulation in detail. SCM and DS18B20 roving temperature measurement system is based on AT89C52 microcontroller as the control core, intelligent temperature sensor DS18B20 for the temperature measurement device, LCD1602 for the display module, combined with C language multi-detection. The system has intelligence, precision, practical and multi-point temperature measurements, and many other advantages. It is widely used in storage temperature, air-conditioning control, and mine fields of fire, has a very important practical value. Keywords:SCM, DS18B20, multi-point, circuit, temperature measurement 目 录 1 方案论证 1 1.1 基于模拟温度传感器的方案 1 1.2 基于数字温度传感器的方案 2 1.3 方案选择 3 2 系统工作原理 4 3 电路设计 5 3.1 DS18B20与单片机接口设计 5 3.1.1 DS18B20简介 5 3.1.2 DS18B20的引脚功能 5 3.1.3 DS18B20的内部结构 6 A_#n CzUuE IX6|3706电子爱好者社区+|kP+|%@D1| 9 3.1.5单片机对DS18B20的控制 9 3.2 复位电路设计 12 3.3 时钟电路设计 13 3.4 键盘电路设计 13 3.5 声光报警电路设计 14 3.6显示电路设计 14 3.6.1 引脚指令 14 3.6.2 控制指令 15 3.6.3 LCD与单片机接口 17 3.7 串口通讯电路设计 17 4 程序设计 19 4.1 DS18B20程序流程设计 19 4.2 LCD显示程序流程设计 22 5 系统仿真 23 5.1 Proteus仿真简介 23 5.2 原理图绘制 23 5.3 仿真原理图 24 5.4 系统仿真 25 总结 29 参考文献 30 附录 31 1 方案论证 1.1 基于模拟温度传感器的方案 该方案由单片机、模拟温度传感器AD590、运算放大器、AD转换器、4×4键盘、LCD显示电路、集成功率放大器、报警器组成,如图1-1所示。 本方案采用模拟温度传感器AD590作为测温元件,传感器将测量的温度变换转换成电流的变化,再通过电路转换成电压的变化,使用运算放大器交将信号进行适当的放大,最后通过模数转换器将模拟信号转换成数字信号,传给给单片机,单片机将温度值进行处理之后用LCD显示 ,当温度值超过设置值时,系统开始报警。 图1-1 基于模拟温度传感器的测量系统方案 本方案使用的测温元件的性能指标如下: (1)AD590的测温范围为55℃~+150。AD590的电源电压范围为4V~30V电源电压可在4V~6V范围变化,电流?变化1mA,相当于温度变化1K。AD590可以承受44V正向电压和20V反向电压,因而器件反接也不会被损坏。输出电阻为710MW。? 精度高AD590共有I、J、K、L、M五档,其中M档精度最高,在55℃~+150范围内,非线性误差为

文档评论(0)

1亿VIP精品文档

相关文档