Capnometer based on Wi-Fi transmission
Technical field
This utility model relates to a kind of capnometer based on Wi-Fi transmission.
Background technology
Along with the development of Building technology, the gravity-flow ventilation performance of a lot of buildings worse and worse, is especially using air-conditioning
Season, door and window closed especially, it is necessary to improve performance of ventilating by ventilation installation, and IAQ (indoor air quality) is increasingly carried out weight by people
Depending on, wherein carbon dioxide content is a critically important measurement index, and the breathing of people can make indoor carbon dioxide content raise, two
The symptom such as dizziness headache, unconsciousness can be caused when content of carbon oxide is higher, can causing death, therefore people's needs time serious
Solving indoor carbon dioxide content, ventilation installation is also required to carbon dioxide content as controlling foundation, the carbon dioxide that will monitor
Content is uploaded onto the server by the Internet, and people the terminal such as mobile phone, computer can check these data easily, and ventilation sets
The standby data that can also obtain are as controlling foundation.
Utility model content
Technical problem to be solved in the utility model is: provide a kind of capnometer based on Wi-Fi transmission.
Solving above-mentioned technical problem, the technical scheme that this utility model is used is as follows:
A kind of capnometer based on Wi-Fi transmission, it is characterised in that: described capnometer is provided with place
Manage device, carbon dioxide sensor, data memory module, real-time clock module and be used for the power supply powered for capnometer
Module, wherein, described processor is with Wi-Fi module and is provided with I2C interface, memory interface, clock interface and power interface,
Described processor can access the Internet by described Wi-Fi module, and described processor can will be inputted by described I2C interface
Sensing data and the present system time inputted by described clock interface are packed and are sent out by packing data by described Wi-Fi module
Give the same server accessing described the Internet;Described carbon dioxide sensor, data memory module, real-time clock module and
Power module connects I2C interface, memory interface, clock interface and the power interface of described processor respectively.
As a kind of preferred implementation of the present utility model, described capnometer is additionally provided with display module;
Described processor is additionally provided with display interface device, described I2C interface the sensing data inputted can also be shown by described processor
On the display device that described display interface device is connect;Described display module connects the display interface device of described processor.
As a kind of preferred implementation of the present utility model, described capnometer is additionally provided with RS485 communication
Module;Described processor is additionally provided with RS485 communication interface, and described RS485 communication module connects the RS485 communication of described processor
Interface, the external equipment that described RS485 communication module is connect can be read by described RS485 communication module and be connect by described I2C
The sensing data of mouth input processor.
As a kind of preferred implementation of the present utility model, described capnometer is additionally provided with digital-to-analogue conversion mould
Block;Described processor connects described D/A converter module, the sensing data that described processor can will be inputted by described I2C interface
It is converted into analog signal output by described D/A converter module.
As a kind of preferred implementation of the present utility model, described capnometer is additionally provided with audible alarm mould
Block;Described processor is additionally provided with alarm signal output ends, and the alarm signal output ends of described processor can connect by described I2C
The sensing data of mouthful input produces warning drive signal when exceeding preset alarm value, described audible alarm module by buzzer and
Drive circuit forms, and described buzzer connects the alarm signal output ends of described processor by its drive circuit.
As a kind of preferred implementation of the present utility model, described capnometer is additionally provided with replacement button mould
Block;Described replacement key-press module is by resetting button and drive circuit forms, and described replacement button is connected by its drive circuit
The replacement port of described processor.
As a kind of preferred implementation of the present utility model, described server comprises LAN server and outer net cloud
Server.
As a kind of preferred implementation of the present utility model, described processor by described Wi-Fi module with TCP, UDP
With any one communication protocol in HTTP, described packing data is sent to described server.
As a kind of preferred implementation of the present utility model, described packing data can also be preserved by described processor
In described data memory module.
As a kind of preferred implementation of the present utility model, in described data memory module, record has described carbon dioxide
Sensor corresponding measuring point coding and measuring point title, described processor can by the sensing data inputted by described I2C interface, by
The present system time of described clock interface input and the measuring point read by described memory interface are encoded and measuring point name
Claim to pack together, and be sent to access equally the server of described the Internet by described Wi-Fi module.
Compared with prior art, this utility model has the advantages that
First, carbon dioxide sensing data that carbon dioxide sensor can be collected by this utility model and real-time clock
The present system time packing of module output, and by Wi-Fi module, packing data is sent to server so that user is permissible
Mobile phone or computer is used to get carbon dioxide sensing data from server.
Second, this utility model can be by RS485 communication interface and D/A converter module output carbon dioxide sensing number
According to, use for on-the-spot miscellaneous equipment (such as new blower fan).
3rd, this utility model can show current carbon dioxide sensing data by display module, and user can be
On-the-spot directly observed data.
4th, this utility model can pass through audible alarm module when carbon dioxide sensing data exceed preset alarm value
Sending alarm sound, call user's attention is ventilated.
In sum, this utility model can the carbon dioxide data of monitoring of environmental, there is the excellent of easy to use, low cost
Point.
Accompanying drawing explanation
The utility model is described in further detail with specific embodiment below in conjunction with the accompanying drawings:
Fig. 1 is the schematic block circuit diagram of capnometer of the present utility model;
Fig. 2 is the data transfer mode schematic diagram of capnometer of the present utility model and external equipment.
Detailed description of the invention
As depicted in figs. 1 and 2, the capnometer that this utility model transmits based on Wi-Fi, be provided with processor, two
Carbonoxide sensor, data memory module, real-time clock module and for the power module powered for capnometer;Its
In, in data memory module, record has the measuring point coding and measuring point title that carbon dioxide sensor is corresponding, and processor is with Wi-Fi
Module is also provided with I2C interface, memory interface, clock interface and power interface, and processor can be accessed mutually by Wi-Fi module
Networking, present system time that processor by the sensing data inputted by I2C interface, can be inputted by clock interface and passing through
The measuring point coding that memory interface reads is packed together with measuring point title, and by Wi-Fi module with in TCP, UDP and HTTP
Any one communication protocol packing data is sent to access equally the server of the Internet.Carbon dioxide sensor, data
Memory module, real-time clock module and power module connect respectively the I2C interface of processor, memory interface, clock interface and
Power interface.
Capnometer of the present utility model also can have additional display module;Processor is additionally provided with display interface device,
The sensing data inputted by I2C interface can also be shown on the display device that display interface device is connect by processor;Display mould
Block connects the display interface device of processor.
Capnometer of the present utility model also can have additional RS485 communication module;Processor is additionally provided with RS485 and leads to
Communication interface, RS485 communication module connects the RS485 communication interface of processor, and the external equipment that RS485 communication module is connect can
Read by the sensing data of I2C interface input processor by RS485 communication module.
Capnometer of the present utility model also can have additional D/A converter module;Processor connects digital-to-analogue conversion mould
Block, I2C interface the sensing data inputted can be converted into analog signal output by D/A converter module by processor.
Capnometer of the present utility model also can have additional audible alarm module;Processor is additionally provided with alarm signal
Outfan, the alarm signal output ends of processor can be produced when the sensing data inputted by I2C interface exceedes preset alarm value
Raw warning drive signal, audible alarm module is made up of buzzer and drive circuit thereof, and buzzer is connected by its drive circuit
The alarm signal output ends of processor.
Capnometer of the present utility model also can have additional replacement key-press module;Reset key-press module to press by resetting
Key and drive circuit composition thereof, reset button and connected the replacement port of processor by its drive circuit, to recover processor
Default parameters.
As optimum embodiment of the present utility model: the model of above-mentioned processor is CC3200, and this processor can also
The system time of server is obtained and by the system time synchronization that gets to real-time clock module by Wi-Fi module, and,
Packing data data can also be saved in data memory module and can be by Wi-Fi module simultaneously to local by this processor
Network server and outer net Cloud Server send packing data.Above-mentioned data memory module by SPI flash storage chip and
Peripheral circuit forms, and real-time clock module is made up of DS3232 chip and peripheral circuit thereof.Above-mentioned display module includes TN segmentation
Liquid crystal display screen and drive circuit thereof;TN segment liquid crystal screen connects the display interface device of processor by its drive circuit.Above-mentioned RS485
Communication module is made up of MAX485 chip itself and peripheral circuit.Above-mentioned D/A converter module is by AD5721R chip and peripheral electricity thereof
Road forms.
The capnometer of the present utility model working method under optimum embodiment is as follows:
Processor reads carbon dioxide sensor data by I2C interface, data is shown on liquid crystal display screen, realizes simultaneously
Following function: 1. processor connects LAN server and outer net Cloud Server, and when obtaining the system of LAN server
Between, real-time clock module will be time-synchronized to;2. periodically by carbon dioxide data and present system time, measuring point coding and survey
LAN server and outer net Cloud Server are mail in some title packing, if the failure of Connection Service device, the most temporarily store data in
In Flash memory chip, the most again upload after waiting the success of Connection Service device, it is ensured that do not have loss of data;If 3. enabling
Carbon dioxide warning function, when carbon dioxide content exceedes alarming value, driving buzzer is sent alarm sound by monitor;④
If enabling RS485 interface, monitor can accept standard Modbus RTU instruction, and miscellaneous equipment can pass through RS485 interface
Read carbon dioxide content;If 5. enabling analog signal output function, carbon dioxide data is believed by monitor in real time with voltage
Number output, voltage signal has tetra-kinds of forms of 0-5V, 0-10V, 0-16V, 0-20V optional.It addition, pin replacement key-press module 5 seconds
Above, processor can be carried out systematic parameter replacement.
This utility model is not limited to above-mentioned detailed description of the invention, according to foregoing, according to the ordinary skill of this area
Knowledge and customary means, without departing under this utility model above-mentioned basic fundamental thought premise, this utility model can also be made
The equivalent modifications of other various ways, replace or change, all fall among protection domain of the present utility model.