资源描述:
《基于单片机的低功耗智能宿舍控制及监控平台》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于单片机的低功耗智能宿舍控制及监控平台摘要本设计以STM32单片机为控制核心,以热释电人体红外传感器、烟雾传感器、温湿度传感器为检测手段,Zigbee为无线传输工具。一般状况时,单片机接收三个传感器传回的数据并进行处理和保存。液晶显示屏定时刷新,刷新时读取保存有传感器数据的数据结构。STM32也会定时传送传感器的数据到监控平台上。当有火灾发生时,本系统会进行报警。报警分为两方面。一方面是宿舍这边的蜂鸣器会发出声音,向本宿舍或周围宿舍报警。另一方面,监控平台处也会报警,提醒宿舍管理人员有火灾发生。当连续输错3次宿舍入门密码时,在监控平台会进行报警。
2、提示宿舍管理人员有异常情况发生。本设计实现了宿舍的火灾报警、人员检测(即宿舍是否有人和无人状态时连续三次输错密码报警)以及监控平台对宿舍的实时监控。本设计在实现了防火防盗功能的同时也具有低功耗、高可靠性等特点,不仅适用于宿舍,也适用于家庭、办公室等场所。关键词:宿舍,防火,防盗,单片机,传感器 Lowpowerconsumptionintelligentdormitorycontrolandmonitoringplatformbasedonsinglechipmicrocomputer AbstractThisdesignwithSTM32sing
3、lechipmicrocomputerasthecontrolcore,usingpyroelectricinfraredsensor,smokesensor,temperatureandhumiditysensorsasdetectionmeans,ZigBeeforthewirelesstransmissiontool.Ingeneral,themicrocontrollerreceivesthedatafromthethreesensorsandprocessingandstorage.LCDscreentimerrefresh,datast
4、ructureforpreservingsensordataisreadintherefreshtime.STM32alsoregularlysendthesensordatatothemonitoringplatform.Whenthereisafire,thissystemwillalarm.Thealarmisdividedintotwoaspects.Ontheonehandisthedormitorysideofthebuzzerwillsound,alarmtothedormitoryorsurroundingquarters.Onth
5、eotherhand,monitoringplatformalsoalarm,reminddormitorymanagementpersonnelfire.When3consecutivetimesofthewrongentrypassword,alarminthemonitoringplatform,promptthedormitoryadministratortohavetheunusualsituationtooccur.Thisdesignhasrealizedthedormitoryfirealarm,personneltesting(t
6、hatis,whethersomeoneinthedormitoryandthreeconsecutiveinputthewrongpasswordalarmwhenthereisnoone)andmonitoringplatformforreal-timemonitoringofthedormitory.Thisdesignintheimplementationoffirealarmfunctionatthesametimealsohasthecharacteristicsoflowpowerconsumption,highreliability
7、,appliesnotonlytothedormitory,alsosuitableforhomes,officesandotherplaces.Keywords:dormitory,fireprevention,anti-theft,singlechipcomputer,sensor 目录1.绪论2.任务要求及方案论证2.1任务要求2.2总体方案2.2.1主控单片机的选择2.2.2宿舍人员检测模块的选择2.2.3宿舍温湿度检测模块的选择2.2.4烟雾传感器的选择2.2.5显示模块的选择2.2.6键盘的选择2
8、.2.7无线信号传输模块的选择2.2.8监控平台的选择2.2.9数据库的选择3.系统框图与流程图3.1系统结构框图3.2系