CN207197576U - Home environment quality monitoring device based on WIFI communications - Google Patents

Home environment quality monitoring device based on WIFI communications Download PDF

Info

Publication number
CN207197576U
CN207197576U CN201721157815.6U CN201721157815U CN207197576U CN 207197576 U CN207197576 U CN 207197576U CN 201721157815 U CN201721157815 U CN 201721157815U CN 207197576 U CN207197576 U CN 207197576U
Authority
CN
China
Prior art keywords
pin
microcontrollers
circuit
contact pin
gas concentration
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
CN201721157815.6U
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.)
Xian University of Posts and Telecommunications
Original Assignee
Xian University of Posts and Telecommunications
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 Xian University of Posts and Telecommunications filed Critical Xian University of Posts and Telecommunications
Priority to CN201721157815.6U priority Critical patent/CN207197576U/en
Application granted granted Critical
Publication of CN207197576U publication Critical patent/CN207197576U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The utility model discloses a kind of home environment quality monitoring device based on WIFI communications, including STM32 microcontrollers, power module, crystal oscillating circuit, reset circuit, WIFI communication modules, I/O Interface Expandings circuit and serial communication circuit;Temperature Humidity Sensor interface circuit, harmful gas concentration sensor interface circuitry and combustable gas concentration sensor interface circuitry are connected on the I/O interfaces of STM32 microcontrollers, PM2.5 sensor interface circuitries are connected on the serial ports of STM32 microcontrollers;Temperature Humidity Sensor is connected on Temperature Humidity Sensor interface circuit, harmful gas concentration sensor is connected on harmful gas concentration sensor interface circuitry, combustable gas concentration sensor is connected on combustable gas concentration sensor interface circuitry, PM2.5 sensors are connected on PM2.5 sensor interface circuitries.The utility model complete function, Scalable Performance is good, and versatility is good, practical, is easy to promote the use of.

Description

