CN209657097U - A kind of environment measuring control system based on Internet of Things - Google Patents

A kind of environment measuring control system based on Internet of Things Download PDF

Info

Publication number
CN209657097U
CN209657097U CN201920461878.3U CN201920461878U CN209657097U CN 209657097 U CN209657097 U CN 209657097U CN 201920461878 U CN201920461878 U CN 201920461878U CN 209657097 U CN209657097 U CN 209657097U
Authority
CN
China
Prior art keywords
sensor
esp8266
router
relay
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201920461878.3U
Other languages
Chinese (zh)
Inventor
钟东洲
蒋树庆
陈业滨
温瑞冕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuyi University
Original Assignee
Wuyi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuyi University filed Critical Wuyi University
Priority to CN201920461878.3U priority Critical patent/CN209657097U/en
Application granted granted Critical
Publication of CN209657097U publication Critical patent/CN209657097U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The utility model provides a kind of environment measuring control system based on Internet of Things, comprising: mobile phone terminal, raspberry pie main control module, ESP8266 terminal device, router, relay, household electrical appliances, Temperature Humidity Sensor, optical sensor and smoke sensor device;Mobile phone terminal connects router by WIFI signal, and raspberry pie main control module connects router by cable, and router connects ESP8266 terminal device by WIFI signal;ESP8266 terminal device is separately connected relay, Temperature Humidity Sensor, optical sensor and smoke sensor device, relay connects household electrical appliances.The switch control of the data acquisition and adaptive polarizing memory voltage time constant of MQTT protocol realization Temperature Humidity Sensor, optical sensor and smoke sensor device is utilized in raspberry pie main control module.The utility model advantage is: can control electrical equipment in family at mobile phone web pages end, and automatically open lamp when indoor illumination intensity is low, the alarm for opening when combustable gas concentrations such as methane are higher is more intelligently, convenient for people's lives.

Description

