【大学】毕业答辩 基于单片机的仓库温湿度监测系统设计PPT
- 格式:ppt
- 大小:117.00 KB
- 文档页数:7
基于单片机的温湿度监控系统摘要针对温、湿度对纸张耐折度的影响,设计了适应中小型文献资料库应用的温、湿度监控装置。
此装置不仅能实现温、湿度检测、温湿度实时调节和显示,而且能实现温、湿度参数上下限定值的设定,当温湿度超上下限的时候能够进行报警,并启动相应的装置从而改变室内温度。
该控制系统具有检测精度高、使用简单、成本较低和工作稳定可靠等特点,具有一定的推广价值。
单片机具有体积小、重量轻、耗电少、功能强、控制灵活方便且价格低廉等优点。
单片机的应用正从根本上改变着传统的控制系统设计思想和设计方法。
在现实生活中,对于一个比较大的系统,人们往往采用微机进行控制,小一些的系统较多采用51或96等系列的单片机。
本文中,我们设计了以AT89C51单片机为主要核心实现的温度、湿度控制系统,包括系统硬件和软件设计,可以进行上位机通信,并给出了详细的电路原理图。
关键词温度控制;湿度控制;串行接口; 485总线大学学士学位论文The temperature and humidity of the monitor system based on single chip microcomputerAbstractAccording to temperature, humidity on paper folding, the effects of the resistance of the design to small and medium-sized documents database application of temperature, humidity monitoring device. This device can not only realize temperature, humidity, temperature and humidity adjusting detection and display, and can realize temperature, humidity and parameters of the limit of temperature and humidity on the set, and when the time limit to be able to call the police, and start the corresponding device which changes indoor temperature.This control system has the high accuracy, simple to use, low cost and stable and reliable, and other characteristics, has certain value of popularization. SCM has small volume, light weight, less consumption, function of strong, flexible and convenient control and the price cheap, etc. The application of SCM is fundamentally changing the traditional control system design idea and design method. In real life, for a larger system, people often take the microcomputer control, the smaller system by 51 or 96 more, series microcontroller.In this paper, we have designed to AT89C51 single-chip microcomputer as the main core of the realization of the temperature, humidity control system, including hardware and software design, can undertake PC communications, and gives the detailed circuit principle diagram.Keyword Temperature control; Humidity control; Serial interface; 485 bus- II -大学学士学位论文目录摘要 (I)Abstract (II)第1章绪论 (1)1.1 课题背景 (1)1.2 研究现状 (2)1.3 论文研究内容 (7)第2章总体方案设计 (9)2.1 方案设计 (9)2.2 系统设计原则 (9)2.3 本章小结 (11)第3章硬件设计 (12)3.1 AT89C51单片机简介 (12)3.1.1 主要特性 (13)3.1.2 外部管脚 (13)3.2 测温度电路 (15)3.2.1 内部结构 (17)3.2.2 DS18B20工作原理 (18)3.3 测湿度电路 (21)3.4 键盘 (24)3.5 显示LCD (24)3.6 上位机通信 (25)3.7 本章小结 (26)第4章系统软件设计 (28)4.1 主程序设计 (28)4.2 温湿度检测模块 (30)4.3 显示报警模块 (31)4.4 本章小结 (32)结论 (33)致谢 (34)参考文献 (35)附录 (38)·- 3 -大学学士学位论文第1章绪论1.1课题背景2010年10月1日18时59分57秒345毫秒,嫦娥2号点火,19时整成功发射。
基于51单片机的粮仓温湿度检测系统毕业设计基于51单片机的粮仓温湿度检测系统[摘要]粮仓温度湿度监测控制系统是基于STC12C52A60S2的数据采集、对比、控制的系统。
以STC12C52A60S2单片机为控制器,对温度传感器DS18B20传送的数字量信号和对湿度传感器HR202传送的模拟量信号进行采集和处理,当前值和设定温度上限值进行对比,进而执行控制作用,通过对继电器的控制进而控制设备的启停,对粮仓温度湿度进行调节,使其维持在适当范围,维护粮仓正常运行。
[关键词] 单片机、温湿度、检测、控制Abstract:The granary’s temperatur e and humidity control and detect systemis based on the micro control unit of STC12C5A60S2,the system is used for date acquisition,comparison,and control.In this system,STC12C5A60S2 is the controller,the controller is designed to deal with temperature and humidity signal from the temperature sensor and humidity sensor.Then compare these data with limits the value of temperature and humidity.If the date is out oflimits,then the controller send a control signal to warn people,besides,the controller will make the fan running to make the temperature and humidity lower.In this way,the granary can be working at usual status.Key words: MCU、temperature and humidity、control目录第一章绪论 (1)1.2相关领域国内外应用的现状及发展趋势 ...................................1 1.3 粮仓温湿度检测控制系统原理 (2)1.4 本章小结 (2)第二章:系统分析、设计要求及模块选择 (3)2.1 设计要求 ............................................................3 2.2 单片机型号的选择 (3)2.21 采用STC89C52单片机 (3)2.22 采用STC12C5A60S2单片机 ........................................ 3 2.3显示系统模块的选择 (3)2.31采用LED数码管显示 (3)2.32采用1602液晶显示 ............................................... 3 2.4测温模块的选择 (4)2.41 采用模拟量温度传感器 (4)2.42 采用数字量温度传感器 ......................................... 4 2.5测湿模块的选择 ...................................................... 4 2.6控制模块的选择 ...................................................... 4 2.7通讯模块的选择 ...................................................... 4 2.8本章小结 ............................................................. 4 第三章系统总体方案及硬件电路模块设计 (5)3.1 系统总体设计思路: ..................................................5 3.2 系统硬件设计 (5)3.2.1 单片机最小系统 (5)3.2.2 温度信号采样电路模块 .......................................... 9 3.2.3 湿度采样电路模块 ............................................. 12 3.3 串口模块 ........................................................... 14 3.4显示模块 ............................................................ 15 3.5 控制模块 ........................................................... 16 3.6 继电器模块 ......................................................... 17 3.7 本章小结 .......................................................... 18 第四章系统的软件设计 (19)4.1 流程图设计 (19)4.1.1系统总体流程图 (19)4.1.2温度检测流程图 ................................................ 19 4.1.3湿度检测流程 .................................................. 20 4.2系统的程序设计 (20)4.2.1 DS18B20测温程序 (20)4.2.2 A/D转换程序 (25)4.2.3 1602显示程序 (26)4.3 本章小结 (29)第五章硬件调试部分 .......................................................30 结束语 .....................................................................31 参考文献 (32)烟台大学毕业论文(设计)第一章绪论1.1 本课题的研究意义及必要性民以食为天,粮食是社会安定的保证,自1990年我国建立粮食储备制度以来,储备粮在国家宏观调控中占据了重要地位,无论何时,必须时刻保持储备粮的调控作用不动摇,是维持社会安定、粮食市场稳定、农民增收的重要保证。
第一章绪论1.1选题背景防潮、防霉、防腐、防爆是仓库日常工作的重要内容,是衡量仓库治理质量的重要指标。
它直截了当碍事到储躲物资的使用寿命和工作可靠性。
为保证日常工作的顺利进行,首要咨询题是加强仓库内温度与湿度的监测工作。
但传统的方法是用与湿度表、毛发湿度表、双金属式测量计和湿度试纸等测试器材,通过人工进行检测,对不符合温度和湿度要求的库房进行通风、往湿和落温等工作。
这种人工测试方法费时吃力、效率低,且测试的温度及湿度误差大,随机性大。
因此我们需要一种造价低廉、使用方便且测量正确的温湿度测量仪。
1.2设计过程及工艺要求一、全然功能~检测温度、湿度~显示温度、湿度~过限报警二、要紧技术参数~温度检测范围:-30℃-+50℃~测量精度:±℃~湿度检测范围:10%-100%RH~检测精度:±1%RH~显示方式:温度:四位显示湿度:四位显示~报警方式:三极管驱动的蜂喊音报警第二章方案的比立和论证当将单片机用作测控系统时,系统总要有被测信号明白得输进通道,由计算机拾取必要的输进信息。
关于测量系统而言,如何正确获得被测信号是其核心任务;而对测控系统来讲,对被控对象状态的测试和对操纵条件的监察也是不可缺少的环节。
传感器是实现测量与操纵的首要环节,是测控系统的要害部件,要是没有传感器对原始被测信号进行正确可靠的捕捉和转换,一切正确的测量和操纵都将无法实现。
工业生产过程的自动化测量和操纵,几乎要紧依靠各种传感器来检测和操纵生产过程中的各种参量,使设备和系统正常运行在最正确状态,从而保证生产的高效率和高质量。
2.1温度传感器的选择方案一:采纳热电阻温度传感器。
热电阻是利用导体的电阻随温度变化的特性制成的测温元件。
现应用较多的有铂、铜、镍等热电阻。
其要紧的特点为精度高、测量范围大、便于远距离测量。
铂的物理、化学性能极稳定,耐氧化能力强,易提纯,复制性好,工业性好,电阻率较高,因此,铂电阻用于工业检测中高周密测温和温度标准。