论文总字数:21716字
摘 要
如今,国民经济水平上升,人们的生活水平已不同以往。在经济时代的催化下,人们满足的已不仅仅是一所住处,而是对室内环境也有了高标准。住宅是可以进行生活、学习和家庭团聚的地方,室内精装材料以及各种生活用品大量涌现,随之也带来了家居健康隐患。室内温湿度的影响是一方面,室内有害气体更是不容忽视的一方面。在家装之后,现代人们多多少少都有觉悟不能立即入住,并且时刻监测残留的污染气体,因为有害气体已是健康杀手之一,因室内环境污染生病甚至死亡的人数每年都居多,不容小觑。市场上关于室内空气监测的产品很多,但根据信息采集,目前市场存在的仪器检测目标气体单一,价格不亲民。我认为,设计一款方便灵巧的家用甲醛测试仪是必要的。
我准备选用一款性能良好的单片机,进行系统主控;温湿度的数据收集、甲醛浓度的检测,都利用传感器实现;采用LCD数码管技术对数据进行读取显示;增加按钮功能,设置报警值;外接蜂鸣器和发光二极管报警模块。本设计主要针对甲醛检测,所以是甲醛浓度超限报警,温湿度仅显示。把传感技术与单片机相结合,实现对环境空气的监测与管理。
关键字:室内环境监测;单片机;传感器;报警模块
Design of Indoor Formaldehyde Tester
Abstract
Today, the national economy has risen.People"s living standards have been different in the past.In the economic era of catalysis, people meet not only a place to live, but also on the indoor environment has a high standard.The house is where you can live, study and family reunion.A large number of indoor hardcover materials and a variety of daily necessities, which also brought home health risks.Indoor temperature and humidity impact is on the one hand, indoor harmful gases can not be ignored on the other hand.After the home improvement, the modern people are more or less have consciousness can not immediately stay and always monitor the residual pollution of gas.Because the harmful gas is one of the health killer.Every year many people get sick or die because of environmental pollution, can not be underestimated.There are many products on the market for indoor air monitoring.According to information collection, the current instrument on the market not only just to detect one kind gas, but also the price is not cheap.I think it is necessary to design an integrated system for detecting temperature, humidity and harmful gases in the home.
To master the system, I am ready to use a good performance of the microcontroller;Temperature and humidity data collection, formaldehyde concentration detection, are using the sensor to achieve;Using LCD digital tube technology to read the data display;Increase the button function, set the alarm value;External buzzer and LED alarm module.The design is mainly for formaldehyde detection, it is formaldehyde concentration limit alarm, temperature and humidity only show.The sensor technology and single-chip combination to achieve the environmental air monitoring and management.
Key words: indoor environment monitoring; single chip; sensor; sound and light alarm
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1设计背景及意义 1
1.2室内环境监测现状 1
1.3设计目的及内容 2
第二章 甲醛测试仪方案设计 3
2.1方案论证 3
2.1.1 单片机的选择论证 3
2.1.2甲醛监测模块的选择和论证 3
2.1.3 温湿度监测模块的选择与论证 3
2.2 总体硬件电路方案 4
第三章 系统的硬件设计 5
3.1 STC89C52单片机 5
3.1.1 电源 5
3.1.2 时钟 5
3.1.3 控制线 5
3.1.4 I/O引脚 6
3.2 STC89C52构成的最小系统 6
3.2.1 电源电路 6
3.2.2 时钟电路 7
3.2.3 复位电路 8
3.3 STC89C52与传感器接口电路及原理说明 8
3.3.1 甲醛监测模块设计 8
3.3.2 温湿度监测模块设计 9
3.4 STC89C52与显示器接口电路及原理说明 10
3.4.1 1602液晶模块引脚说明 11
3.5 STC89C52与报警器接口电路及原理说明 12
3.6 STC89C52与按键接口电路及原理说明 13
第四章 系统软件程序设计 15
4.1主程序软件设计 15
4.2 液晶显示软件设计 15
4.3温湿度测量模块软件设计 16
4.3.1读取温湿度数据 16
4.3.2 软件设计流程图 17
4.4甲醛浓度测量模块软件设计 17
第五章 系统调试 18
5.1问题 18
5.2 下载程序 18
5.2.1 程序编译 18
5.2.2 烧录程序 20
5.3 运行 22
第六章 总结 24
致谢 25
参考文献 (References) 26
附录一 系统原理图 27
剩余内容已隐藏,请支付后下载全文,论文总字数:21716字
该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;