测量PM2.5并配备北斗定位系统的单片机目录摘要.....................................................ⅠAbstract.................................................Ⅱ1绪论....................................................11.1仪器设计研究背景及意义.......................................11.2国内外的研究状况.............................................11.3GPS全球定位.................................................21.4研究的主要内容...............................................22系统设计总体选择........................................22.1系统功能.....................................................22.2选择方案.....................................................22.2.1主控制器..........................................22.2.2采集PM2.5浓度方案的选择...........................22.2.3北斗定位系统接收器模块............................32.2.4数模转换...........................................33系统硬件设计............................................33.1系统整体框架.................................................33.2STC12C5A60S2单片机..........................................33.3A/D转换.....................................................73.4夏普粉尘传感器...............................................83.5ATGM336H-5N接受模块........................................104系统软件设计...........................................124.1开发环境....................................................154.2主程序设计..................................................155调试及测试显示.........................................155.1常出现的故障................................................155.2实物图......................................................166总结...................................................18参考文献.................................................19致谢.....................................................20I测量PM2.5并配备北斗定位系统的单片机摘要:PM2.5是空气质量的一项重要指标,它体现的是空气中能入肺的颗粒物的数量,指颗粒物的尺寸小于2.5微米。因此出现了许多对其监测的PM2.5检测仪,为了提高监测的精准性,实现对特定地方的空气质量监测,需要对检测仪加入定位功能,但是目前的部分设备的定位精度不够,达不到精准性要求。基于此现状有了本文的课题来源,对PM2.5检测仪加入国产研发的北斗导航系统实现高精准的定位功能。该检测仪的硬件有传感器、定位接受装置和单片机设备。该系统的工作原理是通过传感器测量空气中颗粒物的浓度,并将采集到的数据上传到数据库中保存,再利用卫星定位进行检测仪的定位,而所有的控制都由单片机完成。关键词:PM2.5;单片机;北斗;数据传输IIDesignofPM2.5measuringinstrumentAbstract:PM2.5isanimportantindicatorofairquality.Itreflectstheamountofparticulatematterthatcanenterthelungsintheair,meaningthatthesizeoftheparticlesislessthan2.5microns.Therefore,therearemanyPM2.5detectorsformonitoring.Inordertoimprovetheaccuracyofmonitoringandachieveairqualitymonitoringinspecificplaces,itisnecessarytoaddpositioningfunctiontothedetector,butthepositioningaccuracyofsomecurrentequipmentisnotenough.Totheaccuracyrequirements.Basedonthisstatusquo,thesourceofthispaperisthesourceofthePM2.5detectoraddedtothedomesticallydevelopedBeidounavigationsystemtoachievehigh-precisionpositioning.Thedetectorhardwarehassensors,positioningreceiversandmicrocontrollerdevices.Theworkingprincipleofthesystemistomeasuretheconcentrationofparticulatematterintheairthroughthesensor,anduploadthecollecteddatatoadatabaseforstorage,andthenusethesatellitep...