CN207650599U - One kind opening shell detection circuit - Google Patents
One kind opening shell detection circuit Download PDFInfo
- Publication number
- CN207650599U CN207650599U CN201721725604.8U CN201721725604U CN207650599U CN 207650599 U CN207650599 U CN 207650599U CN 201721725604 U CN201721725604 U CN 201721725604U CN 207650599 U CN207650599 U CN 207650599U
- Authority
- CN
- China
- Prior art keywords
- resistance
- microcontroller
- detection circuit
- connect
- foot
- 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.)
- Active
Links
Abstract
The utility model is related to one kind opening shell detection circuit, it is characterised in that:Including microcontroller U1, the normally closed type switch S1 being closed when shell is opened, the light-sensitive device circuit detected for light and detection circuit, the normally closed type switch in parallel detection circuit, the light-sensitive device circuit connection detection circuit, the detection circuit connection microcontroller U1.Compared with prior art, the utility model has the advantage of:It is matched with detection circuit by normally closed type switch and light-sensitive device circuit, when normally closed type is switched and destroyed, remain to be detected shell state by light-sensitive device circuit, and server can be sent to by the record of microcontroller, enable users to obtain the shell state of instrument in time, it is simple in structure.
Description
Technical field
The utility model is related to circuit field, more particularly to one kind opening shell detection circuit.
Background technology
Currently, the data collected are passed through the side such as GPRS, Ethernet by common acquisition system by Internet of Things instrument
Formula is transferred in server, server sends data to the ends PC or the cell phone application end of user again, and user's logarithm is realized with this
According to monitoring and demands, the sending and receiving for data such as fault alarm prompt all rely on various network communications, but client's
When site environment differs greatly, the condition having also is not quite similar, when curstomer's site only has GRPS signals without condition to electricity
When brain accessing to wide band network, 4G cards of surfing Internet can be configured to solve the problems, such as this to the computer of user, but will appear 4G cards of surfing Internet
Moved the problem of being used for him, it is therefore desirable to which detection 4G cards of surfing Internet open the case where shell takes out by other people in real time.
Application No. is the Chinese utility model patents of CN201621154596.1 (notification number CN206269872U) to disclose
A kind of anti-illegal NFC gas meter, flow meters for opening shell, including gas meter, flow meter base table, main MCU and NFC mobile phone, NFC mobile phone pass through NFC communication mould
Block realize with the two-way communication of main MCU, further include oscillation test unit, detection unit of uncapping and electromechanical conversion element, further include
Oscillation test unit, detection unit of uncapping and electromechanical conversion element, concussion detection unit are detected for operating personnel by NFC mobile phone
The presence or absence of user's gas shell oscillatory condition monitors the open and-shut mode of user's gas protecgulum, solution for operating personnel by NFC mobile phone
It has determined the problem of combustion gas payment in the prior art and gas meter management are inconvenient, gas meter, flow meter is unable to anti-theft gaseous.But lead in this method
Cross that NFC mobile phone detection the presence or absence of user's gas shell oscillatory condition is easily affected by environment larger, and structure is relatively complicated.
Utility model content
Technical problem to be solved in the utility model is to provide for the present situation of the prior art and a kind of can obtain instrument in time
Watch case state opens shell detection circuit.
Technical solution is used by the utility model solves above-mentioned technical problem:One kind opening shell detection circuit, feature
It is:Including microcontroller U1, the normally closed type switch S1 being closed when shell is opened, the light-sensitive device circuit detected for light
And detection circuit, the normally closed type switch in parallel detection circuit, the light-sensitive device circuit connection detection circuit, the detection electricity
Road connects microcontroller U1.
As an improvement, the detection circuit includes metal-oxide-semiconductor Q1, triode Q2, resistance R1, resistance R2, resistance R3, resistance
R4, diode D1, diode D2, diode D3 and diode D5, the normally closed type switch S1 is connected in parallel metal-oxide-semiconductor Q1, described
Metal-oxide-semiconductor Q1 source electrode connection normally closed type one end switch S1 simultaneously connect with the first power supply VCC, the drain electrode of the metal-oxide-semiconductor Q1 with it is normally closed
The formula switch S1 other ends are connected and are connect respectively with diode D1 and the one end resistance R1, the power supply R1 other ends connection resistance R2
And the 2nd foot of microcontroller U1 is connected, the resistance R2 other ends ground connection, the diode D2 and diode D3 and diode D5 go here and there
Connection, the diode D2 other ends connection second source V1, the diode D5 other ends connect diode D1 and connect third
The 1st foot of power vd D and microcontroller U1, the collector of the grid connecting triode Q2 of the metal-oxide-semiconductor Q1, the triode Q2's
Emitter is grounded, and the base stage connection resistance R3 of the triode Q2, the resistance R3 other ends connect resistance R4 and connect monolithic
The 3rd foot of machine U1, the other end ground connection of the resistance R4.
Specifically, the metal-oxide-semiconductor Q1 is PMOS tube, the triode Q2 is NPN type.
Further, the light-sensitive device circuit includes photo resistance R7, resistance R5, resistance R6 and resistance R8, the resistance
R5 and the collector of resistance R6 parallel connections and connecting triode Q2, the one end the resistance R6 connect resistance R8, and the other end connects light
Quick resistance R7, the source electrode of the resistance R8 other ends connection metal-oxide-semiconductor Q1, the photo resistance R7 other ends ground connection.
Further, further include light emitting diode D4, resistance R9, resistance R10 and resistance R11, the light emitting diode D4 mono-
End is connect with the 4th power supply V2, and the other end is connected with resistance R9, the 7th foot of the resistance R9 other ends connection microcontroller U1;Institute
It states the one end resistance R10 and the 4th power supply V2, the resistance R10 other ends connection microcontroller U1 is connect and connected with the one end resistance R11
The 6th foot, the 5th foot of resistance R11 other ends connection microcontroller U1, the 8th foot ground connection of the microcontroller U1.
Further include connector J1, the connector J1 includes 5 pins, and the 1st pin of the connector J1 connects resistance
R12 and the 4th foot for being connected to microcontroller U1, the resistance R5 other ends connection third power vd D, the 2nd of the connector J1 the
Pin connects voltage VDD, the 3rd pin connection ground of the connector, and the 4th pin of the connector J1 connects microcontroller U1's
7th foot, the 6th foot of the 5th pin connection microcontroller of the connector J1.
The microcontroller U1 is connected with power supply circuit, and the power supply circuit input is third power vd D, power supply circuit input
End is connected with the capacitance C1 for carrying out charge and discharge, the capacitance C1 other ends ground connection.
The 5th foot and the 6th foot of the microcontroller U1 is connect with server respectively, is used for transmission data.
Compared with prior art, the utility model has the advantage of:Pass through normally closed type switch and light-sensitive device circuit and inspection
Slowdown monitoring circuit matches, and when normally closed type is switched and destroyed, remains to be detected shell state by light-sensitive device circuit, and can pass through
The record of microcontroller is sent to server, enables users to the shell state for obtaining instrument in time, simple in structure.
Description of the drawings
Fig. 1 opens shell detection circuit schematic diagram for the utility model embodiment.
Specific implementation mode
The utility model is described in further detail below in conjunction with attached drawing embodiment.
As shown in Figure 1, a kind of normally closed type switch for opening shell detection circuit and including microcontroller U1, being closed when shell is opened
S1, light-sensitive device circuit, detection circuit and the power supply circuit detected for light, normally closed type switch in parallel detection circuit are photosensitive
Device circuitry connection detection circuit, detection circuit connect microcontroller U1.Detection circuit includes metal-oxide-semiconductor Q1, triode Q2, resistance
R1, resistance R2, resistance R3, resistance R4, diode D1, diode D2, diode D3 and diode D5, normally closed type switch S1 are in parallel
Metal-oxide-semiconductor Q1 is connected, source electrode connection normally closed type one end switch S1 of metal-oxide-semiconductor Q1 is simultaneously connect, the leakage of metal-oxide-semiconductor Q1 with the first power supply VCC
Pole connect with the normally closed type switch S1 other ends and is connect respectively with diode D1 and the one end resistance R1, power supply R1 other ends connection electricity
Resistance R2 and the 2nd foot for connecting microcontroller U1, resistance R2 other ends ground connection, diode D2 connect with diode D3 and diode D5,
The diode D2 other ends connect second source V1, and diode D5 other ends connection diode D1 simultaneously connects third power vd D and list
The 1st foot of piece machine U1, the collector of the grid connecting triode Q2 of metal-oxide-semiconductor Q1, the emitter ground connection of triode Q2, triode Q2
Base stage connect resistance R3, resistance R3 other ends connection resistance R4 simultaneously connects the 3rd foot of microcontroller U1, another termination of resistance R4
Ground;Light-sensitive device circuit includes photo resistance R7, resistance R5, resistance R6 and resistance R8, and resistance R5 and resistance R6 are in parallel and even
The collector of triode Q2 is connect, the one end resistance R6 connects resistance R8, and the other end connects photo resistance R7, the connection of the resistance R8 other ends
The source electrode of metal-oxide-semiconductor Q1, photo resistance R7 other ends ground connection;Further include in circuit light emitting diode D4, resistance R9, resistance R10 and
Resistance R11, the one end light emitting diode D4 are connect with the 4th power supply V2, and the other end is connected with resistance R9, the connection of the resistance R9 other ends
The 7th foot of microcontroller U1;The one end resistance R10 connect with the one end resistance R11 and connects the 4th power supply V2, and the resistance R10 other ends connect
The 6th foot of microcontroller U1 is connect, the resistance R11 other ends connect the 5th foot of microcontroller U1;Power supply circuit by third power vd D into
Row connection capacitance C1, capacitance C1 other ends ground connection carry out charge and discharge;The 5th foot of microcontroller U1 and the 6th foot respectively with server phase
It is used in conjunction in transmission data.
In the present embodiment, metal-oxide-semiconductor Q1 is PMOS tube, and triode Q2 is NPN type;Second source V1 use 5V voltages, the 4th
Power supply V2 uses 3.3V voltages, third power vd D to be powered using connector J1, and connector J1 includes 5 pins, connector
The 1st pin connection resistance R12 of J1 and the 4th foot for being connected to microcontroller U1, the resistance R5 other ends connect third power vd D, even
The 2nd pin connection voltage VDD of device J1, the 3rd pin connection ground of connector are met, the 4th pin of connector J1 connects microcontroller
The 7th foot of U1, the 6th foot of the 5th pin connection microcontroller of connector J1;Third power vd D is filled by connecting capacitance C1
Electric discharge can be used in the case that outdoor can not connect power supply.
Meter case is unopened closed switch S1 often and light-sensitive device circuit mismatches detection circuit work, once
Meter case is opened, and normally closed type switch S1 is closed, and metal-oxide-semiconductor Q1 conductings, power supply circuit is powered to microcontroller U1, microcontroller U1 notes
Record is opened shell and is stored in microcontroller U1, while the 3rd foot control triode Q2 of microcontroller U1 is not powered off in storing process, is deposited
It can be powered off after the completion of storage write-in.Even if shell is installed again at this time, normally closed type switch S1 is disconnected, but the record in microcontroller U1
Still this information can be sent to server after instrument booting, play the role of alarm.When normally closed type switch S1 is destroyed, often
Closed switch S1 is disconnected, and meter case is opened, and has light to enter in instrument, and photo resistance R7 can be such that metal-oxide-semiconductor Q1 is connected, detection
Circuit, which can still work and record, holds shelly-shaped state.
Claims (8)
1. one kind opening shell detection circuit, it is characterised in that:It is switched including microcontroller U1, the normally closed type being closed when shell is opened
S1, for light detection light-sensitive device circuit and detection circuit, the normally closed type switch in parallel detection circuit, the photosensor
Part circuit connection detection circuit, the detection circuit connection microcontroller U1.
2. according to claim 1 open shell detection circuit, it is characterised in that:The detection circuit includes metal-oxide-semiconductor Q1, three poles
Pipe Q2, resistance R1, resistance R2, resistance R3, resistance R4, diode D1, diode D2, diode D3 and diode D5, it is described often
Closed switch S1 be connected in parallel metal-oxide-semiconductor Q1, the metal-oxide-semiconductor Q1 source electrode connection normally closed type one end switch S1 and with the first power supply
The drain electrode of VCC connections, the metal-oxide-semiconductor Q1 connect with the normally closed type switch S1 other ends and respectively with diode D1 and the one end resistance R1
Connection, the power supply R1 other ends connect resistance R2 and connect the 2nd foot of microcontroller U1, the resistance R2 other ends ground connection, institute
It states diode D2 to connect with diode D3 and diode D5, the diode D2 other ends connect second source V1, two pole
The pipe D5 other ends connect diode D1 and connect the 1st foot of third power vd D and microcontroller U1, and the grid of the metal-oxide-semiconductor Q1 connects
Connect the collector of triode Q2, the emitter ground connection of the triode Q2, the base stage connection resistance R3 of the triode Q2 is described
The resistance R3 other ends connect resistance R4 and connect the 3rd foot of microcontroller U1, the other end ground connection of the resistance R4.
3. according to claim 2 open shell detection circuit, it is characterised in that:The metal-oxide-semiconductor Q1 is PMOS tube, three pole
Pipe Q2 is NPN type.
4. according to claim 1 open shell detection circuit, it is characterised in that:The light-sensitive device circuit includes photo resistance
R7, resistance R5, resistance R6 and resistance R8, the resistance R5 and the collector of resistance R6 parallel connections and connecting triode Q2, it is described
The one end resistance R6 connects resistance R8, and the other end connects photo resistance R7, and the resistance R8 other ends connect the source electrode of metal-oxide-semiconductor Q1,
The photo resistance R7 other ends ground connection.
5. according to claim 1 open shell detection circuit, it is characterised in that:Further include light emitting diode D4, resistance R9, electricity
Resistance R10 and resistance R11, the one end the light emitting diode D4 are connect with the 4th power supply V2, and the other end is connected with resistance R9, the electricity
Hinder the 7th foot of R9 other ends connection microcontroller U1;The one end the resistance R10 connect with the one end resistance R11 and connects the 4th power supply
V2, the 6th foot of the resistance R10 other ends connection microcontroller U1, the 5th foot of the resistance R11 other ends connection microcontroller U1,
The 8th foot of the microcontroller U1 is grounded.
6. according to claim 1 open shell detection circuit, it is characterised in that:Further include connector J1, the connector J1
Including 5 pins, the 1st pin connection resistance R12 of the connector J1 and the 4th foot for being connected to microcontroller U1, the resistance
The 2nd pin that the R5 other ends connect third power vd D, the connector J1 connects voltage VDD, the 3rd pin of the connector
Connection ground, the 7th foot of the 4th pin connection microcontroller U1 of the connector J1, the 5th pin of the connector J1 connect monolithic
6th foot of machine.
7. according to claim 1 open shell detection circuit, it is characterised in that:The microcontroller U1 is connected with power supply circuit,
The power supply circuit input is third power vd D, and power supply circuit input terminal is connected with the capacitance C1 for carrying out charge and discharge, the capacitance
The C1 other ends are grounded.
8. according to claim 1 open shell detection circuit, it is characterised in that:The 5th foot and the 6th foot of the microcontroller U1 point
It is not connect with server, is used for transmission data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721725604.8U CN207650599U (en) | 2017-12-12 | 2017-12-12 | One kind opening shell detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721725604.8U CN207650599U (en) | 2017-12-12 | 2017-12-12 | One kind opening shell detection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207650599U true CN207650599U (en) | 2018-07-24 |
Family
ID=62879780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721725604.8U Active CN207650599U (en) | 2017-12-12 | 2017-12-12 | One kind opening shell detection circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207650599U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110196390A (en) * | 2019-06-28 | 2019-09-03 | 深圳市元征科技股份有限公司 | A kind of detection method and its relevant apparatus of circuit |
-
2017
- 2017-12-12 CN CN201721725604.8U patent/CN207650599U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110196390A (en) * | 2019-06-28 | 2019-09-03 | 深圳市元征科技股份有限公司 | A kind of detection method and its relevant apparatus of circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204788542U (en) | Mode switch's that supply power direct -reading thing networking gas table more | |
CN106952411A (en) | A kind of single-phase charge-controlled intelligent electric meter | |
CN207650599U (en) | One kind opening shell detection circuit | |
CN104680761A (en) | Intelligent wireless remote meter reading terminal device | |
CN204242391U (en) | Intelligent mobile phone Bluetooth turns infrared writing-down device for meters | |
CN107169883A (en) | Intelligent substation relay protection field adjustable mobile terminal | |
CN208353365U (en) | A kind of wisdom water meter communication control unit based on narrowband Internet of Things | |
CN204964636U (en) | A PDA that is used for inspection of on --spot power consumption to manage | |
CN214895149U (en) | Household formaldehyde monitoring system | |
CN203151602U (en) | Portable mobile phone test system | |
CN208903108U (en) | Remote monitoring system based on matrix form NB-IoT intellectual water meter | |
CN204721367U (en) | Width funtion based on ethernet ip v6 communication protocol is powered concentrator | |
CN203608214U (en) | Ethernet adapter and Ethernet adaptive wire | |
SIVKOV | Information system for collection, processing and presentation of data from sensor nodes | |
CN103679101A (en) | Mobile phone audio frequency card reading device and system | |
CN209673889U (en) | A kind of electric power consumption detection device of adaptive signal transmission | |
CN203745003U (en) | Converter valve regular checking maintenance diagnosis system | |
CN209433276U (en) | A kind of plane data acquisition dilatation terminal | |
CN206593729U (en) | A kind of hand-held detection configurating terminal of intellectual water meter | |
CN203101504U (en) | Single-phase intelligent electric energy meter | |
CN205404677U (en) | Electricity inspection terminal with real -time clock | |
CN208092808U (en) | A kind of gate inhibition remotely enabling monitoring device and system | |
CN109375552A (en) | Remote monitoring system based on matrix form NB-IoT intellectual water meter | |
CN204128492U (en) | A kind of vortex patern coating thickness detector circuit based on mobile display terminal | |
CN202840689U (en) | Handheld smart power grid network record analysis terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |