CN107515236A - A kind of water logging radio transmission transducing device - Google Patents
A kind of water logging radio transmission transducing device Download PDFInfo
- Publication number
- CN107515236A CN107515236A CN201710851520.7A CN201710851520A CN107515236A CN 107515236 A CN107515236 A CN 107515236A CN 201710851520 A CN201710851520 A CN 201710851520A CN 107515236 A CN107515236 A CN 107515236A
- Authority
- CN
- China
- Prior art keywords
- interface
- triode
- module
- change
- over circuit
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/02—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
- G01N27/22—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance
- G01N27/228—Circuits therefor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/02—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance
- G01N27/22—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance
- G01N27/223—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating impedance by investigating capacitance for determining moisture content, e.g. humidity
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
Landscapes
- Chemical & Material Sciences (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Electrochemistry (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a kind of water logging radio transmission transducing device, and it includes one-chip computer module, water logging detection module, UART signal modular converter, power module, Voltage stabilizing module, signal level modular converter, device numbering setup module;The power interface of one-chip computer module and the first output end of power module connect;The GPIO interface of one-chip computer module is connected with the output end of device numbering setup module;The UART2 interfaces of one-chip computer module are connected with water logging detection module;The UART1 interfaces of one-chip computer module are connected with signal level modular converter;Signal level modular converter is connected with UART signal modular converter;UART signal modular converter is also connected with Voltage stabilizing module;Power module is connected with Voltage stabilizing module.Beneficial effects of the present invention:Wiring is simple, improves transmission range, reduces production cost, and data security is good, and the data-signal that can detect water logging detection module is converted into WIFI, ZigBee, bluetooth these wireless signals and is transmitted.
Description
Technical field
The present invention relates to sensor and wireless communication technique field, particularly a kind of water logging radio transmission transducing device.
Background technology
Current water sensor generally uses wire communication mode, the shortcomings of difficult wiring, troublesome maintenance be present.It is current this
Class sensor popularity rate is still than relatively low, because engineering reliability and cost are not to control very well, and this kind of sensor
Data safety sex chromosome mosaicism also caused by transparent transmission.
And its measurement data signals is switched into the wireless signals such as WIFI, ZigBee, bluetooth and is transmitted, it can be very good
Solves problem above.
The content of the invention
In view of the drawbacks described above of prior art, it is an object of the invention to provide a kind of water logging radio transmission transducing device,
The data-signal that water logging detection module can be detected is converted into WIFI, ZigBee, bluetooth these wireless signals and is transmitted.
The purpose of the present invention realizes that a kind of water logging radio transmission transducing device, it includes by such technical scheme
Have:One-chip computer module, water logging detection module, UART signal modular converter, power module, Voltage stabilizing module, signal level modulus of conversion
Block, device numbering setup module;
The power interface K11 of the one-chip computer module is connected with the first output end K41 of the power module;The power supply
Second output end K42 of module is connected with the input K51 of the Voltage stabilizing module;
The UART2 interfaces K13 of the one-chip computer module is connected with the interface K21 of the water logging detection module;
The UART1 interfaces K14 of the one-chip computer module is connected with the input K61 of the signal level modular converter;
The output end K62 of the signal level modular converter and the UART signal modular converter input K32 connect
Connect;
The power interface K31 of the UART signal modular converter is connected with the output end K52 of the Voltage stabilizing module;
The GPIO interface K12 of the one-chip computer module is connected with the output end K71 of the device numbering setup module;
The circuit connection of the water logging detection module is as follows:Water logging detection chip U1 includes 8 interfaces, and the first of U1 connects
Mouth ground connection GND;U2 the 5th interface connects the first electric capacity C4, the other end ground connection of the first electric capacity C4;U1 the 3rd interface
For signal output part, it is connected with the GPIO interface K13 of single-chip microcomputer;It is after U1 the 8th interface is connected with the 4th interface and electric with power supply
Pressure connection;U1 the 7th interface is connected with first resistor R1 and while is connected with second resistance R4, the first resistor R1 other end
It is connected with supply voltage, the second resistance R4 other end is connected with the second electric capacity C5, the second electric capacity C5 other end ground connection;U1's
6th interface is connected with second interface, and is connected simultaneously with second resistance R4 and the second electric capacity C5;
Serial line interface P3 includes 4 interfaces, and P3 first interface is connected with the second electric capacity C5, P3 second interface and the
Two electric capacity C5 other end connection;P3 the 3rd interface connects the first wire, and P3 the 4th interface connects the second wire, and described the
One wire produces pulse signal when being contacted with the second wire with water.
Further, the UART signal modular converter includes:UART signal is mutually changed with WIFI signal, UART signal
Mutually changed with ZigBee signals, UART signal and Bluetooth signal are mutually changed.
Further, the signal level modular converter includes the first change-over circuit, the second change-over circuit, the 3rd conversion electricity
Road, the 4th change-over circuit;
MOD_TXD in first change-over circuit is connected with the signaling interface of the UART signal modular converter;First conversion
MCU_RX in circuit is connected with the signaling interface of the one-chip computer module;
MOD_RXD in second change-over circuit is connected with the signaling interface of the UART signal modular converter;Second conversion
MCU_TX in circuit is connected with the signaling interface of the one-chip computer module;
MOD_CFG in 3rd change-over circuit is connected with the signaling interface of the UART signal modular converter;3rd conversion
MCU_CFG in circuit is connected with the signaling interface of the one-chip computer module;
MOD_RST in 4th change-over circuit is connected with the signaling interface of the UART signal modular converter;4th conversion
MCU_RST in circuit is connected with the signaling interface of the one-chip computer module.
Further, when the MOD_TXD interfaces in the first change-over circuit are high level, the first triode Q3 cut-offs, second
Triode Q1 base stage is high level, and the second triode Q1 cut-offs, now the MCU_RX interfaces in the first change-over circuit are that 5V is high
Level;
When the MOD_TXD interfaces in the first change-over circuit are low level, the first triode Q3 conductings, the second triode Q1
Base stage be low level, the second triode Q1 conductings, now the MCU_RX interfaces in the first change-over circuit are low level.
Further, when the MCU_TX interfaces in the second change-over circuit are high level, the 3rd triode Q4 cut-offs, the four or three
Pole pipe Q2 base stage is high level, and the 4th triode Q2 cut-offs, now the MOD_RXD interfaces in the second change-over circuit are 3.3V
High level;
When the MCU_TX interfaces in the second change-over circuit are low level, the 3rd triode Q4 conductings, the 4th triode Q2
Base stage be low level, the 4th triode Q2 conductings, now the MOD_RXD interfaces in the second change-over circuit are low level.
Further, when the MCU_CFG interfaces in the 3rd change-over circuit are high level, the 5th triode Q7 cut-offs, the 6th
Triode Q5 base stage is high level, and the 6th triode Q5 cut-offs, now the MOD_CFG interfaces in the 3rd change-over circuit are
3.3V high level;
When the MCU_CFG interfaces in the 3rd change-over circuit are low level, the 5th triode Q7 conductings, the 6th triode Q5
Base stage be low level, the 6th triode Q5 conductings, now the MOD_CFG interfaces in the 3rd change-over circuit are low level.
Further, when the MCU_RST interfaces in the 4th change-over circuit are high level, the 7th triode Q8 cut-offs, the 8th
Triode Q6 base stage is high level, and the 8th triode Q6 cut-offs, now the MOD_RST interfaces in the 4th change-over circuit are
3.3V high level;
When the MCU_RST interfaces in the 4th change-over circuit are low level, the 7th triode Q8 conductings, the 8th triode Q6
Base stage be low level, the 8th triode Q6 conductings, now the MOD_RST interfaces in the 4th change-over circuit are low level.
Further, the power module is the power supply that size is 5V direct currents, and the Voltage stabilizing module includes TCP voltage stabilizings electricity
Source, the TCP voltage-stabilized power supplies size are 3.3V dc source.
Further, the power supply mode of the power module includes wired power supply, battery powered.
Further, the one-chip computer module is STM32 single-chip microcomputers;The water logging detection chip U1 is NE555 chips;Institute
State one-chip computer module and include 8 GPIO interface K12.
By adopting the above-described technical solution, the present invention has the advantage that:
(1) wiring of complexity is no longer needed;Transmission range is greatly improved;
(2) data conversion that water logging detection module detects can be entered into WIFI, ZigBee, bluetooth these wireless signals
Row transmission;
(3) modular design reduces production cost;
(4) encryption of data has ensured the safe and reliable of data.
Other advantages, target and the feature of the present invention will be illustrated in the following description to a certain extent, and
And to a certain extent, based on will be apparent to those skilled in the art to investigating hereafter, Huo Zheke
To be instructed from the practice of the present invention.The target and other advantages of the present invention can be wanted by following specification and right
Book is sought to realize and obtain.
Brief description of the drawings
The brief description of the drawings of the present invention is as follows:
Fig. 1 is the theory diagram of the present invention.
Fig. 2 is the signal level modular converter circuit connection diagram of the present invention.
Fig. 3 is the circuit connection diagram of the water logging detection module of the present invention.
In figure, 1 it is one-chip computer module, 2 is water logging detection module, 3 is UART signal modular converter, 4 is power module, 5
It is signal level modular converter for Voltage stabilizing module, 6,7 is device numbering setup module.
Embodiment
The invention will be further described with reference to the accompanying drawings and examples.
As shown in Figure 1 to Figure 3;A kind of water logging radio transmission transducing device, it includes:One-chip computer module 1, water logging detection mould
Block 2, UART signal modular converter 3, power module 4, Voltage stabilizing module 5, signal level modular converter 6, device numbering setup module
7;The one-chip computer module 1 is STM32 single-chip microcomputers;The one-chip computer module 1 includes 8 GPIO interface K12.
The power interface K11 of the one-chip computer module 1 is connected with the first output end K41 of the power module 4;The electricity
Second output end K42 of source module 4 is connected with the input K51 of the Voltage stabilizing module 5;Externally fed is given by power module 4
One-chip computer module 1, water logging detection module 2, Voltage stabilizing module 5, signal level modular converter 6, device numbering setup module 7 are powered,
Power supply size is 5V dc sources.
Wherein, externally fed can use the mode of wired power supply, can also use battery powered mode.Externally fed
5V DC voltages be connected to the output interface of power module 4.The Voltage stabilizing module 5 includes TCP voltage-stabilized power supplies, the TCP
Voltage-stabilized power supply size is 3.3V dc source.TCP voltage of voltage regulation 3.3V is connected to the output interface of Voltage stabilizing module 5.
The UART2 interfaces K13 of the one-chip computer module 1 is connected with the interface K21 of the water logging detection module 2;
The UART1 interfaces K14 of the one-chip computer module 1 is connected with the input K61 of the signal level modular converter 6;
The output end K62 of the signal level modular converter 6 and the UART signal modular converter 3 input K32 connect
Connect;
The power interface K31 of the UART signal modular converter 3 is connected with the output end K52 of the Voltage stabilizing module 5;Electricity
Source module 4 provides power supply to Voltage stabilizing module 5 and powered after decompression to UART signal modular converter 3;Voltage swing after decompression
For 3.3V dc sources.
The GPIO interface K12 of the one-chip computer module 1 is connected with the output end K71 of the device numbering setup module 7;
By the device numbering set in device numbering setup module 7, the different switching in same network can be distinguished from the background
The signal of device transmission.
Signal level modular converter is made up of components such as a series of resistance and triodes.The signal level modular converter
6 include the first change-over circuit, the second change-over circuit, the 3rd change-over circuit, the 4th change-over circuit;
MOD_TXD in first change-over circuit is connected with the signaling interface of the UART signal modular converter 3;First conversion
MCU_RX in circuit is connected with the signaling interface of the one-chip computer module 1;
MOD_RXD in second change-over circuit is connected with the signaling interface of the UART signal modular converter 3;Second conversion
MCU_TX in circuit is connected with the signaling interface of the one-chip computer module 1;
MOD_CFG in 3rd change-over circuit is connected with the signaling interface of the UART signal modular converter 3;3rd conversion
MCU_CFG in circuit is connected with the signaling interface of the one-chip computer module 1;
MOD_RST in 4th change-over circuit is connected with the signaling interface of the UART signal modular converter 3;4th conversion
MCU_RST in circuit is connected with the signaling interface of the one-chip computer module 1.
The operation principle of signal level modular converter 6, when the MOD_TXD interfaces in the first change-over circuit are high level,
First triode Q3 ends, and the second triode Q1 base stage is high level, and the second triode Q1 ends, now the first change-over circuit
In MCU_RX interfaces be 5V high level;
When the MOD_TXD interfaces in the first change-over circuit are low level, the first triode Q3 conductings, the second triode Q1
Base stage be low level, the second triode Q1 conductings, now the MCU_RX interfaces in the first change-over circuit are low level.
When the MCU_TX interfaces in the second change-over circuit are high level, the 3rd triode Q4 cut-offs, the 4th triode Q2
Base stage be high level, the 4th triode Q2 cut-offs, now the MOD_RXD interfaces in the second change-over circuit are 3.3V high level;
When the MCU_TX interfaces in the second change-over circuit are low level, the 3rd triode Q4 conductings, the 4th triode Q2
Base stage be low level, the 4th triode Q2 conductings, now the MOD_RXD interfaces in the second change-over circuit are low level.
Similarly, when the MCU_CFG interfaces in the 3rd change-over circuit are high level, the 5th triode Q7 cut-offs, the six or three
Pole pipe Q5 base stage is high level, and the 6th triode Q5 cut-offs, now the MOD_CFG interfaces in the 3rd change-over circuit are 3.3V
High level;
When the MCU_CFG interfaces in the 3rd change-over circuit are low level, the 5th triode Q7 conductings, the 6th triode Q5
Base stage be low level, the 6th triode Q5 conductings, now the MOD_CFG interfaces in the 3rd change-over circuit are low level.
Similarly, when the MCU_RST interfaces in the 4th change-over circuit are high level, the 7th triode Q8 cut-offs, the eight or three
Pole pipe Q6 base stage is high level, and the 8th triode Q6 cut-offs, now the MOD_RST interfaces in the 4th change-over circuit are 3.3V
High level;
When the MCU_RST interfaces in the 4th change-over circuit are low level, the 7th triode Q8 conductings, the 8th triode Q6
Base stage be low level, the 8th triode Q6 conductings, now the MOD_RST interfaces in the 4th change-over circuit are low level.
Embodiment 1, the data-signal that water logging detection module detects is converted to the transmitting procedure of WIFI wireless signals.
First, the smoke signal detected is converted to UART signal and by one-chip computer module 1 by water logging detection module 2
UART2 interfaces are transferred to one-chip computer module 1 and operation are encrypted.
Secondly, one-chip computer module 1 transmits the UART signal after encryption by the UART1 interfaces K14 of one-chip computer module 1
Level conversion operation is carried out to signal level modular converter 6.
Finally, the UART signal after level conversion is transferred to UART by signal level modular converter 6 by output end K62
Signal conversion module 3.UART signal modular converter 3 will be converted to WIFI letters by encrypting with the UART signals after level conversion
Number, and sent by way of TCP/IP data frames to background server.
The circuit connection of the water logging detection module is as follows:Water logging detection chip U1 includes 8 interfaces, and the first of U1 connects
Mouth ground connection GND;The first electric capacity C4 that U2 the 5th interface connection capacitance is 0.01uF, another termination of the first electric capacity C4
Ground;U1 the 3rd interface is signal output part, is connected with the GPIO interface K13 of single-chip microcomputer;U1 the 8th interface and the 4th interface
It is connected after connection and with supply voltage;U1 the 7th interface is connected with the first resistor R1 that resistance is 1K and is with resistance simultaneously
10K second resistance R4 connections, the first resistor R1 other end are connected with supply voltage, second resistance the R4 other end and electricity
Capacitance is 0.1uF the second electric capacity C5 connections, and the second electric capacity C5 other end is grounded;U1 the 6th interface connects with second interface
Connect, and be connected simultaneously with second resistance R4 and the second electric capacity C5;The water logging detection chip U1 is NE555 chips.
By forming a non-steady-state oscillation circuit, no steady oscillation electricity by NE555 chips and above-mentioned resistance and electric capacity
The frequency on road is determined by first resistor R1, second resistance R4, the second electric capacity C5 and its inductance capacitance C4 of parallel connection.NE555 simultaneously
The GPIO interface of the delivery outlet access one-chip computer module 1 of chip.
Serial line interface P3 includes 4 interfaces, and P3 first interface is connected with the second electric capacity C5, P3 second interface and the
Two electric capacity C5 other end connection;P3 the 3rd interface connects the first wire, and P3 the 4th interface connects the second wire, and described the
One wire produces pulse signal when being contacted with the second wire with water.
During work, number of pulses that single-chip microcomputer receives in the statistical unit time.First when serial line interface P3 extractions leads
When line and the second wire are not exposed to water, the inductance capacitance C4 of the second electric capacity C5 and its parallel connection is a definite value, now unit
Number of pulses in time is certain.
When serial line interface P3 the first wires drawn and the second conductive contact are to water, its inductance capacitance C4 is caused to become
Change, have influence on the frequency of oscillation of oscillating circuit, and then cause the number of pulses in the unit interval to change, single-chip microcomputer detects
After this change, you can judgement has water logging phenomenon.
Embodiment 2, the data-signal that water logging detection module detects is converted to the transmitting procedure of ZigBee wireless signals.
First, the smoke signal detected is converted to UART signal and by one-chip computer module 1 by water logging detection module 2
UART2 interfaces are transferred to one-chip computer module 1 and operation are encrypted.
Secondly, one-chip computer module 1 transmits the UART signal after encryption by the UART1 interfaces K14 of one-chip computer module 1
Level conversion operation is carried out to signal level modular converter 6.
Finally, the UART signal after level conversion is transferred to UART by signal level modular converter 6 by output end K62
Signal conversion module 3.UART signal modular converter 3 will be converted to ZigBee by encrypting with the UART signals after level conversion
Signal, and sent by way of TCP/IP data frames to background server.
The circuit connection of the water logging detection module is as follows:Water logging detection chip U1 includes 8 interfaces, and the first of U1 connects
Mouth ground connection GND;The first electric capacity C4 that U2 the 5th interface connection capacitance is 0.01uF, another termination of the first electric capacity C4
Ground;U1 the 3rd interface is signal output part, is connected with the GPIO interface K13 of single-chip microcomputer;U1 the 8th interface and the 4th interface
It is connected after connection and with supply voltage;U1 the 7th interface is connected with the first resistor R1 that resistance is 1K and is with resistance simultaneously
10K second resistance R4 connections, the first resistor R1 other end are connected with supply voltage, second resistance the R4 other end and electricity
Capacitance is 0.1uF the second electric capacity C5 connections, and the second electric capacity C5 other end is grounded;U1 the 6th interface connects with second interface
Connect, and be connected simultaneously with second resistance R4 and the second electric capacity C5;The water logging detection chip U1 is NE555 chips.
By forming a non-steady-state oscillation circuit, no steady oscillation electricity by NE555 chips and above-mentioned resistance and electric capacity
The frequency on road is determined by first resistor R1, second resistance R4, the second electric capacity C5 and its inductance capacitance C4 of parallel connection.NE555 simultaneously
The GPIO interface of the delivery outlet access one-chip computer module 1 of chip.
Serial line interface P3 includes 4 interfaces, and P3 first interface is connected with the second electric capacity C5, P3 second interface and the
Two electric capacity C5 other end connection;P3 the 3rd interface connects the first wire, and P3 the 4th interface connects the second wire, and described the
One wire produces pulse signal when being contacted with the second wire with water.
During work, number of pulses that single-chip microcomputer receives in the statistical unit time.First when serial line interface P3 extractions leads
When line and the second wire are not exposed to water, the inductance capacitance C4 of the second electric capacity C5 and its parallel connection is a definite value, now unit
Number of pulses in time is certain.
When serial line interface P3 the first wires drawn and the second conductive contact are to water, its inductance capacitance C4 is caused to become
Change, have influence on the frequency of oscillation of oscillating circuit, and then cause the number of pulses in the unit interval to change, single-chip microcomputer detects
After this change, you can judgement has water logging phenomenon.
Embodiment 3, the data-signal that water logging detection module detects is converted to the transmitting procedure of Bluetooth signal.
First, the smoke signal detected is converted to UART signal and by one-chip computer module 1 by water logging detection module 2
UART2 interfaces are transferred to one-chip computer module 1 and operation are encrypted.
Secondly, the UART signal after encryption is transferred to by one-chip computer module 1 by the UART1 interfaces K14 of one-chip computer module 1
Signal level modular converter 6 carries out level conversion operation.
Finally, the UART signal after level conversion is transferred to UART by signal level modular converter 6 by output end K62
Signal conversion module 3.UART signal modular converter 3 will be converted to bluetooth letter by encrypting with the UART signals after level conversion
Number, and sent by way of TCP/IP data frames to background server.
The circuit connection of the water logging detection module is as follows:Water logging detection chip U1 includes 8 interfaces, and the first of U1 connects
Mouth ground connection GND;The first electric capacity C4 that U2 the 5th interface connection capacitance is 0.01uF, another termination of the first electric capacity C4
Ground;U1 the 3rd interface is signal output part, is connected with the GPIO interface K13 of single-chip microcomputer;U1 the 8th interface and the 4th interface
It is connected after connection and with supply voltage;U1 the 7th interface is connected with the first resistor R1 that resistance is 1K and is with resistance simultaneously
10K second resistance R4 connections, the first resistor R1 other end are connected with supply voltage, second resistance the R4 other end and electricity
Capacitance is 0.1uF the second electric capacity C5 connections, and the second electric capacity C5 other end is grounded;U1 the 6th interface connects with second interface
Connect, and be connected simultaneously with second resistance R4 and the second electric capacity C5;The water logging detection chip U1 is NE555 chips.
By forming a non-steady-state oscillation circuit, no steady oscillation electricity by NE555 chips and above-mentioned resistance and electric capacity
The frequency on road is determined by first resistor R1, second resistance R4, the second electric capacity C5 and its inductance capacitance C4 of parallel connection.NE555 simultaneously
The GPIO interface of the delivery outlet access one-chip computer module 1 of chip.
Serial line interface P3 includes 4 interfaces, and P3 first interface is connected with the second electric capacity C5, P3 second interface and the
Two electric capacity C5 other end connection;P3 the 3rd interface connects the first wire, and P3 the 4th interface connects the second wire, and described the
One wire produces pulse signal when being contacted with the second wire with water.
During work, number of pulses that single-chip microcomputer receives in the statistical unit time.First when serial line interface P3 extractions leads
When line and the second wire are not exposed to water, the inductance capacitance C4 of the second electric capacity C5 and its parallel connection is a definite value, now unit
Number of pulses in time is certain.
When serial line interface P3 the first wires drawn and the second conductive contact are to water, its inductance capacitance C4 is caused to become
Change, have influence on the frequency of oscillation of oscillating circuit, and then cause the number of pulses in the unit interval to change, single-chip microcomputer detects
After this change, you can judgement has water logging phenomenon.
It is of the invention by the data acquisition that water logging detection module measures to single-chip microcomputer, warp by above-mentioned embodiment
Cross single-chip microcomputer to be encrypted, then UART signal is converted to WIFI, ZigBee or Bluetooth signal, pass through TCPIP data frames
Or the mode of serial data frame is sent.The TCPIP data frames received or serial data frame are switched into UART letters simultaneously
After number, by single-chip microcomputer decryption processing, corresponding operating is carried out further according to content.Realize the wireless biography of water sensor data
It is defeated, and by the operation of enciphering and deciphering algorithm, ensure that data is not transparent transmission, and protective effect is served to data safety.
The device have the advantages that:
(1) wiring of complexity is no longer needed;Transmission range is greatly improved;
(2) data-signal that can detect water logging detection module is converted into WIFI, ZigBee, bluetooth these wireless communications
Number it is transmitted;
(3) modular design reduces production cost;
(4) encryption of data has ensured the safe and reliable of data.
Finally illustrate, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to compared with
The present invention is described in detail good embodiment, it will be understood by those within the art that, can be to the skill of the present invention
Art scheme is modified or equivalent substitution, and without departing from the objective and scope of the technical program, it all should cover in the present invention
Right among.
Claims (10)
1. a kind of water logging radio transmission transducing device, it is characterised in that it includes:One-chip computer module (1), water logging detection module
(2), UART signal modular converter (3), power module (4), Voltage stabilizing module (5), signal level modular converter (6), device numbering
Setup module (7);
The power interface K11 of the one-chip computer module (1) is connected with the first output end K41 of the power module (4);The electricity
Second output end K42 of source module (4) is connected with the input K51 of the Voltage stabilizing module (5);
The UART2 interfaces K13 of the one-chip computer module (1) is connected with the interface K21 of the water logging detection module (2);
The UART1 interfaces K14 of the one-chip computer module (1) is connected with the input K61 of the signal level modular converter (6);
The output end K62 of the signal level modular converter (6) and the input K32 of the UART signal modular converter (3) connect
Connect;
The power interface K31 of the UART signal modular converter (3) is connected with the output end K52 of the Voltage stabilizing module (5);
The GPIO interface K12 of the one-chip computer module (1) is connected with the output end K71 of the device numbering setup module (7);
The circuit connection of the water logging detection module (2) is as follows:Water logging detection chip U1 includes 8 interfaces, and the first of U1 connects
Mouth ground connection GND;U2 the 5th interface connects the first electric capacity C4, the other end ground connection of the first electric capacity C4;U1 the 3rd interface
For signal output part, it is connected with the GPIO interface K13 of single-chip microcomputer;It is after U1 the 8th interface is connected with the 4th interface and electric with power supply
Pressure connection;U1 the 7th interface is connected with first resistor R1 and while is connected with second resistance R4, the first resistor R1 other end
It is connected with supply voltage, the second resistance R4 other end is connected with the second electric capacity C5, the second electric capacity C5 other end ground connection;U1's
6th interface is connected with second interface, and is connected simultaneously with second resistance R4 and the second electric capacity C5;
Serial line interface P3 includes 4 interfaces, and P3 first interface is connected with the second electric capacity C5, P3 second interface and the second electricity
Hold C5 other end connection;P3 the 3rd interface connects the first wire, and P3 the 4th interface connects the second wire, and described first leads
Line produces pulse signal when being contacted with the second wire with water.
2. water logging radio transmission transducing device as claimed in claim 1, it is characterised in that the UART signal modular converter (3)
Including:UART signal and WIFI signal are mutually changed, UART signal and ZigBee signals are mutually changed, UART signal and bluetooth are believed
Number mutually conversion.
3. water logging radio transmission transducing device as claimed in claim 1, it is characterised in that the signal level modular converter (6)
Include the first change-over circuit, the second change-over circuit, the 3rd change-over circuit, the 4th change-over circuit;
MOD_TXD in first change-over circuit is connected with the signaling interface of the UART signal modular converter (3);First conversion electricity
MCU_RX in road is connected with the signaling interface of the one-chip computer module (1);
MOD_RXD in second change-over circuit is connected with the signaling interface of the UART signal modular converter (3);Second conversion electricity
MCU_TX in road is connected with the signaling interface of the one-chip computer module (1);
MOD_CFG in 3rd change-over circuit is connected with the signaling interface of the UART signal modular converter (3);3rd conversion electricity
MCU_CFG in road is connected with the signaling interface of the one-chip computer module (1);
MOD_RST in 4th change-over circuit is connected with the signaling interface of the UART signal modular converter (3);4th conversion electricity
MCU_RST in road is connected with the signaling interface of the one-chip computer module (1).
4. water logging radio transmission transducing device as claimed in claim 3, it is characterised in that the MOD_ in the first change-over circuit
When TXD interfaces are high level, the first triode Q3 cut-offs, the second triode Q1 base stage is high level, and the second triode Q1 is cut
Only, now the MCU_RX interfaces in the first change-over circuit are 5V high level;
When the MOD_TXD interfaces in the first change-over circuit are low level, the first triode Q3 conductings, the second triode Q1 base
Extremely low level, the second triode Q1 conductings, now the MCU_RX interfaces in the first change-over circuit are low level.
5. water logging radio transmission transducing device as claimed in claim 3, it is characterised in that the MCU_TX in the second change-over circuit
When interface is high level, the 3rd triode Q4 cut-offs, the 4th triode Q2 base stage is high level, and the 4th triode Q2 ends,
Now the MOD_RXD interfaces in the second change-over circuit are 3.3V high level;
When the MCU_TX interfaces in the second change-over circuit are low level, the 3rd triode Q4 conductings, the 4th triode Q2 base
Extremely low level, the 4th triode Q2 conductings, now the MOD_RXD interfaces in the second change-over circuit are low level.
6. water logging radio transmission transducing device as claimed in claim 3, it is characterised in that the MCU_ in the 3rd change-over circuit
When CFG interfaces are high level, the 5th triode Q7 cut-offs, the 6th triode Q5 base stage is high level, and the 6th triode Q5 is cut
Only, now the MOD_CFG interfaces in the 3rd change-over circuit are 3.3V high level;
When the MCU_CFG interfaces in the 3rd change-over circuit are low level, the 5th triode Q7 conductings, the 6th triode Q5 base
Extremely low level, the 6th triode Q5 conductings, now the MOD_CFG interfaces in the 3rd change-over circuit are low level.
7. water logging radio transmission transducing device as claimed in claim 3, it is characterised in that the MCU_ in the 4th change-over circuit
When RST interfaces are high level, the 7th triode Q8 cut-offs, the 8th triode Q6 base stage is high level, and the 8th triode Q6 is cut
Only, now the MOD_RST interfaces in the 4th change-over circuit are 3.3V high level;
When the MCU_RST interfaces in the 4th change-over circuit are low level, the 7th triode Q8 conductings, the 8th triode Q6 base
Extremely low level, the 8th triode Q6 conductings, now the MOD_RST interfaces in the 4th change-over circuit are low level.
8. water logging radio transmission transducing device as claimed in claim 1, it is characterised in that the power module (4) is for size
The power supply of 5V direct currents, the Voltage stabilizing module (5) include TCP voltage-stabilized power supplies, and the TCP voltage-stabilized power supplies size is 3.3V direct current
Power supply.
9. water logging radio transmission transducing device as claimed in claim 8, it is characterised in that the supplier of electricity of the power module (4)
Formula includes wired power supply, battery powered.
10. water logging radio transmission transducing device as claimed in claim 1, it is characterised in that the one-chip computer module (1) is
STM32 single-chip microcomputers;The water logging detection chip U1 is NE555 chips;The one-chip computer module (1) includes 8 GPIO interfaces
K12。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710851520.7A CN107515236A (en) | 2017-09-19 | 2017-09-19 | A kind of water logging radio transmission transducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710851520.7A CN107515236A (en) | 2017-09-19 | 2017-09-19 | A kind of water logging radio transmission transducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107515236A true CN107515236A (en) | 2017-12-26 |
Family
ID=60725670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710851520.7A Pending CN107515236A (en) | 2017-09-19 | 2017-09-19 | A kind of water logging radio transmission transducing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107515236A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536059A (en) * | 2018-03-28 | 2018-09-14 | 重庆七彩虹数码科技有限公司 | A kind of multisensor syste transmitted based on NB-Iot modes |
CN108684004A (en) * | 2018-03-28 | 2018-10-19 | 重庆七彩虹数码科技有限公司 | The sensor group transmitted based on battery powered and Zigbee or 4G |
CN109084860A (en) * | 2018-06-29 | 2018-12-25 | 深圳市广和通无线通信软件有限公司 | Detection device and detection system applied to drainage jam detection |
CN109377732A (en) * | 2018-12-07 | 2019-02-22 | 四川长虹电器股份有限公司 | Water logging detector based on WiFi scheme |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204989918U (en) * | 2015-10-14 | 2016-01-20 | 成都理工大学 | Multi -functional long -range trick lock |
CN205451376U (en) * | 2016-03-04 | 2016-08-10 | 合肥万合科技信息服务有限公司 | House guardianship alarm device based on thing networking |
CN106558160A (en) * | 2015-09-28 | 2017-04-05 | 哈尔滨东方报警设备开发有限公司 | A kind of solar energy water logging audible-visual annunciator |
CN206147784U (en) * | 2016-08-30 | 2017-05-03 | 江苏启泰物联网科技有限公司 | Intelligence door lock controller |
CN206292941U (en) * | 2016-12-30 | 2017-06-30 | 淮阴工学院 | House security warning device |
CN107037764A (en) * | 2017-06-08 | 2017-08-11 | 兰州海红技术股份有限公司 | A kind of micromodule data center machine room channel environment intelligent monitor system |
-
2017
- 2017-09-19 CN CN201710851520.7A patent/CN107515236A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106558160A (en) * | 2015-09-28 | 2017-04-05 | 哈尔滨东方报警设备开发有限公司 | A kind of solar energy water logging audible-visual annunciator |
CN204989918U (en) * | 2015-10-14 | 2016-01-20 | 成都理工大学 | Multi -functional long -range trick lock |
CN205451376U (en) * | 2016-03-04 | 2016-08-10 | 合肥万合科技信息服务有限公司 | House guardianship alarm device based on thing networking |
CN206147784U (en) * | 2016-08-30 | 2017-05-03 | 江苏启泰物联网科技有限公司 | Intelligence door lock controller |
CN206292941U (en) * | 2016-12-30 | 2017-06-30 | 淮阴工学院 | House security warning device |
CN107037764A (en) * | 2017-06-08 | 2017-08-11 | 兰州海红技术股份有限公司 | A kind of micromodule data center machine room channel environment intelligent monitor system |
Non-Patent Citations (2)
Title |
---|
GEEK_YATAO: "3.3V与5V单片机通讯电路原理图", 《CSDN博客频道》 * |
何希才: "《新型集成电路应用300例》", 30 April 2009 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536059A (en) * | 2018-03-28 | 2018-09-14 | 重庆七彩虹数码科技有限公司 | A kind of multisensor syste transmitted based on NB-Iot modes |
CN108684004A (en) * | 2018-03-28 | 2018-10-19 | 重庆七彩虹数码科技有限公司 | The sensor group transmitted based on battery powered and Zigbee or 4G |
CN109084860A (en) * | 2018-06-29 | 2018-12-25 | 深圳市广和通无线通信软件有限公司 | Detection device and detection system applied to drainage jam detection |
CN109377732A (en) * | 2018-12-07 | 2019-02-22 | 四川长虹电器股份有限公司 | Water logging detector based on WiFi scheme |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107515236A (en) | A kind of water logging radio transmission transducing device | |
CN107677310A (en) | A kind of sensor based on WIFI signal transmission | |
CN107901044A (en) | The drive control integral system of joint of robot | |
CN103340737B (en) | Vibration touch feeling expression device capable of sensing navigation information of blind person | |
ATE352933T1 (en) | SERIAL BLUETOOTH ADAPTER | |
CN107478688A (en) | A kind of radio transmission transducing device of Smoke Detection | |
CN205066776U (en) | Nine attitude sensor based on data fusion | |
CN205068378U (en) | Multi -functional wireless serial ports device | |
CN106325134A (en) | Wifi based data acquisition gateway | |
CN207502448U (en) | A kind of radio transmission transducing device of Smoke Detection | |
CN107422393A (en) | A kind of radio transmission transducing device of infrared intrusion detection | |
CN207199079U (en) | A kind of humiture radio transmission transducing device | |
CN202720766U (en) | Intelligent sensor platform based on mobile network | |
CN107452195A (en) | A kind of gate inhibition senses the radio transmission transducing device of detection | |
CN207198350U (en) | A kind of radio transmission transducing device of infrared intrusion detection | |
CN203858629U (en) | Protocol converter | |
CN107507403A (en) | A kind of humiture radio transmission transducing device | |
CN206948343U (en) | A kind of RS485 signals and WIFI wireless signal conversion equipments | |
CN204928886U (en) | CPCI gigabit ethernet exchanges integrated circuit board based on BCM5396 chip | |
CN107610438A (en) | A kind of sensor based on the transmission of ZigBee signals | |
CN203962038U (en) | Data collecting system under coal mine | |
CN105955908B (en) | One kind connects for realizing Multi-serial port equipment and monitoring method | |
CN205901019U (en) | USB interface mobile terminal data conversion who takes wifi launch function connects | |
CN107294732A (en) | A kind of WIFI wireless signal transmissions | |
CN206948344U (en) | A kind of I/O port and WIFI wireless signal conversion equipments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171226 |