Home environment quality monitoring device based on WIFI communications
Technical field
The utility model belongs to home environment quality-monitoring technical field, and in particular to a kind of family based on WIFI communications Environmental quality monitoring device.
Background technology
Traditional family's indoor environment measuring instrument has thermometer, hygrometer, gas leakage detector etc., but with people Living standard continuous improvement, also more and more higher, simple temperature, humidity no longer meet for requirement of the people to home environment The growing demand of people.Moreover, the instrument function such as thermometer, hygrometer, gas leakage detector is single, and to expect More comfortable home environment will also check a variety of instrument respectively, check and be inconvenient.
It is fast-developing and widely available with generation information technology, increasing terminal also incorporated internet this In individual huge network, and extension and development of the technology of Internet of things as internet, also to affect us existing subtle Life and work mode and living environment.At present, technology of Internet of things is progressively applied to life even family from industrial rank Aspect, in terms of family's Internet of Things for realizing home environment quality-monitoring, home environment quality-monitoring of the prior art ZigBee wireless transmission group network platforms are used mostly, and shortcoming is can not to utilize existing WIFI communication loops in nowadays family well Border, ZigBee wireless communication modules are further added by, add the cost of home environment quality-monitoring.Moreover, family of the prior art Front yard environmental quality monitoring device, scalability is not good enough, poor universality, during different demands for realizing different home, needs Again new monitoring device is developed, when the family used wants the new monitoring function of increase, it is also desirable to more renew Monitoring device, waste is easily caused, and improve monitoring cost.
Utility model content
Technical problem to be solved in the utility model is to be directed to above-mentioned deficiency of the prior art, there is provided one kind is based on The home environment quality monitoring device of WIFI communications, its is simple in construction, and it is convenient to realize, easy to use, has saved cost, function is complete Standby, Scalable Performance is good, and versatility is good, practical, and using effect is good, is easy to promote the use of.
In order to solve the above technical problems, the technical solution adopted in the utility model is:A kind of family based on WIFI communications Environmental quality monitoring device, it is characterised in that:Power supply mould including STM32 microcontrollers and for each electricity consumption module for power supply in device Block, and connect with STM32 microcontrollers crystal oscillating circuit, reset circuit, WIFI communication modules, I/O Interface Expandings circuit and Serial communication circuit;The power module includes 5V rechargeable batteries and turns 3.3V electricity with the 5V that the output end of 5V rechargeable batteries is connected Voltage conversion circuit, the output end of the 5V rechargeable batteries are the 5V voltage output ends of power module, and the 5V turns 3.3V voltages and turned The output end for changing circuit is the 3.3V voltage output ends of power module;It is connected on the I/O interfaces of the STM32 microcontrollers warm and humid Sensor interface circuitry, harmful gas concentration sensor interface circuitry and combustable gas concentration sensor interface circuitry are spent, it is described PM2.5 sensor interface circuitries are connected on the serial ports of STM32 microcontrollers;Temperature is connected on the Temperature Humidity Sensor interface circuit Humidity sensor, harmful gas concentration sensor, the combustible gas are connected on the harmful gas concentration sensor interface circuitry Combustable gas concentration sensor is connected on concentration sensors interface circuit, is connected on the PM2.5 sensor interface circuitries PM2.5 sensors;The WIFI communication modules are ESP8266 serial ports WIFI modules, the ESP8266 serial ports WIFI module UART_TX pins receive pin with the serial ports of STM32 microcontrollers and are connected, the UART_RX of the ESP8266 serial ports WIFI module Pin sends pin with the serial ports of STM32 microcontrollers and is connected.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The power module also wraps The power indicating circuit being connected with the output end of 5V rechargeable batteries is included, the 5V, which turns 3.3V voltage conversion circuits, includes voltage-stablizer core Piece ASM1117-3.3V, nonpolar electric capacity C1, polar capacitor C2 and nonpolar electric capacity C3, the voltage regulator chip ASM1117- 3.3V the 3rd pin is connected with the output end of 5V rechargeable batteries, and is grounded by nonpolar electric capacity C1;The voltage regulator chip ASM1117-3.3V the 1st pin ground connection, the 2nd pin of the voltage regulator chip ASM1117-3.3V turn 3.3V voltages for 5V and turned The 3.3V voltage output ends of circuit are changed, and are grounded by the polar capacitor C2 and nonpolar electric capacity C3 of parallel connection;The power supply instruction Circuit includes light emitting diode D1 and resistance R3, the light emitting diode D1 anode pass through the defeated of resistance R3 and 5V rechargeable batteries Go out end connection, the minus earth of the light emitting diode D1.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The STM32 microcontrollers For STM32F103RET6 microcontrollers.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The crystal oscillating circuit includes Crystal oscillator Y1, nonpolar electric capacity C6 and nonpolar electric capacity C7, one end of the crystal oscillator Y1 and nonpolar electric capacity C7 one end with The 5th pin connection of STM32F103RET6 microcontrollers, the other end of the crystal oscillator Y1 and nonpolar electric capacity C6 one end with The 6th pin connection of STM32F103RET6 microcontrollers, the other end of the nonpolar electric capacity C7 and nonpolar electric capacity C6's is another One end is grounded;The reset circuit includes the first reset circuit and the second reset circuit, and first reset circuit includes multiple Position button K1 and resistance R1, one end of the reset key K1 are connected with the 35th pin of STM32F103RET6 microcontrollers, and Connected by the 3.3V voltage output ends of resistance R1 and power module, the other end ground connection of the reset key K1;Described second Reset circuit includes reset key K2, resistance R2 and electric capacity C4, one end of the reset key K2, resistance R2 one end and electric capacity C4 one end is connected with the 7th pin of STM32F103RET6 microcontrollers, the other end and electric capacity C4 of the reset key K2 The other end be grounded, the 3.3V voltage output ends of the other end of the resistance R2 and power module connect.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The ESP8266 serial ports The UART_TX pins of WIFI module are connected with the 30th pin of STM32F103RET6 microcontrollers, the ESP8266 serial ports The UART_RX pins of WIFI module are connected with the 29th pin of STM32F103RET6 microcontrollers.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The I/O Interface Expandings electricity It is double that road includes the one 2 × 8th double contact pin P1, the 22 × 8th double contact pin P2, the 32 × 8th double contact pin P3 and the 42 × 8th 3.3V voltage output end of contact pin P4, the one 2 × 8th double contact pin P1 the 1st pin and the 13rd pin with power module Connection, the 2nd~11 pin of the one 2 × 8th double contact pin P1 are corresponding in turn to the with STM32F103RET6 microcontrollers the 2nd ~11 pins connect, the 12nd pin of the one 2 × 8th double contact pin P1 ground connection, and the of the one 2 × 8th double contact pin P1 14~16 pins are corresponding in turn to be connected with the 14th~16 pin of STM32F103RET6 microcontrollers;Described 22 × 8th is double Contact pin P2 the 3rd pin and the 16th pin are connected with the 3.3V voltage output ends of power module, and the described 22 × 8th is double slotting Pin P2 the 1st pin is connected with the 17th pin of STM32F103RET6 microcontrollers, and the of the 22 × 8th double contact pin P2 2 pins and the 15th pin are grounded, the 4th~14 pin of the 22 × 8th double contact pin P2 be corresponding in turn to The 20th~30 pin connection of STM32F103RET6 microcontrollers;The 1st~14 pin of 32 × 8th double contact pin P3 according to Secondary correspondence is connected with the 33rd~46 pin of STM32F103RET6 microcontrollers, and the 15th of the 32 × 8th double contact pin P3 the Pin is grounded, and the 16th pin of the 32 × 8th double contact pin P3 and the 3.3V voltage output ends of power module connect;It is described 42 × 8th double contact pin P4 the 1st~14 pin is corresponding in turn to the 49th~62 pin with STM32F103RET6 microcontrollers Connection, the 42 × 8th double contact pin P4 the 15th pin ground connection, the 16th pin of the 42 × 8th double contact pin P4 with The 3.3V voltage output ends connection of power module;The serial communication circuit includes four pin contact pin Usart1, the four pin contact pin Usart1 the 1st pin and the 5V voltage output ends of power module connect, the 2nd pin and the 3rd of the four pin contact pin Usart1 Pin is corresponding in turn to be connected with the 42nd pin of STM32F103RET6 microcontrollers and the 43rd pin, the four pin contact pin Usart1 the 4th pin ground connection.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The Temperature Humidity Sensor The 5V voltage output ends of the 1st pin and power module that interface circuit includes three pin contact pin J1, the three pin contact pin J1 connect, institute The 2nd pin for stating three pin contact pin J1 is connected with the 9th pin of STM32F103RET6 microcontrollers, and the 3rd of the three pin contact pin J1 the Pin is grounded;The Temperature Humidity Sensor is Temperature Humidity Sensor DHT11, and the power end of the Temperature Humidity Sensor DHT11 draws Pin, signal output pin and earth terminal pin are corresponding in turn to be connected with three pin contact pin J1 the 1st pin, the 2nd pin and the 3rd pin Connect.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The harmful gas concentration Sensor interface circuitry includes three pin contact pin J2, the 1st pin of the three pin contact pin J2 and the 5V voltage output ends of power module Connection, the 2nd pin of the three pin contact pin J2 are connected with the 44th pin of STM32F103RET6 microcontrollers, and three pin is inserted Pin J2 the 3rd pin ground connection;The harmful gas concentration sensor is harmful gas concentration sensor MQ-135, harmful gas Concentration sensors MQ-135 power end pin, Transistor-Transistor Logic level output pin and earth terminal pin is corresponding in turn to and three pin contact pins J2 the 1st pin, the 2nd pin and the connection of the 3rd pin.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The combustable gas concentration Sensor interface circuitry includes three pin contact pin J3, the 1st pin of the three pin contact pin J3 and the 5V voltage output ends of power module Connection, the 2nd pin of the three pin contact pin J3 are connected with the 10th pin of STM32F103RET6 microcontrollers, and three pin is inserted Pin J3 the 3rd pin ground connection;The combustable gas concentration sensor is combustable gas concentration sensor MQ-5, the fuel gas Concentration sensor MQ-5 power end pin, Transistor-Transistor Logic level output pin and earth terminal pin is corresponding in turn to three pin contact pin J3's 1st pin, the 2nd pin and the connection of the 3rd pin.
The above-mentioned home environment quality monitoring device based on WIFI communications, it is characterised in that:The PM2.5 sensors connect The 5V voltage output ends of the 1st pin and power module that mouth circuit includes four pin contact pin J4, the four pin contact pin J4 connect, described Four pin contact pin J4 the 2nd pin and the 3rd pin is corresponding in turn to and drawn with the 16th pin of STM32F103RET6 microcontrollers and the 17th Pin connects, the 4th pin ground connection of the four pin contact pin J4;The power end pins of the PM2.5 sensors, signal receive pin, Signal sends pin and earth terminal pin is corresponding in turn to and drawn with four pin contact pin J4 the 1st pin, the 2nd pin, the 3rd pin and the 4th Pin connects.
The utility model has advantages below compared with prior art:
1st, the utility model employs modular design, and circuit structure is simple, reasonable in design, and it is convenient to realize.
2nd, the utility model is in use, existing WIFI communication environments in nowadays family can be utilized, without setting up newly Communication network, cost is saved.
3rd, the utility model is provided with I/O Interface Expanding circuits, and Scalable Performance is good, when using of the present utility model When family needs to increase new monitoring function (such as monitoring home environment illuminance, brightness), it can easily increase new inspection Sensor is surveyed, without the monitoring device more renewed, moreover, when the utility model is sold as production, can also be passed through Different sensors is configured, realizes different monitoring functions, versatility is good.
4th, the utility model collection humiture, harmful gas concentration, combustable gas concentration and PM2.5 particle concentrations, which monitor, is One, complete function, and facilitate people and uniformly carry out home environment quality-monitoring result and check, it is easy to use.
5th, of the present utility model practical, using effect is good, is easy to promote the use of.
In summary, the utility model circuit structure is simple, and it is convenient to realize, easy to use, has saved cost, function is complete Standby, Scalable Performance is good, and versatility is good, practical, and using effect is good, is easy to promote the use of.
Below by drawings and examples, the technical solution of the utility model is described in further detail.
Brief description of the drawings
Fig. 1 is schematic block circuit diagram of the present utility model.
Fig. 2 is the circuit theory diagrams of the utility model power module.
Fig. 3 is the circuit theory diagrams of the utility model STM32F103RET6 microcontrollers.
Fig. 4 is the circuit theory diagrams of the utility model crystal oscillating circuit.
Fig. 5 is the circuit theory diagrams of the reset circuit of the utility model first.
Fig. 6 is the circuit theory diagrams of the reset circuit of the utility model second.
Fig. 7 is the circuit theory diagrams of the utility model ESP8266 serial ports WIFI modules.
Fig. 8 is the one 2 × 8th double contact pin P1 of the utility model circuit theory diagrams.
Fig. 9 is the 22 × 8th double contact pin P2 of the utility model circuit theory diagrams.
Figure 10 is the 32 × 8th double contact pin P3 of the utility model circuit theory diagrams.
Figure 11 is the 42 × 8th double contact pin P4 of the utility model circuit theory diagrams.
Figure 12 is the circuit theory diagrams of the utility model serial communication circuit.
Figure 13 is the circuit theory diagrams of the utility model Temperature Humidity Sensor interface circuit.
Figure 14 is the circuit theory diagrams of the utility model harmful gas concentration sensor interface circuitry.
Figure 15 is the circuit theory diagrams of the utility model combustable gas concentration sensor interface circuitry.
Figure 16 is the circuit theory diagrams of the utility model PM2.5 sensor interface circuitries.
Description of reference numerals:
1-STM32 microcontrollers;2-power module;2-1-5V rechargeable batteries;
2-2-3.3V voltage conversion circuits;2-3-power indicating circuit;3-WIFI communication modules;
4-I/O Interface Expanding circuits;5-serial communication circuit;6-Temperature Humidity Sensor interface circuit;
7-harmful gas concentration sensor interface circuitry;8-combustable gas concentration sensor interface circuitry;
9-PM2.5 sensor interface circuitries;10-crystal oscillating circuit;11-reset circuit;
12-Temperature Humidity Sensor;13-harmful gas concentration sensor;
14-combustable gas concentration sensor;15-PM2.5 sensors.
Embodiment
As shown in figure 1, the home environment quality monitoring device of the present utility model based on WIFI communications, including STM32 are micro- Controller 1 and the power module 2 for each electricity consumption module for power supply in device, and the crystal oscillating circuit to connect with STM32 microcontrollers 1 10th, reset circuit 11, WIFI communication modules 3, I/O Interface Expandings circuit 4 and serial communication circuit 5;The power module 2 includes 5V rechargeable batteries 2-1 and turn 3.3V voltage conversion circuits 2-2 with the 5V that 5V rechargeable batteries 2-1 output end is connected, the 5V fills Battery 2-1 output end is the 5V voltage output ends of power module 2, and the 5V turns 3.3V voltage conversion circuits 2-2 output Hold the 3.3V voltage output ends for power module 2;Temperature Humidity Sensor is connected on the I/O interfaces of the STM32 microcontrollers 1 to connect Mouth circuit 6, harmful gas concentration sensor interface circuitry 7 and combustable gas concentration sensor interface circuitry 8, the STM32 are micro- PM2.5 sensor interface circuitries 9 are connected on the serial ports of controller 1;Humiture is connected on the Temperature Humidity Sensor interface circuit 6 Sensor 12, harmful gas concentration sensor 13, the combustible gas are connected on the harmful gas concentration sensor interface circuitry 7 Combustable gas concentration sensor 14 is connected on concentration sensors interface circuit 8, is connect on the PM2.5 sensor interface circuitries 9 There are PM2.5 sensors 15;With reference to Fig. 7, the WIFI communication modules 3 are ESP8266 serial ports WIFI modules, the ESP8266 strings The UART_TX pins of mouth WIFI module receive pin with the serial ports of STM32 microcontrollers 1 and are connected, the ESP8266 serial ports WIFI The UART_RX pins of module send pin with the serial ports of STM32 microcontrollers 1 and are connected.
In the present embodiment, as shown in Fig. 2 the power module 2 also includes what is be connected with 5V rechargeable batteries 2-1 output end Power indicating circuit 2-3, the 5V, which turn 3.3V voltage conversion circuits 2-2, includes voltage regulator chip ASM1117-3.3V, nonpolar Electric capacity C1, polar capacitor C2 and nonpolar electric capacity C3, the 3rd pin and the 5V charging electricity of the voltage regulator chip ASM1117-3.3V Pond 2-1 output end connection, and be grounded by nonpolar electric capacity C1;The 1st pin of the voltage regulator chip ASM1117-3.3V Ground connection, the 3.3V voltages that the 2nd pin of the voltage regulator chip ASM1117-3.3V turns 3.3V voltage conversion circuits 2-2 for 5V are defeated Go out end, and be grounded by the polar capacitor C2 and nonpolar electric capacity C3 of parallel connection;The power indicating circuit 2-3 includes light-emitting diodes Pipe D1 and resistance R3, the light emitting diode D1 anode are connected by resistance R3 with 5V rechargeable batteries 2-1 output end, described Light emitting diode D1 minus earth.
In the present embodiment, as shown in figure 3, the STM32 microcontrollers 1 are STM32F103RET6 microcontrollers.
In the present embodiment, as shown in Figure 3 and Figure 4, the crystal oscillating circuit 10 includes crystal oscillator Y1, nonpolar electric capacity C6 and non-pole Draw with the 5th of STM32F103RET6 microcontrollers the property electric capacity C7, one end of the crystal oscillator Y1 and nonpolar electric capacity C7 one end Pin is connected, and the other end of the crystal oscillator Y1 and nonpolar electric capacity C6 one end are drawn with the 6th of STM32F103RET6 microcontrollers the Pin is connected, and the other end of the nonpolar electric capacity C7 and the nonpolar electric capacity C6 other end are grounded;The reset circuit 11 wraps Include the first reset circuit and the second reset circuit, as shown in Figure 3 and Figure 5, first reset circuit include reset key K1 and Resistance R1, one end of the reset key K1 is connected with the 35th pin of STM32F103RET6 microcontrollers, and passes through resistance R1 It is connected with the 3.3V voltage output ends of power module 2, the other end ground connection of the reset key K1;As shown in Figure 3 and Figure 6, institute Stating the second reset circuit includes reset key K2, resistance R2 and electric capacity C4, the reset key K2 one end, resistance R2 one end Be connected with electric capacity C4 one end with the 7th pin of STM32F103RET6 microcontrollers, the other end of the reset key K2 and The electric capacity C4 other end is grounded, and the other end of the resistance R2 is connected with the 3.3V voltage output ends of power module 2.
In the present embodiment, as shown in Figure 3 and Figure 7, the UART_TX pins of the ESP8266 serial ports WIFI module with STM32F103RET6 microcontrollers the 30th pin connection, the UART_RX pins of the ESP8266 serial ports WIFI module with The 29th pin connection of STM32F103RET6 microcontrollers.
In the present embodiment, the I/O Interface Expandings circuit 4 include the one 2 × 8th double contact pin P1, the 22 × 8th it is double insert Pin P2, the 32 × 8th double double contact pin P4 of contact pin P3 and the 42 × 8th, as shown in figures 3 and 8, the described one 2 × 8th is double slotting Pin P1 the 1st pin and the 13rd pin are connected with the 3.3V voltage output ends of power module 2, the one 2 × 8th double contact pin P1 the 2nd~11 pin is corresponding in turn to be connected with the 2nd~11 pin of STM32F103RET6 microcontrollers, and the described one 2 × 8th Double contact pin P1 the 12nd pin ground connection, the 14th~16 pin of the one 2 × 8th double contact pin P1 be corresponding in turn to The 14th~16 pin connection of STM32F103RET6 microcontrollers;As shown in Figure 3 and Figure 9, the described 22 × 8th double contact pin P2 The 3rd pin and the 16th pin be connected with the 3.3V voltage output ends of power module 2, the 22 × 8th double contact pin P2's 1st pin is connected with the 17th pin of STM32F103RET6 microcontrollers, the 2nd pin of the 22 × 8th double contact pin P2 It is grounded with the 15th pin, the 4th~14 pin of the 22 × 8th double contact pin P2 is corresponding in turn to micro- with STM32F103RET6 The 20th~30 pin connection of controller;As shown in figs. 3 and 10, the described 32 × 8th double contact pin P3 the 1st~14 pin It is corresponding in turn to and is connected with the 33rd~46 pin of STM32F103RET6 microcontrollers, the of the 32 × 8th double contact pin P3 15 pins are grounded, and the 16th pin of the 32 × 8th double contact pin P3 is connected with the 3.3V voltage output ends of power module 2;Such as Shown in Fig. 3 and Figure 11, the 1st~14 pin of the 42 × 8th double contact pin P4 is corresponding in turn to and STM32F103RET6 micro-controls The 49th~62 pin connection of device processed, the 15th pin ground connection of the 42 × 8th double contact pin P4, the described 42 × 8th is double Contact pin P4 the 16th pin is connected with the 3.3V voltage output ends of power module 2;As shown in Fig. 3 and Figure 12, the serial communication Circuit 5 includes four pin contact pin Usart1, the 1st pin of the four pin contact pin Usart1 and the 5V voltage output ends of power module 2 Connection, the 2nd pin and the 3rd pin of the four pin contact pin Usart1 are corresponding in turn to the with STM32F103RET6 microcontrollers 42 pins and the connection of the 43rd pin, the 4th pin ground connection of the four pin contact pin Usart1.
In the present embodiment, as shown in Fig. 3 and Figure 13, the Temperature Humidity Sensor interface circuit 6 includes three pin contact pin J1, institute The 1st pin for stating three pin contact pin J1 is connected with the 5V voltage output ends of power module 2, the 2nd pin of the three pin contact pin J1 with The 9th pin connection of STM32F103RET6 microcontrollers, the 3rd pin ground connection of the three pin contact pin J1;The temperature and humidity sensing Device 12 is Temperature Humidity Sensor DHT11, power end pin, signal output pin and the ground connection of the Temperature Humidity Sensor DHT11 End pin is corresponding in turn to be connected with three pin contact pin J1 the 1st pin, the 2nd pin and the 3rd pin.
In the present embodiment, as shown in Fig. 3 and Figure 14, the harmful gas concentration sensor interface circuitry 7 is inserted including three pin Pin J2, the 1st pin of the three pin contact pin J2 are connected with the 5V voltage output ends of power module 2, and the 2nd of the three pin contact pin J2 the Pin is connected with the 44th pin of STM32F103RET6 microcontrollers, the 3rd pin ground connection of the three pin contact pin J2;It is described to have Evil gas concentration sensor 13 is harmful gas concentration sensor MQ-135, the electricity of the harmful gas concentration sensor MQ-135 Source pin, Transistor-Transistor Logic level output pin and earth terminal pin are corresponding in turn to and three pin contact pin J2 the 1st pin, the 2nd pin and 3 pins connect.
In the present embodiment, as shown in Fig. 3 and Figure 15, the combustable gas concentration sensor interface circuitry 8 is inserted including three pin Pin J3, the 1st pin of the three pin contact pin J3 are connected with the 5V voltage output ends of power module 2, and the 2nd of the three pin contact pin J3 the Pin is connected with the 10th pin of STM32F103RET6 microcontrollers, the 3rd pin ground connection of the three pin contact pin J3;It is described can Combustion gas concentration sensors 14 are combustable gas concentration sensor MQ-5, the power end of the combustable gas concentration sensor MQ-5 Pin, Transistor-Transistor Logic level output pin and earth terminal pin are corresponding in turn to be drawn with three pin contact pin J3 the 1st pin, the 2nd pin and the 3rd Pin connects.
In the present embodiment, as shown in Fig. 3 and Figure 16, the PM2.5 sensor interface circuitries 9 include four pin contact pin J4, institute The 1st pin for stating four pin contact pin J4 is connected with the 5V voltage output ends of power module 2, the 2nd pin of the four pin contact pin J4 and 3rd pin is corresponding in turn to be connected with the 16th pin of STM32F103RET6 microcontrollers and the 17th pin, the four pin contact pin J4 The 4th pin ground connection;Power end pin, the signal of the PM2.5 sensors 15 receive pin, signal sends pin and earth terminal Pin is corresponding in turn to be connected with four pin contact pin J4 the 1st pin, the 2nd pin, the 3rd pin and the 4th pin.
It is of the present utility model in use, Temperature Humidity Sensor 12 carries out detection in real time to the humiture of home environment and will inspection The signal measured is transferred to STM32 microcontrollers 1, harmful gas concentration sensor 13 by Temperature Humidity Sensor interface circuit 6 Harmful gas concentration in home environment detect in real time and the signal detected is passed through into harmful gas concentration sensor Interface circuit 7 is transferred to STM32 microcontrollers 1, and combustable gas concentration sensor 14 is to the combustable gas concentration in home environment Detect in real time and the signal detected is transferred to STM32 microcontrollers by combustable gas concentration sensor interface circuitry 8 Device 1, PM2.5 sensors 15 to the PM2.5 particle concentrations in home environment detect in real time and lead to the signal detected Cross PM2.5 sensor interface circuitries 9 and be transferred to STM32 microcontrollers 1, STM32 microcontrollers 1 can be received warm and humid Degree signal, harmful gas concentration signal, combustable gas concentration signal and PM2.5 particle concentrations signal pass through WIFI communication modules 3 are transferred in the WIFI network of family, and for equipment of the user by being connected in WIFI network, such as computer, mobile phone enters Row is checked.
Further, since the utility model is designed with I/O Interface Expandings circuit 4, therefore, when using of the present utility model When family needs to increase new monitoring function (such as monitoring home environment illuminance, brightness), it can easily increase new inspection Sensor is surveyed, without the monitoring device more renewed, moreover, when the utility model is sold as production, can also be passed through Different sensors is configured, realizes different monitoring functions, versatility is good.
It is described above, only it is preferred embodiment of the present utility model, not the utility model is imposed any restrictions, every Any simple modification, change and the equivalent structure change made according to the utility model technical spirit to above example, still Belong in the protection domain of technical solutions of the utility model.

