A kind of based on the energy-conservation environment monitoring device knocking switch
Technical field
This utility model relates to environmental monitoring technology field, particularly a kind of based on the energy-conservation environment monitoring device knocking switch.
Background technology
Along with public growths in the living standard, living environment is increasingly paid close attention to by everybody, the temperature of environment, humidity and PM2.5 data are all the environmental index that everybody pays close attention to, public custom selects the clothes of trip, object wearing device according to real-time temperature, humidity, PM2.5 data, or even determines whether to go on a journey according to above-mentioned environmental index;And the related data that public service provides is mostly for large range of general data, public actual demands can not be met, and existing domestic environment monitoring device all generally has the series of problems such as high, the operation inconvenience of functional defect (can not simultaneously monitor multinomial environmental index), power consumption.
Utility model content
Goal of the invention of the present utility model is in that: generally can not monitor multinomial environmental index for existing urgent need environment monitoring device simultaneously, and power consumption height when using, unhandy problem, there is provided one can monitor multinomial environmental index simultaneously, the automatic or controlled dormancy in the not used time, thus reducing energy consumption, environment monitoring device easy and simple to handle.
To achieve these goals, the technical solution adopted in the utility model is:
A kind of based on the energy-conservation environment monitoring device knocking switch, including microcontroller, the first power module, sensor assembly, display module, wireless communication module and serial communication modular;Described first power module, sensor assembly, display module, wireless communication module and serial communication modular are all connected with described microcontroller;Described first power module is for powering to microcontroller;Described sensor assembly is used for monitoring of environmental data, and described environmental data is sent to microcontroller;Described display module is used for showing described environmental data;
Described monitoring device also includes second source module;Described second source module is connected with described sensor assembly, display module, wireless communication module and serial communication modular by a gate-controlled switch simultaneously;Described second source module is for powering to described sensor assembly, display module, wireless communication module and serial communication modular;Described gate-controlled switch is connected with described microcontroller;
Described monitoring device also includes knocking module and vibrations coding module;Described module of knocking is connected with described microcontroller by described vibrations coding module;Described module of knocking is for gathering hammer action and forming vibration signal, and described vibration signal is converted to digital data transmission to microcontroller by described vibrations coding module, and described microcontroller controls the unlatching of described gate-controlled switch after receiving described digital signal;
Described sensor assembly includes humidity sensor, PM2.5 sensor and temperature sensor;It is well known that described humidity sensor is for the humidity data in monitoring of environmental, and it is sent to microcontroller;Described temperature sensor is for the temperature data in monitoring of environmental, and is sent to microcontroller;Described PM2.5 sensor is for the PM2.5 data in monitoring of environmental and is sent to microcontroller.Described microcontroller is shown in display module after receiving above-mentioned data.
Concrete, described gate-controlled switch is closed at ordinary times, now, described sensor assembly, display module, it is separated that wireless communication module and serial communication modular are powered with described second source, described environment monitoring device is only that microcontroller is powered by the first power supply, and user need use time, by knock described in knocking module (or according to default " unlatching " mode of knocking knock described in knock module), after microcontroller receives knocking by vibrations coding module, control described gate-controlled switch to connect, control each sensor acquisition environmental data of described sensor assembly simultaneously;Subsequently the environmental data received is shown in display module for controller;When user thinks close monitoring device, can pass through again knock described in knock module (or according to default " closedown " mode knock described in knock module);Microcontroller turns off described gate-controlled switch, thus saving energy;And in other embodiment, even if user again do not knock described in knock module (or according to default " closedown " mode knock described in knock module), after Preset Time (such as 20s-10min), described microcontroller still cuts out described gate-controlled switch.
Further, described monitoring device also includes alarm module, being provided with the predetermined threshold value of respective environment data in described microcontroller, when the data that described humidity sensor, PM2.5 sensor or temperature sensor monitors arrive are beyond predetermined threshold value, described alarm module sends alarm;Preferably, described alarm can be audible and visible alarm.
Further, described wireless communication module is WIFI module, bluetooth 4.2 module, Sub1G wireless communication module or GPRS module;Preferably, described WIFI module is PassiveWi-Fi module.
Further, described display module is LCDs or touch screen.
In sum, owing to have employed technique scheme, the beneficial effects of the utility model are:
This utility model provide based on the energy-conservation environment monitoring device knocking switch, be integrated with the multiple functions such as humidity detection, temperature monitoring, PM2.5 monitoring simultaneously, the humidity data of its local environment, temperature data and PM2.5 data can be provided the user simultaneously;Simultaneously, in this device, the second source module powered for sensor assembly and display module is connected with display module, temperature monitoring sensor, humidity detection sensor and PM2.5 sensor by gate-controlled switch, adopt microcontroller to receive to knock instruction and be turned on and off the mode of this gate-controlled switch and control the power supply of second source module, thus saving energy to the full extent, increase service time of battery.
Accompanying drawing explanation
Fig. 1 is structural representation of the present utility model.
Detailed description of the invention
Below in conjunction with accompanying drawing, this utility model is described in detail.
In order to make the purpose of this utility model, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, this utility model is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain this utility model, be not used to limit this utility model.
As it is shown in figure 1, this utility model provides a kind of based on the energy-conservation environment monitoring device knocking switch, including microcontroller the 1, first power module 3, sensor assembly, display module, wireless communication module 4 and serial communication modular 5;Described first power module 3, sensor assembly, display module, wireless communication module 4 and serial communication modular 5 are all connected with described microcontroller 1;Described first power module 3 is for powering to microcontroller 1;
Described monitoring device also includes second source module;Described second source module is connected (omitting this described connection in Fig. 1) by a gate-controlled switch 7 simultaneously with described sensor assembly, display module, wireless communication module 4 and serial communication modular 5;Described second source module is for powering to described sensor assembly, display module, wireless communication module 4 and serial communication modular 5;Described gate-controlled switch 7 is connected with described microcontroller 1;
Described monitoring device also includes knocking module 9 and vibrations coding module 8;Described module 9 of knocking is connected with described microcontroller 1 by described vibrations coding module 8;Described module 9 of knocking is for gathering hammer action and forming vibration signal, described vibration signal is converted to digital data transmission to microcontroller 1 by described vibrations coding module 8, and described microcontroller 1 controls the unlatching of described gate-controlled switch 7 after receiving described digital signal;
Described sensor assembly includes humidity sensor 21, PM2.5 sensor 23 and temperature sensor 22;It is well known that described humidity sensor 21 is for the humidity data in monitoring of environmental, and it is sent to microcontroller 1;Described temperature sensor 22 is for the temperature data in monitoring of environmental, and is sent to microcontroller 1;Described PM2.5 sensor 23 for the PM2.5 data in monitoring of environmental and is sent to microcontroller 1.Described microcontroller 1 is shown in display module after receiving above-mentioned data.
Concrete, described gate-controlled switch 7 is closed time flat, now, described sensor assembly, display module, separated with described second source of wireless communication module 4 and serial communication modular 5 power supply, described environment monitoring device is only that microcontroller 1 is powered by the first power supply, and user need use time, by knock described in knocking module 9(or according to default " unlatching " mode of knocking knock described in knock module 9), after microcontroller 1 receives knocking by vibrations coding module 8, control described gate-controlled switch 7 to connect, control each sensor acquisition environmental data of described sensor assembly simultaneously;Subsequently the environmental data received is shown in display module for controller;When user thinks close monitoring device, can pass through again knock described in knock module 9(or according to default " closedown " mode knock described in knock module 9);Microcontroller 1 turns off described gate-controlled switch 7, thus saving energy;And in other embodiment, even if user again do not knock described in knock module 9(or according to default " closedown " mode knock described in knock module 9), after Preset Time (such as 20s-10min), described microcontroller 1 still cuts out described gate-controlled switch 7.
Preferably, in the present embodiment, microcontroller 1 adopts STC12C2052AD;The present embodiment, in order to reduce volume, have employed Temperature Humidity Sensor and substitutes independent humidity sensor 21 and temperature sensor 22 simultaneously;Specifically adopt DHT11;In the present embodiment, PM2.5 sensor 23 adopts GP2Y1010AU0F;Serial communication modular 5 adopts CH340G, it is achieved USB turns serial ports.
Further, described monitoring device also includes alarm module, being provided with the predetermined threshold value of respective environment data in described microcontroller 1, when the data that described humidity sensor 21, PM2.5 sensor 23 or temperature sensor 22 monitor are beyond predetermined threshold value, described alarm module sends alarm;Preferably, described alarm can be audible and visible alarm.
Further, described wireless communication module 4 is WIFI module, bluetooth 4.2 module, Sub1G wireless communication module 4 or GPRS module;Preferably, described WIFI module is PassiveWi-Fi module.
Further, described display module is LCDs or touch screen.
Concrete, in certain embodiments, the sensor assembly of described monitoring device other segment sets optional and monitoring device are integrally forming, or, it is provided separately with other parts of monitoring device, when sensor assembly is provided separately, described sensor assembly may be provided at open air, (such as user outside window);And other parts monitoring device are disposed in the interior;Two parts are connected by winding displacement.
The foregoing is only preferred embodiment of the present utility model, not in order to limit this utility model, all any amendment, equivalent replacement and improvement etc. made within spirit of the present utility model and principle, should be included within protection domain of the present utility model.