摘要
随着物联网普及程度的日益提高,在家庭应用和日常工作中随处可见物联网给我们带来的影响。在智能家居中结合物联网,不仅可以监测家庭中的温湿度、空气质量和用电量以达到节能环保的目的等,还可以使我们的生活更加方便、舒适。本文设计了一款基于树莓派4B的智能家居系统,该系统利用树莓派4B作为核心控制器来驱动DHT11温湿度模块、MQ-2烟雾模块、摄像头监控模块、蜂鸣器模块等,将采集的数据上传My SQL数据库上,在客户端能够对监控的数据进行查看。系统的设计与实现使用户可以实时掌握家中设施情况,同时还可以自行根据需求在网页或手机应用程序观察家中智能设施的情况,自行调节家中的温、湿度,以获得舒适的生活环境,提高生活质量。
With the increasing popularity of the Internet of Things,the impact of the Internet of Things on us can be seen everywhere in home applications and daily work.Combining the Internet of Things in the smart home can not only monitor the temperature and humidity,air quality and electricity consumption in the home to achieve the purpose of energy saving and environmental protection,but also make our life more convenient and comfortable.This paper designs a smart home system based on Raspberry Pi 4B.The system uses Raspberry Pi 4B as the core controller to drive the DHT11 temperature and humidity module,MQ-2 smoke module,camera monitoring module,buzzer module,etc.The collected data is uploaded to the MySQL database,and the monitored data can be viewed on the client side.The design and implementation of the system enables users to grasp the situation of the home facilities in real time,and at the same time,they can also observe the situation of the smart facilities in the home on the webpage or mobile application according to their own needs,and adjust the temperature and humidity of the home by themselves,so as to obtain a comfortable living environment and improve life quality.
作者
任建新
王一鸣
梁杰
孙琳
闫肃
REN Jian-xin;WANG Yi-ming;LIANG Jie;SUN Lin;YAN Su(School of Information Engineering,Inner Mongolia University of Technology,Hohhot 010080,China)
出处
《价值工程》
2022年第17期118-120,共3页
Value Engineering