Claims (10)

  1. A kind of 1. home environment quality monitoring device based on WIFI communications, it is characterised in that:Including STM32 microcontrollers (1) With the power module (2) for each electricity consumption module for power supply in device, and the crystal oscillating circuit to connect with STM32 microcontrollers (1) (10), reset circuit (11), WIFI communication modules (3), I/O Interface Expandings circuit (4) and serial communication circuit (5);The electricity Source module (2) includes 5V rechargeable batteries (2-1) and turns 3.3V voltage conversions with the 5V that the output end of 5V rechargeable batteries (2-1) is connected Circuit (2-2), the output end of the 5V rechargeable batteries (2-1) are the 5V voltage output ends of power module (2), and the 5V turns 3.3V The output end of voltage conversion circuit (2-2) is the 3.3V voltage output ends of power module (2);The STM32 microcontrollers (1) Temperature Humidity Sensor interface circuit (6), harmful gas concentration sensor interface circuitry (7) and fuel gas are connected on I/O interfaces Concentration sensor interface circuit (8), PM2.5 sensor interface circuitries (9) are connected on the serial ports of the STM32 microcontrollers (1); Temperature Humidity Sensor (12), the harmful gas concentration sensor interface are connected on the Temperature Humidity Sensor interface circuit (6) Harmful gas concentration sensor (13) is connected on circuit (7), being connected on the combustable gas concentration sensor interface circuitry (8) can Combustion gas concentration sensors (14), PM2.5 sensors (15) are connected on the PM2.5 sensor interface circuitries (9);The WIFI Communication module (3) is ESP8266 serial ports WIFI modules, the UART_TX pins and STM32 of the ESP8266 serial ports WIFI module The serial ports of microcontroller (1) receives pin connection, UART_RX pins and the STM32 micro-controls of the ESP8266 serial ports WIFI module The serial ports of device (1) processed sends pin connection.
  2. 2. according to the home environment quality monitoring device based on WIFI communications described in claim 1, it is characterised in that:The electricity Source module (2) also includes the power indicating circuit (2-3) being connected with the output end of 5V rechargeable batteries (2-1), and the 5V turns 3.3V Voltage conversion circuit (2-2) includes voltage regulator chip ASM1117-3.3V, nonpolar electric capacity C1, polar capacitor C2 and nonpolar electricity Hold C3, the 3rd pin of the voltage regulator chip ASM1117-3.3V is connected with the output end of 5V rechargeable batteries (2-1), and is passed through Nonpolar electric capacity C1 ground connection;The 1st pin ground connection of the voltage regulator chip ASM1117-3.3V, the voltage regulator chip ASM1117-3.3V the 2nd pin is the 3.3V voltage output ends that 5V turns 3.3V voltage conversion circuits (2-2), and passes through parallel connection Polar capacitor C2 and nonpolar electric capacity C3 ground connection;The power indicating circuit (2-3) includes light emitting diode D1 and resistance R3, institute The anode for stating light emitting diode D1 is connected by resistance R3 with the output end of 5V rechargeable batteries (2-1), the light emitting diode D1 Minus earth.
  3. 3. according to the home environment quality monitoring device based on WIFI communications described in claim 1, it is characterised in that:It is described STM32 microcontrollers (1) are STM32F103RET6 microcontrollers.
  4. 4. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:The crystalline substance The circuit (10) that shakes includes crystal oscillator Y1, nonpolar electric capacity C6 and nonpolar electric capacity C7, one end of the crystal oscillator Y1 and nonpolar electric capacity C7 one end is connected with the 5th pin of STM32F103RET6 microcontrollers, the other end and nonpolar electric capacity of the crystal oscillator Y1 C6 one end is connected with the 6th pin of STM32F103RET6 microcontrollers, the other end of the nonpolar electric capacity C7 and non-pole The property electric capacity C6 other end is grounded;The reset circuit (11) includes the first reset circuit and the second reset circuit, and described One reset circuit includes reset key K1 and resistance R1, the reset key K1 one end and STM32F103RET6 microcontrollers The connection of the 35th pin, and be connected by resistance R1 with the 3.3V voltage output ends of power module (2), the reset key K1's The other end is grounded;Second reset circuit includes reset key K2, resistance R2 and electric capacity C4, and the one of the reset key K2 The one end at end, resistance R2 one end and electric capacity C4 is connected with the 7th pin of STM32F103RET6 microcontrollers, the reset The button K2 other end and the electric capacity C4 other end are grounded, the other end of the resistance R2 and the 3.3V electricity of power module (2) Press output end connection.
  5. 5. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:It is described The UART_TX pins of ESP8266 serial ports WIFI modules are connected with the 30th pin of STM32F103RET6 microcontrollers, described The UART_RX pins of ESP8266 serial ports WIFI modules are connected with the 29th pin of STM32F103RET6 microcontrollers.
  6. 6. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:The I/ O Interface expanded circuit (4) includes the one 2 × 8th double contact pin P1, the 22 × 8th double contact pin P2, the 32 × 8th double contact pin P3 With the 42 × 8th double contact pin P4, the 1st pin and the 13rd pin of the one 2 × 8th double contact pin P1 with power module (2) The connection of 3.3V voltage output ends, the 2nd~11 pin of the one 2 × 8th double contact pin P1 be corresponding in turn to The 2nd~11 pin connection of STM32F103RET6 microcontrollers, the 12nd pin ground connection of the one 2 × 8th double contact pin P1, The 14th~16 pin of one 2 × 8th double contact pin P1 is corresponding in turn to the 14th~16 with STM32F103RET6 microcontrollers Pin connects;The 3rd pin and the 16th pin of 22 × 8th double contact pin P2 is defeated with the 3.3V voltages of power module (2) Go out end connection, the 1st pin of the 22 × 8th double contact pin P2 connects with the 17th pin of STM32F103RET6 microcontrollers Connecing, the 2nd pin and the 15th pin of the 22 × 8th double contact pin P2 are grounded, and the of the 22 × 8th double contact pin P2 4~14 pins are corresponding in turn to be connected with the 20th~30 pin of STM32F103RET6 microcontrollers;Described 32 × 8th is double slotting Pin P3 the 1st~14 pin is corresponding in turn to be connected with the 33rd~46 pin of STM32F103RET6 microcontrollers, and the described 3rd 2 × 8 double contact pin P3 the 15th pin ground connection, the 16th pin and the power module (2) of the 32 × 8th double contact pin P3 3.3V voltage output ends connect;The 1st~14 pin of 42 × 8th double contact pin P4 is corresponding in turn to and STM32F103RET6 The 49th~62 pin connection of microcontroller, the 15th pin ground connection of the 42 × 8th double contact pin P4, the described 42 × 8th Double contact pin P4 the 16th pin is connected with the 3.3V voltage output ends of power module (2);The serial communication circuit (5) includes Four pin contact pin Usart1, the 1st pin of the four pin contact pin Usart1 are connected with the 5V voltage output ends of power module (2), institute State four pin contact pin Usart1 the 2nd pin and the 3rd pin be corresponding in turn to the 42nd pin of STM32F103RET6 microcontrollers and 43rd pin connects, the 4th pin ground connection of the four pin contact pin Usart1.
  7. 7. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:The temperature Humidity sensor interface circuit (6) includes three pin contact pin J1, the 1st pin of the three pin contact pin J1 and the 5V of power module (2) Voltage output end is connected, and the 2nd pin of the three pin contact pin J1 is connected with the 9th pin of STM32F103RET6 microcontrollers, institute State three pin contact pin J1 the 3rd pin ground connection;The Temperature Humidity Sensor (12) is Temperature Humidity Sensor DHT11, the humiture Sensor DHT11 power end pin, signal output pin and earth terminal pin is corresponding in turn to be drawn with the 1st of three pin contact pin J1 Pin, the 2nd pin and the connection of the 3rd pin.
  8. 8. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:It is described to have Evil gas concentration sensor interface circuit (7) includes three pin contact pin J2, the 1st pin and power module of the three pin contact pin J2 (2) 5V voltage output ends connection, the 2nd pin of the three pin contact pin J2 draw with the 44th of STM32F103RET6 microcontrollers Pin connects, the 3rd pin ground connection of the three pin contact pin J2;The harmful gas concentration sensor (13) passes for harmful gas concentration Sensor MQ-135, power end pin, Transistor-Transistor Logic level output pin and the earth terminal of the harmful gas concentration sensor MQ-135 draw Pin is corresponding in turn to be connected with three pin contact pin J2 the 1st pin, the 2nd pin and the 3rd pin.
  9. 9. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:It is described can Combustion gas concentration sensors interface circuit (8) includes three pin contact pin J3, the 1st pin and power module of the three pin contact pin J3 (2) 5V voltage output ends connection, the 2nd pin of the three pin contact pin J3 draw with the 10th of STM32F103RET6 microcontrollers Pin connects, the 3rd pin ground connection of the three pin contact pin J3;The combustable gas concentration sensor (14) passes for combustable gas concentration Sensor MQ-5, the combustable gas concentration sensor MQ-5 power end pin, Transistor-Transistor Logic level output pin and earth terminal pin according to Secondary correspondence is connected with three pin contact pin J3 the 1st pin, the 2nd pin and the 3rd pin.
  10. 10. according to the home environment quality monitoring device based on WIFI communications described in claim 3, it is characterised in that:It is described PM2.5 sensor interface circuitries (9) include four pin contact pin J4, the 1st pin of the four pin contact pin J4 and the 5V of power module (2) Voltage output end is connected, and the 2nd pin and the 3rd pin of the four pin contact pin J4 are corresponding in turn to and STM32F103RET6 microcontrollers 16th pin of device and the connection of the 17th pin, the 4th pin ground connection of the four pin contact pin J4;The PM2.5 sensors (15) Power end pin, signal receive pin, signal sends pin and earth terminal pin is corresponding in turn to and drawn with the 1st of four pin contact pin J4 Pin, the 2nd pin, the 3rd pin and the connection of the 4th pin.