A kind of environment measuring control system based on Internet of Things
Technical field
The utility model relates to indoor environmental condition control technical field, in particular to a kind of environment measuring control based on Internet of Things System processed.
Background technique
With the fast development of technology of Internet of things, convenient, health, comfortable, intelligence life style are increasingly by people Attention, pith one of of the household indoor environment as life, people require also obviously to mention to indoor environmental degree of comfort It is high.Humidity and harmful gas concentration is excessively high can all damage to our health, now with the universal of daily necessity and A large amount of uses of finishing material, the harmful gas concentration in indoor environment are significantly improved, make to the life security of people At serious threat.Therefore, the Indoor Environment Detection control system towards smart home has gradually developed.
However, current existing Indoor Environment Detection system[1][2]There is at high cost, networking is complicated, lacks with user's The problems such as interaction page.Existing wireless environment monitoring system data transmission is unstable, and existing environmental monitoring terminal is single and group Net is complicated, and existing environment monitoring function is single and lack of wisdom controls.
Bibliography:
[1] design of smart home environment data collection system of the Zhu Yifei based on ZigBee technology and realization [D] long Peace university, 2014.
[2] design of indoor air chemical pollution platform of the Li Meng based on ZigBee technology and realization [D] Qufu Normal University, 2015.
Utility model content
The utility model in view of the drawbacks of the prior art, provides a kind of environment measuring control system based on Internet of Things, It can effectively solve the above-mentioned problems of the prior art.
In order to realize that the above purpose of utility model, the technical solution that the utility model is taken are as follows:
A kind of environment measuring control system based on Internet of Things, comprising: mobile phone terminal 1, raspberry pie main control module 2, ESP8266 terminal device 4, router 3, air-conditioning 5, fan 6, relay 7, television set 8, Temperature Humidity Sensor 9, optical sensor 10 and smoke sensor device 11;
Mobile phone terminal 1 connects router 3 by WIFI signal, and raspberry pie main control module 2 connects router 3 by cable, Router 3 connects ESP8266 terminal device 4 by WIFI signal;
ESP8266 terminal device 4 is separately connected relay 7, Temperature Humidity Sensor 9, optical sensor 10 and smog sensing Device 11;
Relay 7 is separately connected air-conditioning 5, fan 6 and television set 8.
The raspberry pie main control module 2 can utilize MQTT protocol realization Temperature Humidity Sensor 9, optical sensor 10 and cigarette The switch control of the data acquisition and adaptive polarizing memory voltage time constant of mist sensor 11.
Further, it is real by WIFI to be connected to router 3 for raspberry pie main control module 2 and 4 node of ESP8266 terminal device An existing local area network building.Temperature Humidity Sensor 9 is used for the indoor temperature and humidity of real-time monitoring, and it is strong that optical sensor 10 monitors illumination Degree, smoke sensor device 11 monitor kitchen CH4, CO gas concentration.
Compared with prior art utility model has the advantages that
Electrical equipment in family can be controlled at mobile phone web pages end, and automatically open lamp when indoor illumination intensity is low, first The alarm for opening when combustable gas concentrations such as alkane are higher, it is more intelligently, convenient for people's lives.
Detailed description of the invention
Fig. 1 is the utility model embodiment environment measuring control system architecture schematic diagram;
Fig. 2 is the utility model embodiment ESP8266 module and Home Assistant server communication block diagram;
Fig. 3 is the utility model embodiment environment measuring control system operational flow diagram;
Fig. 4 is that ESP8266 connect design circuit diagram with temperature and humidity, optical sensor and relay;
Fig. 5 is that the sensors such as ESP8266 and Raindrop sensor, CO sensor and relay connect design circuit diagram.
Specific embodiment
For the purpose of this utility model, technical solution and advantage is more clearly understood, developed simultaneously reality with following combination attached drawing Example is applied, the utility model is described in further details.
As shown in Figure 1, a kind of environment measuring control system based on Internet of Things,
Include: mobile phone terminal 1, raspberry pie main control module 2, ESP8266 terminal device 4, router 3, air-conditioning 5, fan 6, Relay 7, television set 8, Temperature Humidity Sensor 9, optical sensor 10 and smoke sensor device 11;
Mobile phone terminal 1 connects router 3 by WIFI signal, and raspberry pie main control module 2 connects router 3 by cable, Router 3 connects ESP8266 terminal device 4 by WIFI signal;
ESP8266 terminal device 4 is separately connected relay 7, Temperature Humidity Sensor 9, optical sensor 10 and smog sensing Device 11;
Relay 7 is separately connected air-conditioning 5, fan 6 and television set 8;
Wherein, it is installed in raspberry pie main control module 2 and runs Raspbian system, Raspbian is one, and to simplify be tree The linux system of certain kind of berries group design.By building HomeAssistant server and MQTT server in Raspbian system, It is set using the data acquisition of MQTT protocol realization Temperature Humidity Sensor 9, optical sensor 10 and smoke sensor device 11 and relay Standby switch control.HomeAssistant is the domestic automation system based on Python.
When environment measuring control system works, raspberry pie main control module 2 and 4 node of ESP8266 terminal device pass through WIFI It is connected to router 3 and realizes a local area network building.Temperature Humidity Sensor 9 (DHT11) is used for the indoor temperature and humidity of real-time monitoring, Optical sensor 10 (GY-30) monitors intensity of illumination, and smoke sensor device 11 (MQ-2) monitors kitchen CH4, CO gas concentration.
DHT11 is connected with the D4 of ESP8266NodeMCU mouth in concrete scheme, the D1 of GY-30 and ESP8266NodeMCU, D2 mouthfuls are connected, and MQ-2 is connected with the D9 of ESP8266NodeMCU.DHT11, GY 30, MQ-2 are by ESP8266NodeMCU 3.3V and GND power supply.ESP8266 module can be connected to router according to the program setting being burnt in chip after powering on, and will pass The data of sensor acquisition are sent to ESP8266 by I/O port, and ESP8266 is sent to MQTT server by MQTT agreement.
Communication between ESP8266 and Home Assistant is as shown in Figure 2.
As shown in Fig. 2, ESP8266NodeMcu hardware module passes through the MQTT on MQTT protocol communication channel and raspberry pie Server (MQTT-Broker) connection, Home Assistant server pass through MQTT protocol communication channel and MQTT server Connection.
MQTT, that is, message queue telemetering transport protocol, is one of Machine To Machine (M2M) and Internet of Things connection protocol, it It is designed to a very publication for lightweight and subscribing mode and carries out message transmission.In client and server communication process In, client sends the data to MQTT-Broker first and will do it after MQTT-Broker receives the message of client publication The filtering of message.There are mainly three types of modes for message screening: filtering, content-based filtering based on theme, the sieve based on type Choosing.MQTT-Broker carries out that specific message can be sent to the client for having subscribed the message after message screening.In this way, Circulation carries out the transmission for constantly completing data between client and MQTT-Broker.
As shown in figure 3, in the present system, ESP8266, Home Assistant are clients, MQTT-Broker is service Device.ESP8266 can be arranged after opening according to the good program of burning, first carry out system initialization, the router specified in connection;So ESP8266 issues the data that sensor acquires by MQTT agreement afterwards, and the data of publication are stored to MQTT-Broker, MQTT-Broker can give received data forwarding the client for having subscribed particular message.Meanwhile ESP8266 can also be subscribed to Specific message.Home Assistant connects specified home gateway automatically after opening, carry out system initialization;Then pass through Monitoring event (detection MQTT-Broker whether give out information, whether the system page has interactive operation), when detecting MQTT- Broker has issued message and HomeAssistant also has subscribed this message, and HomeAssistant can be MQTT- Data transmitted by Broker are stored into its included database, and front end page calls the corresponding contents in database to be shown Show, the content that user can then show according to front end at this time checks corresponding information or carries out control operation.When user is in page When face controls relay switch.Such as: when opening relay, HomeAssistant can will open the news release of relay It just will receive the instruction that relay is opened from MQTT-Broker to MQTT-Broker, the ESP8266 for having subscribed this message, Open relay.
The utility model ESP8266 circuit design is as shown in Figure 4, Figure 5, and whole plate is powered by the USB interface of 3.3V, root According to the characteristic of ESP8266 itself, corresponding pin function is set, and whole plate is not related to the use of analog interface, mainly with number Interface come acquire sensor and relay feedback data.If Fig. 4, D1 and D2 are the coffrets of serial data, mainly for It is designed in the characteristic of optical sensor;D3 is used for the reseting interface of core board;D4 is used to acquire DHT11 Temperature Humidity Sensor Data are transferred on MQTT server by the data of feedback using the data processing in software program by MQTT agreement;D7 It is mainly used for controlling the relay of two low levels triggering with D8, since ESP8266 pin output voltage is smaller and relay Device needs 5V voltage to trigger, so being amplified by signal of the triode to output to reach and be controlled relay Effect.J3 and J4 is respectively two connecting terminals, is mainly used to connect controlled control equipment.
Those of ordinary skill in the art will understand that the embodiments described herein, which is to help reader, understands this reality With novel implementation method, it should be understood that the protection scope of the utility model is not limited to such special statement and implementation Example.Those skilled in the art can make according to the technical disclosures disclosed by the utility model various does not depart from this reality With novel substantive various other specific variations and combinations, these variations and combinations are still in the protection scope of the utility model It is interior.

