一种基于51单片机的粉尘监测系统的设计—定稿.doc
文本预览下载声明
届 别 2016届
学 号
毕业设计
基于51单片机的PM2.5检测系统的设计与实现
姓 名
系 别、 专 业 电子信息与电气工程学院
电子信息科学与技术专业
导 师 姓 名、职 称
完 成 时 间 2016年5月10日
目 录
摘 要 I
Abstract II
1 绪论 1
1.1 课题背景 1
1.2 国内外研究现状 1
2 系统仿真软件及总体设计方案 1
2.1 Keil4软件开发坏境 1
2.2 软件烧录工具 2
2.3程序结构分析 4
2.4 整体的设计方案 4
2.5电源模块 5
3 主要元器件简介 5
3.1 GP2Y1010AU0F传感器简介 5
3.2 ADC0832模数转换器简介 8
3.3 LCD1602液晶显示屏 10
3.4 STC89C52单片机的简介 13
4 系统单元电路模块设计 16
4.1主控制模块 16
4.2显示模块电路 17
4.3关于报警模块的设计 17
4.4按键模块的设计 18
4.5粉尘模块电路设计 18
4.6电源部分的设计 19
5 系统测试与实现 20
5.1系统程序流图 20
5.2 仿真电路 21
5.3 软件跟硬件结合 22
5.4 测试结果分析 24
5.5 系统实现 24
6、总结 25
致 谢 26
参考文献 27
附录1:系统整体电路原理图 28
附录2:系统设计部分源程序 29
摘 要
现在社会发展的越来越快,随着工业的发展,虽然给人们的生活带来很多便利。但是,在生产过程产生很多对人体有害的因素工业生产过程中会,例如煤炭灰开采、水泥生产等行业中的粉尘污染。
我的设计采用由LCD1602液晶模块、STC89C52单片机最小系统、ADC0832模数转换器模块、GP2Y1010AU粉尘传感器、电源模块、蜂鸣器报警模块和按键模块模块组成。单片机是通过ADC0832转换芯片采集GP2Y1010AU粉尘传感器的粉尘的浓度,通过单片机的数据转换处理后在液晶屏上显示空气中的质量,测量空间中的粉尘浓度如果大于当时设置粉尘浓度时,蜂鸣器就会产生报警的声音和发光二极管发出声光报警。当然,粉尘的浓度报警值我们可以通过按键来进行设置。
关键字:GP2Y1010AU0F传感器;粉尘检测;空气质量
Abstract
With the development of society and industry,?which?brings a lot of convenience?to peoples life.?However, it will produce a lot of harmful factors in the process of industrial production, such as coal mining, cement production and other industries in the dust pollution.?In?a variety of risk factors?on human health effects of?the most serious.?The dust harm to human body is?the most direct,?the most serious is the?cause of pneumoconiosis.When the dust concentration is too high,?the?high temperature drying time?may explode.
The design used by STC89C52 MCU minimum system, gp2y1010au dust sensor, ADC0832 ADC module, LCD1602 LCD module, power supply module, buzzer alarm module and a key module.?Single-chip microcomputer real-time through the ADC0832 conversion chip acquisition gp2y1010au dust sensor
显示全部