CN201721157815.6U 2017-09-11 2017-09-11 Home environment quality monitoring device based on WIFI communications Expired - Fee Related CN207197576U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721157815.6U CN207197576U (en) 2017-09-11 2017-09-11 Home environment quality monitoring device based on WIFI communications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721157815.6U CN207197576U (en) 2017-09-11 2017-09-11 Home environment quality monitoring device based on WIFI communications

Publications (1)

Publication Number Publication Date
CN207197576U true CN207197576U (en) 2018-04-06

Family

ID=61791918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721157815.6U Expired - Fee Related CN207197576U (en) 2017-09-11 2017-09-11 Home environment quality monitoring device based on WIFI communications

Country Status (1)

Country Link
CN (1) CN207197576U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108627617A (en) * 2018-05-17 2018-10-09 合肥杜威智能科技股份有限公司 A kind of air quality display system
CN109000733A (en) * 2018-08-15 2018-12-14 西安科技大学 Visibility sensor and its detection method based on simulated annealing optimization neural network
CN109085099A (en) * 2018-08-15 2018-12-25 深圳源创智能照明有限公司 The application of visibility sensor, visibility detecting method and visibility sensor
CN109841049A (en) * 2019-03-04 2019-06-04 安徽理工大学 A kind of natural gas automobile fuel gas monitoring system
CN109905307A (en) * 2019-03-07 2019-06-18 中国海洋大学 A kind of CAN bus based multichannel nutrients in sea water detector control system and control method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108627617A (en) * 2018-05-17 2018-10-09 合肥杜威智能科技股份有限公司 A kind of air quality display system
CN109000733A (en) * 2018-08-15 2018-12-14 西安科技大学 Visibility sensor and its detection method based on simulated annealing optimization neural network
CN109085099A (en) * 2018-08-15 2018-12-25 深圳源创智能照明有限公司 The application of visibility sensor, visibility detecting method and visibility sensor
CN109085099B (en) * 2018-08-15 2021-06-11 深圳源码智能照明有限公司 Visibility sensor, visibility detection method and application of visibility sensor
CN109841049A (en) * 2019-03-04 2019-06-04 安徽理工大学 A kind of natural gas automobile fuel gas monitoring system
CN109905307A (en) * 2019-03-07 2019-06-18 中国海洋大学 A kind of CAN bus based multichannel nutrients in sea water detector control system and control method
CN109905307B (en) * 2019-03-07 2021-12-03 中国海洋大学 CAN bus-based multi-channel seawater nutrient salt detector control system and control method