Claims (2)

1. a kind of environment measuring control system based on Internet of Things characterized by comprising mobile phone terminal (1), raspberry pie master control It is module (2), ESP8266 terminal device (4), router (3), air-conditioning (5), fan (6), relay (7), television set (8), warm and humid Spend sensor (9), optical sensor (10) and smoke sensor device (11);
Mobile phone terminal (1) connects router (3) by WIFI signal, and raspberry pie main control module (2) connects router by cable (3), router (3) connects ESP8266 terminal device (4) by WIFI signal;
ESP8266 terminal device (4) is separately connected relay (7), Temperature Humidity Sensor (9), optical sensor (10) and smog Sensor (11);
Relay (7) is separately connected air-conditioning (5), fan (6) and television set (8);
The raspberry pie main control module (2) can using MQTT protocol realization Temperature Humidity Sensor (9), optical sensor (10) and The switch control of the data acquisition and adaptive polarizing memory voltage time constant of smoke sensor device (11).
2. a kind of environment measuring control system based on Internet of Things according to claim 1, it is characterised in that: raspberry pie master Control module (2) and ESP8266 terminal device (4) node are connected to router (3) by WIFI and realize a local area network building;Temperature Humidity sensor (9) is used for the indoor temperature and humidity of real-time monitoring, and optical sensor (10) monitors intensity of illumination, smoke sensor device (11) kitchen CH4, CO gas concentration are monitored.
CN201920461878.3U 2019-04-08 2019-04-08 A kind of environment measuring control system based on Internet of Things Expired - Fee Related CN209657097U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920461878.3U CN209657097U (en) 2019-04-08 2019-04-08 A kind of environment measuring control system based on Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920461878.3U CN209657097U (en) 2019-04-08 2019-04-08 A kind of environment measuring control system based on Internet of Things

