I基于IOT的室内空气质量监测系统摘要跟随着生活节奏加快与生产方式的进一步提升,人们在室内活动时间高达93%以上。虽然,室内空气污染浓度并非那么严重但长期接触,故其累积接触量增高。例:具有挥发性的容易导致癌症的物质;以及在人们日常生活中经常见到的比较容易发生的天然气和煤气等的泄露,这些都不利于人们的健康。室内空气质量对人体健康就显得更加重要。本课题设计是通过STC89C51单片机为主控制器,控制MQ-2烟雾传感器、甲醛模组ZE08-CH2O、DHT11温湿度检测模块与ADC0832模数转换器来实现对进行空气中的有害气体含量进行采集、分析。此设计可达到功耗低、可靠性高、及时、准确检测一定空间内空气中存在的有害气体,最重要的是能够第一时间进行报警提醒人们,有利于人们及时采取措施,避免造成不必要的损害。可使得更多的家庭灾难得以避免。关键词:STC89C51单片机;MQ-2传感器;温湿度检测;甲醛模组ZE08-CH2OIIAbstractWiththefurthermodernizationofproductionandlifestyle,peoplespendmorethan93%oftheirtimeinindooractivities.Althoughtheconcentrationofindoorairpollutionisoftenlow,theaccumulatedexposureincreasesoveralongperiodoftime.Theleakageofgas,naturalgas,liquefiedpetroleumgasandotherharmfulgasescausedbymisoperationorequipmentfaultinPeople'sDailylifebringsfatalharmtopeople.Therefore,indoorairqualityismoreimportanttohumanhealth.ThistopicisthroughtheSTC89C51microcontrollerasthemaincontrollerisdesigned,thecontrolofMQ-2smokesensormoduleZE08formaldehyde-CH2ODHT11temperatureandhumiditydetectionmoduleandADC0832ADconvertertorealizetotheconcentrationofharmfulgasintheairforcollectionandanalysisofthisdesigncanachievelowpowerconsumptionhighreliabilityaccuratelyandeffectivelyfordetectingharmfulgasconcentrationinindoorenvironmentandeventhecharacteristicsofthealarmtoremindpeopletomakeeffectivemeasureswhenthechromaofharmfulgas,canmakemorefamiliestoavoiddisasterKeywords:STC89C51;Mq-2sensor;Temperatureandhumiditydetection;FormaldehydemoduleZE08-CH2O目录1引言....................................................................................................................................................11.1室内空气质量监测系统设计的研究意义...............................................................................1III1.2室内空气质量监测系统设计的发展现状与前景.....................................................................21.3本论文的研究内容及任务.........................................................................................................32室内空气质量监测系统设计方案........................................................................................................32.1室内空气质量监测系统设计方案概述.....................................................................................42.2室内空气质量监测系统设计功能介绍.....................................................................................63室内空气质量监测系统硬件设计........................................................................................................63.1主控电路...................................................................................................................................73.1.1STC89C52芯片介绍......................................................................................................73.1.2STC89C52主要功能特性..............................................................................................73.1.3单片机最小系统.............................................................................................