Similar Documents

Publication Publication Date Title
CN207197576U (en) Home environment quality monitoring device based on WIFI communications
CN202033893U (en) Wireless electricity meter reader
CN208297758U (en) A kind of solar energy weather station system of intelligent and portable
CN207992159U (en) A kind of low-consumption wireless combustible gas detecting device based on LoRa
CN203869731U (en) Methane tank environmental parameters monitoring apparatus
CN204884128U (en) Building environmental monitoring system based on WIFI
CN103760863B (en) Stench class gas based on sensor network and VOCs monitor system
CN201045621Y (en) Electric energy meter with power-off meter reading power supply device
CN201653448U (en) Sensor automatic collecting device with manual comparison function
CN107991943A (en) A kind of parameter tester of portable type solar energy electricity generation system
CN203575841U (en) Solar WIFI (Wireless Fidelity) knapsack
CN107102584A (en) A kind of superfine particulate matter and VOCs field monitoring node
CN206564571U (en) A kind of photovoltaic confluence device
CN206237186U (en) Electronic cigarette and its power supply architecture
CN212727059U (en) Photovoltaic energy storage monitoring gateway device based on loRa
CN204559510U (en) Based on the photovoltaic monitoring system base station circuitry of Internet of Things
CN208923305U (en) The more string low-speed vehicle lithium battery management systems waken up by external power supply
CN204731340U (en) A kind of portable Intelligent terminal for Internet of things equipment failure intelligent detecting instrument
CN106931948A (en) A kind of hydrological telemetry instrument
CN205910309U (en) Intelligence digital chip detector
CN206099431U (en) Battery adapter
CN201522465U (en) Wireless methane gas sensor device
CN205193987U (en) Wireless sensor's network node for forest fire prevention
CN204967348U (en) Novel two couple portable power source of putting that fill
CN206177866U (en) Self -power intelligence gas test system

Legal Events

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

Granted publication date: 20180406

Termination date: 20180911