欢迎来到天天文库
浏览记录
ID:325960
大小:656.00 KB
页数:57页
时间:2017-07-23
《基于单片机的温度控制系统 毕业设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要随着社会的发展,自动控制越来越受到人们的关注,温度的控制系统也成为人们备受关注的焦点之一。单片机的广泛应用已经成为高新科学技术的重要内容和标志之一,它在国民经济中的各个领域正在发挥着引人注目的作用。本文利用单片机技术和传感器技术设计了一种实时温度监控系统。本次设计的温度控制器的主控器是ATMEL公司生产的AT89S51。传感器是使用较为广泛的数字温度传感器DS18B20,它具有独特的单线接口方式,与微处理器连接时仅需要一条线即可实现微处理器与DS18B20的双向通信,通过键盘设置温度上下限,用LED数码管显示实时温度,另外使用蜂鸣器进行超温时的警报。本文对系统的
2、总体设计方案与论证、硬件系统的设计、软件系统的设计等模块做出了详尽的说明。关键词:AT89S51;DS18B20;温度控制系统;Proteus;Keil53AbstractWiththedevelopmentofsociety,theautomaticcontrolisbeingpaidmoreandmoreattention,thetemperaturecontrolsystemhasalsobecomeafocusofconcern.TheMCUapplicationofnewandhighscienceandtechnologyhasbecometheimpo
3、rtantcontentandoneofmarks,whichinallareasofthenationaleconomyisplayingtheroleofattractpeople'sattention.Inthispaper,theMCUtechnologyandthesensortechnologyisusedtodesignareal-timetemperaturemonitoringsystemThetemperaturecontrollerofthemasterofthisdesignistheAT89S51,whichisproducedbytheA
4、TMEL.ThesensoriswidelyusedinthedigitaltemperaturesensorDS18B20,whichhasauniquesingleinterfaceisconnectedwiththemicroprocessor,onlyneedsonelinecanrealizemicroprocessorwithDS18B20bidirectionalcommunication,throughthekeyboardtosetthetemperatureofupperandlowerlimits,withLEDdigitaltubedispl
5、aythereal-timetemperature.InadditiontousingthebuzzerforsuperhightemperaturealarmThesystem’soveralldesignanddemonstrationofhardwaresystemsdesign,softwaresystemdesignmoduletomakeadetailedexplanation.Keywords:AT89S51;DS18B20;temperaturecontrolsystem;Proteus;Keil53目录1绪论11.1课题研究的背景及意义11.2国内
6、外的发展状况21.3课题内容安排32仿真软件的介绍42.1Proteus软件42.1.1proteus软件简介42.1.2ProteusISIS工作环境52.1.3Proteus的基本操作62.1.4Proteus简单应用62.2Keil软件72.2.1Keil软件简介72.2.2KeiluVision4工作环境82.2.3Keil工程的创建83系统总体方案的设计103.1系统方案的设计103.2系统方案的论证103.2.1单片机的选型103.2.2传感器的选型123.2.3键盘的选型144系统硬件模块的设计164.1单片机AT89S51电路的设计164.1.1单片
7、机系统的组成164.1.2单片机的引脚功能164.1.3时钟电路194.1.4复位电路194.1.5单片机的最小系统214.2温度采集电路214.2.1DS18B20的结构框图214.2.2DS18B20引脚定义244.2.3DS18B20的控制方法244.2.4DS18B20测温原理264.2.5DS18B20与单片机的接口电路284.3数码管的显示电路284.3.1LED的结构284.3.2LED的工作原理29534.3.3LED数码管显示接口电路294.4键盘输入电路304.4.1消抖动措施304.4.2按键状态识别314.4.3独立式键盘的接口电路314
此文档下载收益归作者所有