《基于51单片机的温度报警系统》.doc
文本预览下载声明
温度报警系统
设
计
论
文
学院:电子工程学院
班级:
姓名:
指导老师:
时间:2010年11月4日
摘 要
温度的检测与控制是工业生产中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的测试与控制得到更快的开发。本文设计了一种基于AT89C51的温度检测及报警系统,该系统将温度传感器DS18B20接在控制器的端口上,定时对温度进行采集,将采集到的温度值与设定值进行比较,当超出设定的温度上限时,通过蜂鸣器报警提示。同时,电路中接有AT24C02,可以记录上次设定的温度上限,方便查询,文中给出了温度传感器的使用方法,并给出了系统实现的硬件原理图与软件流程图。经实验测试表明,该系统设计和布线简单,结构紧凑,抗干扰能力强,性价比高,扩展方便等优点,具有关阔的应用前景。
关键词:温度传感器 DS18B20 AT89C51 单线通信 1602显示器 12864液晶屏
AT24C02芯片
Abstract
Temperature measurement and control is industrial production in comparison with typical applications, one of the sensors in the production and life more widely, using a new kind of single bus type digital temperature sensor realizes to temperature of test and control get faster development. This paper introduces a design based on AT89C51 temperature detection and alarm system, the system will temperature sensor DS18B20 connect up the controller to port on temperature, timing acquisition, will the collected with setting temperature compare set temperature, when beyond the limit, through the buzzer alarm prompt. This paper gives the temperature sensor using method, and gives the system realization of hardware and software flow chart principle chart. The test results show that the system design and wiring simple, compact structure, strong anti-jamming capability, cost-effective, convenient, has expanded GuanKuo application prospect.
Keywords: temperature sensor DS18B20 AT89C51 singleline communication 1602 12864 LCD display AT24C02
目录
前言··················································································································4
1.、方案论证································································································5
1.1 设计要求·························································································5
1.2 设计方案论证·················································································5
1.3 总体设计框图·················
显示全部