摘要本毕业设计的主要目的是达成对温室内温度、湿度,光照强度、二氧化碳浓度以及噪声强度等参数的实时采集检测及显示,设计主机为单片机,检测变量以各种相应传感器组成的完整检测系统。考虑到本次设计的达成、效率以及使用性等多方面因素,确定了系统机使用STC89C52单片机为控制核心,传感器选用一些简单方便,适合此次设计的,实现对温湿度、CO2浓度、光照强度、噪声五个测量变量的测量显示。如果有任何一个参数有超标现象就会启动单片机编写的报警程序。为了便于软件的设计,程序采用C语言来编写。主要包括CPU、温度湿度传感器检测过程,二氧化碳传感器检测过程,光照传感器检测,噪声传感器模块,液晶显示模块以及最下系统和按键等电路的设计。 75057
在此次的毕业设计过程中,我参考过很多国内外相似的关于室内环境检测的设计,他们的设计更加精确,昂贵,主要都是以计算机作为主机,传感器也选用以高精度高效率为主的,不贴合我本次设计的初衷和目标。对于价格来说普通学生也完成不了,所以我在此次设计时我尽量以简单,价格低廉,设计方便为目标。通过理论设计希望与期望的结果达成一致。
本检测系统原理简单工作稳定可靠,对于不需要精确实时测量的环境中显得实用性很强,而且此设计不仅可以应用在常用的需要环境测量的地点:比如教室内,还可以应用在家庭卧室、对温湿度有要求的温室大棚等方面的环境参数检测,所以实用性的价值很高 ,值得推广。
毕业论文关键词:单片机 STC89C52 传感器 检测 模块化 室内环境
Design Of Indoor Environmental Monitoring System
Abstract The graduation project mainly aimed at the greenhouse temperature, humidity, light intensity, as well as the carbon dioxide concentration and other parameters of the detection, design with a single chip microcomputer as the host, a variety of sensors multi-channel transmission detection system。 Consider to many factors of system efficiency, accuracy and economy, and to determine the host uses STC89C52 microcontroller as the control core and sensors use some simple and convenient, suitable for the design, to achieve the temperature, humidity, concentration, light according to the measurement of the noise strength, five measurement variables display。 If there is any one parameter has exceeded the phenomenon will start the microcontroller to prepare the alarm program。 In order to facilitate the software design, the program uses the C language to write。
In the graduation design process, I made reference to many domestic and foreign similar on the detection of the indoor environment design, their design more precise and expensive, mainly to computer as the host computer, sensors are used in high precision and high efficiency, does not fit me the design intentions and objectives。 For the price of ordinary students can not finish, so I am in the design I try to be simple, inexpensive, easy to design as the goal。 Through the theoretical design hope to reach agreement with the desired results。
The detection system is simple in principle and stable and reliable work, for don't need accurate and real-time measurement of the environment is very practical, and not only can Application in the classroom, but also can applied in domestic bedroom, greenhouse and other environmental parameters detection, so it is still has a certain use value。
Key words: single chip microcomputer sensor STC89C52 modularization indoor environment。
目录
摘 要 4
Abstract 5
1绪论