您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 基于单片机的空气质量检测系统
佳木斯大学毕业论文基于单片机的空气质量检测系统学院信息电子技术专业通信工程班级12级1班学籍号12109940619姓名潘琦指导教师田静佳木斯大学2016年6月10日佳木斯大学学士学位论文i佳木斯大学信息电子技术学院摘要随着工业发展,国民经济日益增长,人民生活指数也在不断提高。但是给环境却带来不可逆的影响,因为空气质量的恶化,使人类引起一系列呼吸道病症,危害身心健康。国家政府出台政策,一方面从源头控制污染源,一方面增加空气质量监控。各大中城市也将PM2.5作为天气预报一项重要指标,时时提醒市民关注环境。本设计就是基于51系列单片机的PM2.5监控预警系统,对环境里的PM2.5浓度进行实时监控,预警。本设计以STC89C52单片机为控制核心,用夏普GP2Y1010AU0F传感器实时采集空气中粉尘情况,然后由ADC0832模数转化芯片,将从粉尘传感器采集到的模拟信号转化成数字信号,然后传给单片机进行精确换算,在LCD1602液晶屏显示当前空气粉尘浓度和显示预置报警阈值,按键可以设置系统粉尘报警阈值,蜂鸣器报警模块可在环境PM2.5浓度超过设置值时进行报警。本系统电路稳定性高、抗干扰能力强,处理速度快,功耗低,操作简便,实时精准显示,实时反馈环境因素。关键字:PM2.5;单片机;粉尘浓度;GP2Y1010AU0F;报警佳木斯大学学士学位论文ii佳木斯大学信息电子技术学院AbstractWiththeindustrialdevelopmentofthenationaleconomygrowing,peoplelivingindexisalsorising.Buttheenvironmenthasbroughtirreversibleimpactbecauseofthedeteriorationinairquality,weatherhazephenomenonincreasedhazardphenomenonworse.Nationalgovernmentpolicies,ontheonehandtocontrolpollutionfromthesource,ontheonehandincreasetheairqualitymonitoring.PM2.5majorcitieswillalsobeanimportantindicatorastheweatherforecast,remindthepublicconcernfortheenvironment.Thisdesignisbasedonthe51computersPM2.5monitoringsystemontheenvironmentinthePM2.5concentrationtimemonitoring,earlywarning.ThisdesignSTC89C52RCmicrocontrollertocontrolthecore,SharpGP2Y1010AU0Fsensortocollectdustintheairsituation,LCD1602displayshowsthecurrentairconcentrationofdustanddisplaythepresetalarmthresholdsize,thekeyscansetthesystemdustalarmthreshold,thebuzzeralarmmodulecanalarmwhentheambientPM2.5concentrationexceedsthesetvalue.Systemworks:collectedbythesensorintheairPM2.5PM2.5concentration,andthenconvertedtoadigitalsignalthroughADC0832forSTC89C52RCmicrocontrollerreads,afterthesystemconversion,real-timedisplayofthecurrentPM2.5concentration,andthensetvalue,iflessthanthesetvalue,thesystemremains;ifitexceedsthesetvalue,thesystemwillalarmtoalertthePM2.5concentrationexceeded.Thesystemcircuitissimple,stable,highlyintegrated,easytodebug,highprecision,hassomepracticalvalue.Keywords:Alarm;Dustconcentration;GP2Y1010AU0F;PM2.5佳木斯大学学士学位论文I佳木斯大学信息电子技术学院目录摘要.............................................................................................................................iAbstract......................................................................................................................ii第1章绪论.............................................................................................................11.1课题研究背景.............................................................................................11.2课题研究的目的和意义..............................................................................21.3课题的主要内容..........................................................................................2第2章设计方案论证..............................................................................................42.1题目解析.....................................................................................................42.2方案论证与设计..........................................................................................42.2.1控制部分的方案选择.........................................................................42.2.2显示部分的方案选择.........................................................................52.2.3传感器模块的方案选择.....................................................................52.2.4模数转化模块的方案选择.................................................................52.3系统方案论证.............................................................................................6第3章硬件电路设计..............................................................................................73.1单片机最小系统..........................................................................................73.2ADC0832模数转化模块.............................................................................93.3液晶屏显示模块.........................................................................................103.4夏普PM2.5传感器....................................................................................123.5蜂鸣器........................................................................................................143.6按键电路....................................................................................................143.7污染级别提醒电路和程序下载电路...........................................................143.8总体原理图................................................................................................15第4章软件部分设计.............................................................................................164.1系统流程设计............................................................................................164.2ADC0832模数转化部分设计.....................................................................17第5章仿真部分....................................................................................................195.1PWM驱动..................................................................................................195.2Keil的应用................................................................................................195.3Protel99se的应用.............................
本文标题:基于单片机的空气质量检测系统
链接地址:https://www.777doc.com/doc-4647186 .html