资源预览内容
第1页 / 共47页
第2页 / 共47页
第3页 / 共47页
第4页 / 共47页
第5页 / 共47页
第6页 / 共47页
第7页 / 共47页
第8页 / 共47页
第9页 / 共47页
第10页 / 共47页
亲,该文档总共47页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
上海电力学院上海电力学院本科毕业设计(论文)本科毕业设计(论文)题 目: 基于单片机的温度测量系统 院 系: 自动化工程学院 指导教师: 马进明 基于单片机的温度测量系统【摘 要】温度测量在实际生产和人们生活中都有广泛应用,为此我设计了一个温度测量系统。本系统利用 AT89S52 单片机作为主控制器件,DS18B20 作为测温传感器通过 LED 数码管串口实现温度显示,通过按键电路设置上下限报警温度。并且在到达报警温度后,系统会自动报警。本文设计是从测温电路、主控电路、报警电路等几个方面来分析说明的该系统利用 DS18B20 测温范围广、测温分辨率高、外围电路简单、功耗低等特点,与 AT89S52 构成比较简单的测温电路。该系统设计灵活、抗干扰性好,可以在恶劣的工作环境中进行温度测量。关键字:单片机;温度传感器;温度计;报警基于单片机的温度测量系统【Abstract】.In this design using the AT89S52 microcontroller as the main control device, DS18B20 as an LED digital temperature sensor tube to achieve temperature display. The key circuit sed the temperature to set the alarm on the lower temperature. And the temperature reaching the alarm, the system will automatically alarm. This design is from the temperature measurement circuit, main control circuit, alarm circuit, and several other aspects of the note. The system uses DS18B20 temperature measurement range, high temperature measurement resolution and peripheral circuit is simple, low power consumption, compared with AT89S52 devices constitute a simple temperature measurement circuit. The system design of flexible, anti-interference performance is good, can be in the poor working environment for temperature measurement.Keywords:AT89S52;DS18B20;thermometer;alarm基于单片机的温度测量系统目录目录1 引言.11.1 选题的背景.11.2 选题的目的及意义.12 系统设计的整体方案.32.1 设计的主要内容.32.2 设计性能要求.33 器件的选择.43.1 单片机的选择.43.1.1 AT89S52 的基本组成及特征.43.1.2 AT89S52 的引脚功能.53.1.3 AT89S52 的工作模式及注意事项.83.2 温度传感器的选择.93.2.1 DS18B20 的特点及选择原因.93.2.2 DS18B20 的测温原理.113.3 显示器的选择.113.4 蜂鸣器.123.5 排阻.134 电路原理.144.1 单片机电路.144.1.1 晶振电路 .14基于单片机的温度测量系统4.1.2 复位电路 .164.2 温度采集电路.164.3 温度显示电路.174.4 温度上下限设置电路.174.5 温度过限报警电路.184.6 系统总电路图电路.195 系统流程图.205.1 主程序.205.2 读出温度子程序.215.3 温度转换命令子程序.215.4 计算温度子程序.225.5 显示数据刷新子程序.226 软件仿真.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号