欢迎来到天天文库
浏览记录
ID:46976081
大小:1.39 MB
页数:20页
时间:2019-12-02
《基于51单片机的温度报警系统》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、温度报警系统设计论文学院:电子工程学院班级:姓名:指导老师:时间:2010年11月4日20摘要温度的检测与控制是工业生产中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的测试与控制得到更快的开发。本文设计了一种基于AT89C51的温度检测及报警系统,该系统将温度传感器DS18B20接在控制器的端口上,定时对温度进行采集,将采集到的温度值与设定值进行比较,当超出设定的温度上限时,通过蜂鸣器报警提示。同时,电路中接有AT24C02,可以记录上次设定的温度上限,方便查询,文中
2、给出了温度传感器的使用方法,并给出了系统实现的硬件原理图与软件流程图。经实验测试表明,该系统设计和布线简单,结构紧凑,抗干扰能力强,性价比高,扩展方便等优点,具有关阔的应用前景。关键词:温度传感器DS18B20AT89C51单线通信1602显示器12864液晶屏AT24C02芯片AbstractTemperaturemeasurementandcontrolisindustrialproductionincomparisonwithtypicalapplications,oneofthesensorsintheproduct
3、ionandlifemorewidely,usinganewkindofsinglebustypedigitaltemperaturesensorrealizestotemperatureoftestandcontrolgetfasterdevelopment.ThispaperintroducesadesignbasedonAT89C51temperaturedetectionandalarmsystem,thesystemwilltemperaturesensorDS18B20connectupthecontroller
4、toportontemperature,timingacquisition,willthecollectedwithsettingtemperaturecomparesettemperature,whenbeyondthelimit,throughthebuzzeralarmprompt.Thispapergivesthetemperaturesensorusingmethod,andgivesthesystemrealizationofhardwareandsoftwareflowchartprinciplechart.T
5、hetestresultsshowthatthesystemdesignandwiringsimple,compactstructure,stronganti-jammingcapability,cost-effective,convenient,hasexpandedGuanKuoapplicationprospect.Keywords:temperaturesensorDS18B20AT89C51singlelinecommunication160212864LCDdisplayAT24C0220目录前言········
6、··········································································································41.、方案论证································································································51.1设计要求···············································
7、··········································51.2设计方案论证·················································································51.3总体设计框图·················································································52、系统组成及工作原理2.1DS18B20温度传感器与单片机接口电路······
8、························62.21602显示与原理···········································································102.3AT24C02芯片原理及功能··············
此文档下载收益归作者所有