摘要
针对室内燃气使用安全问题,提出了一种基于OneNet的物联网平台的燃气监测系统。该系统采用树莓派作为主控制器,室内的燃气检测采用气体传感器来完成,经模/数转换将数据传送至树莓派中处理,在软件里设置气体浓度报警阈值,输出控制端采用无线Sonoff开关开启声光报警、切断阀门并打开排风扇降浓等功能。此外,通过Twilio服务将报警短信发送到机主手机,OneNet平台可以提供实时燃气数据监测,用户可远程调控页面对其进行处理。
Aiming at the indoor safety issue,a gas monitoring system based on OneNet's IoT platform is proposed.The system uses the Raspberry Pi as the main controller.The indoor gas detection is performed by gas sensor.The data is transmitted to the Raspberry Pi through analog-to-digital conversion.The gas concentration alarm threshold is set in the software,and the output control terminal adopts wireless Sonoff.The switch turns on the sound and light alarm,cuts off the valve and turns on the exhaust fan to reduce the concentration.In addition,the Twilio service sends the alarm message to the owner's mobile phone.The OneNet platform can provide real-time gas data monitoring,which can be processed by the remote control page.
作者
邓锋
龙慧
胡利
钟新跃
Deng Feng;Long Hui;Hu Li;Zhong Xinyue(School of Information Science and Engineer,Changsha Normal University,Changsha 410100,China;Huangjingdong Mining Co.Ltd of Human)
出处
《单片机与嵌入式系统应用》
2020年第1期61-64,共4页
Microcontrollers & Embedded Systems
基金
2019年湖南省教育普通高等学校教学改革研究项目“智能玩具设计与开发人才的跨专业协同培养研究”(1141)
全国教育科学“十三五”规划2018年教育部重点课题(DIA180393)
2019年湖南省大学生创新创业训练计划(s201913806005)
长沙师范学院重点建设学科“计算机科学与技术”
长沙师范学院教学改革课题(P201823)