Publications (1)

Publication Number Publication Date
CN209657097U true CN209657097U (en) 2019-11-19

Family

ID=68528947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920461878.3U Expired - Fee Related CN209657097U (en) 2019-04-08 2019-04-08 A kind of environment measuring control system based on Internet of Things

Country Status (1)

Country Link
CN (1) CN209657097U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109856988A (en) * 2019-04-08 2019-06-07 五邑大学 A kind of environment measuring control system based on Internet of Things

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109856988A (en) * 2019-04-08 2019-06-07 五邑大学 A kind of environment measuring control system based on Internet of Things

Similar Documents

Publication Publication Date Title
CN109856988A (en) A kind of environment measuring control system based on Internet of Things
CN110262330A (en) A kind of smart home environment monitoring system and method based on Arduino
CN107479393A (en) A kind of intelligent domestic system based on big data
CN105933432A (en) Home indoor air quality monitoring method and system based on internet of things
CN102185802A (en) Smart home embedded gateway
CN104991461A (en) Wireless smart home system
CN104317255A (en) Internet-of-things-based intelligent household control system
CN201548850U (en) Intelligent home equipment control device with behavior habit perception
CN103178410A (en) Intelligent socket and intelligent socket control equipment
CN208186713U (en) A kind of domestic environment intelligence regulation and control system
CN208424405U (en) A kind of Intelligent housing and monitoring system
CN106506301A (en) Smart home ecosystem
CN209657097U (en) A kind of environment measuring control system based on Internet of Things
CN206725985U (en) A kind of intelligent household security system based on WSN
CN208547615U (en) A kind of air detection system based on LORA technology
CN209486475U (en) A kind of monitoring of building and control system
CN207249467U (en) A kind of Dormitory management system
CN205067991U (en) Intelligent control system
CN107490102A (en) A kind of air purifier and distributed intelligent control system
CN208589996U (en) Intelligent home control system based on radio network technique
CN216449913U (en) Intelligent environment monitoring system based on Arduino technology
CN204928865U (en) Mobile network smart home systems
CN206023817U (en) A kind of intelligent home gateway
CN207438816U (en) Central air-conditioning line control machine system based on WiFi
CN212009351U (en) Intelligent household monitoring circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191119

CF01 Termination of patent right due to non-payment of annual fee