CN207832264U - A kind of light button with communication function and the intellectual water meter with light button - Google Patents
A kind of light button with communication function and the intellectual water meter with light button Download PDFInfo
- Publication number
- CN207832264U CN207832264U CN201820130385.7U CN201820130385U CN207832264U CN 207832264 U CN207832264 U CN 207832264U CN 201820130385 U CN201820130385 U CN 201820130385U CN 207832264 U CN207832264 U CN 207832264U
- Authority
- CN
- China
- Prior art keywords
- control circuit
- resistance
- light button
- triode
- light
- 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
Landscapes
- Domestic Plumbing Installations (AREA)
Abstract
The utility model discloses a kind of light buttons with communication function, light button includes microprocessor, first control circuit and optical transmitting set, microprocessor is electrically connected by first control circuit and optical transmitting set, and optical transmitting set transmits data by emitting optical signal to exterior terminal;Light button further includes second control circuit and optical receiver, and optical receiver is electrically connected by second control circuit and optical receiver module, and optical receiver obtains data by receiving the optical signal of exterior terminal;The invention also discloses a kind of intellectual water meter with light button, the light button of the utility model is directly packaged in the intellectual water meter of sealing, is realized and extraneous short-range communication by optical signal.
Description
Technical field
It is pressed the utility model is related to field of intelligent control more particularly to a kind of light button with communication function and with light
The intellectual water meter of button.
Background technology
Now with flourishing for 2.0 product of intellectual water meter, human-computer interaction demand is also more and more, not only needs to show
Show, it is also necessary to user's operation;And with the fast development of wisdom water utilities, the communicating requirement of 2.0 product of intellectual water meter is also to get over
Come more universal, becomes its necessary functions.
Since more stringent requirements are proposed to man-machine interactive interface for the high requirement of shelter of IP68, common button cannot be used
Button.Currently used user's operation mode has:Mechanical button, the touch button of capacitor induction type, magnetic induction
Tongue tube and hall device etc., these buttons have respective advantage and disadvantage.Mechanically to reach IP68 and protect relatively difficult, capacitance
Formula applies cumbersome, the easy polarization of tongue tube of magnetic inductive or broken, the hall device work(of magnetic inductive in wet condition
Consumption is higher, and above-mentioned key mode is all without communication function, thus to meet light button and need to overcome in the presence of some problems.
Utility model content
To solve the deficiencies in the prior art, one of the purpose of this utility model is the provision of a kind of with communication function
Light button realizes the data interaction of intellectual water meter and extraneous short distance.
The two of the purpose of this utility model are to provide a kind of intellectual water meter with light button, realize intellectual water meter with it is outer
The data interaction of boundary's short distance.
One of the purpose of this utility model adopts the following technical scheme that realization:
A kind of light button with communication function, the light button include microprocessor, first control circuit and light emitting
Device, the microprocessor are electrically connected by the first control circuit and optical transmitting set, and the optical transmitting set is by emitting light
Signal transmits data to exterior terminal;The light button further includes second control circuit and optical receiver, and the optical receiver is logical
It crosses the second control circuit to be electrically connected with optical receiver module, the optical receiver is obtained by receiving the optical signal of exterior terminal
Access evidence.
Further, the light button further includes power supply and third control circuit, and the power supply is controlled by the third
Circuit is electrically connected with microprocessor, and the third control circuit is electrically connected simultaneously with first control circuit and second control circuit
Control the connection break-make between the first control circuit and second control circuit and power supply.
Further, the first control circuit includes triode Q4, resistance R4 and resistance R5, and the optical transmitting set includes
Light emitting diode D1, one end of the resistance R4 are electrically connected with the power supply by third control circuit, and the other end of resistance R4 is logical
The emitter that light emitting diode D1 is connected to triode Q4 is crossed, the base stage of the triode Q4 is connected to microprocessor by R5
The ports P3, the grounded collector of triode Q4.
Further, the second control circuit includes triode Q3, resistance R2 and resistance R3, and the light receiving tube includes
Phototriode Q2, one end of the resistance R3 are electrically connected with the power supply by third control circuit, and the other end of resistance R3 is logical
The base stage that phototriode Q2 is connected to triode Q3 is crossed, one end of the resistance R2 is connected to third control circuit and resistance R3
Between, the other end of resistance R2 is connected to the collector of triode Q3, the emitter ground connection of triode Q3, the ends P2 of microprocessor
Mouth is connected between resistance R2 and the collector of triode Q3.
Further, the third control circuit includes triode Q1 and resistance R1, and the base stage of triode Q1 passes through resistance
R1 is connected with the ports P1 of microprocessor, and the emitter of triode Q1 is electrically connected with the power supply, the collector of triode Q1 and
One control circuit and second control circuit are electrically connected.
Further, the phototriode Q2 realizes the data acquisition of microprocessor by receiving extraneous optical signal.
The two of the purpose of this utility model adopt the following technical scheme that realization:
A kind of intellectual water meter with light button, the intellectual water meter include light button recited above, the intelligent water
Table includes main control unit, and the microprocessor of the main control unit and the light button carries out data interaction by serial port.
Deficiency compared with the prior art, the utility model has the beneficial effects that:The light button of the utility model directly seals
In intellectual water meter loaded on sealing, realized and extraneous short-range communication by optical signal.
Description of the drawings
Fig. 1 is the systematic schematic diagram of the utility model;
Fig. 2 is the circuit diagram of the utility model.
In figure:1, first control circuit;2, second control circuit;3, third control circuit.
Specific implementation mode
In the following, in conjunction with attached drawing and specific implementation mode, the utility model is described further, it should be noted that
Under the premise of not colliding, it can be formed in any combination between various embodiments described below or between each technical characteristic new
Embodiment.
Embodiment one:
A kind of light button with communication function is packaged in intellectual water meter and carries out data as intellectual water meter and user
Interactive control device, as shown in Figure 1, light button includes microprocessor, first control circuit and optical transmitting set, microprocessor with
Intellectual water meter is electrically connected, and microprocessor is electrically connected by first control circuit and optical transmitting set, and optical transmitting set passes through transmitting
Optical signal transmits data to exterior terminal;Light button further includes second control circuit and optical receiver, and optical receiver passes through second
Control circuit is electrically connected with optical receiver module, and optical receiver obtains data by receiving the optical signal of exterior terminal.
Wherein, optical transmitting set and optical receiver can be independent the device of device or transceiver.
Light button carry out communication function when principle be:When to exterior terminal output data, exterior terminal needs to exist
Optical receiver, light button send out optical signal to the optical receiver of exterior terminal by optical transmitter module, reach the output of data;Together
Reason is needed there are optical transmitting set, user sends out optical signal to light by optical transmitting set and connects when user, which inputs light button, to be instructed
The reception that module realizes data is received, wherein exterior terminal can be that palmtop computer or computer do not limit light for the optical signal
The frequency spectrum of line can be infrared ray or the spectrum of other frequencies.
Since optical transmitting set and optical receiver are in the state of continue working in systems, in order to reduce energy consumption, light button
Further include power supply and third control circuit, power supply is electrically connected by third control circuit and microprocessor, third control circuit
Be electrically connected and control with first control circuit and second control circuit first control circuit and second control circuit and power supply it
Between connection break-make.
Wherein, third control circuit can cut off the power supply offer of other control circuits, and source current is not consumed to reach
Purpose, and then reduce energy consumption;And according to control needs, the control signal P1 of microprocessor, it is higher to may be used frequency, accounts for
Sky compares higher periodic signal and is controlled, and can substantially reduce average current consumption, and wherein duty ratio is 70%-90%
Between be best.
As shown in Fig. 2, first control circuit includes triode Q4, resistance R4 and resistance R5, optical transmitting set includes luminous two
One end of pole pipe D1, resistance R4 are electrically connected with the power supply by third control circuit, and the other end of resistance R4 passes through light-emitting diodes
Pipe D1 is connected to the emitter of triode Q4, and the base stage of triode Q4 is connected to the ports P3 of microprocessor, triode by R5
The grounded collector of Q4.
Second control circuit includes triode Q3, resistance R2 and resistance R3, and light receiving tube includes phototriode Q2, resistance
One end of R3 is electrically connected with the power supply by third control circuit, and the other end of resistance R3 is connected to three by phototriode Q2
One end of the base stage of pole pipe Q3, resistance R2 is connected between third control circuit and resistance R3, and the other end of resistance R2 is connected to
The collector of triode Q3, the emitter ground connection of triode Q3, the ports P2 of microprocessor are connected to resistance R2 and triode Q3
Collector between.
Third control circuit includes triode Q1 and resistance R1, and the base stage of triode Q1 passes through resistance R1 and microprocessor
The ports P1 are connected, and the emitter of triode Q1 is electrically connected with the power supply, the collector of triode Q1 and first control circuit and the
Two control circuits are electrically connected.
Wherein, triode Q1, Q3, Q4 is not limited to NPN or PNN transistors, and metal-oxide-semiconductor, transistor or integrated may be used
Circuit etc. will produce different driving circuits for different triodes.
When function of the light button without optic communication, it can also be achieved the function of button, carry out the setting etc. of parameter;It is logical
It crosses microprocessor and total power supply offer is provided, controlled according to demand.The control of the low duty ratio of certain frequency is usually provided
Signal, modulating frequency 1k-10kHZ, the frequency also can be used as photoemissive modulating frequency, when system is without two-way communication
When, can judge the variation of extraneous light by judging that second control circuit is output to the signal of microprocessor, for sentencing
Whether disconnected have a push-botton operation, and according to state come the operation of confirming button, for example short-press, long-press, clicks, double-clicks.When communication,
Third control circuit can be controlled, can not also be controlled, first control circuit and second control circuit are real respectively
What is now communicated outputs and inputs.
Light button realizes that the operation principle of push button function is:The control signal that microcontroller exports certain frequency gives third control
Circuit 3 processed, when high level, resistance R1 draws high the base stage of triode Q1, triode Q1 cut-offs, and third control circuit 3 is not defeated
Go out;When low level, resistance R1 drags down the base stage of triode Q1, triode Q1 conductings, 3 output voltage of third control circuit;
When outside finger or other implements cover the window of phototriode Q2, presses on button, blocked photosensitive similar to finger
The light receiver of triode Q2, if third control circuit 3 does not export at this time, second control circuit exports low level, if
Third control circuit output voltage at this time, then second control circuit 2 export low level;When outside does not block phototriode Q2 windows
Mouthful, and at this time third control circuit output voltage when, second control circuit export high level, by the output with microcontroller into
Row judges, can be confirmed currently whether button is pressed;By that can classify to the judgement for pressing duration, such as more than a timing
Between, it is defined as short-press, and be more than certain time, then it is defined as long-press;It can also set within a certain period of time, button state variation
Number click and double-click to distinguish;Other sorting techniques can also be equally set, these methods define the operation of button, into
And the function of confirming button, by the function of these buttons, different interactions, such as arrange parameter, reading may be implemented in user
Parameter, reading data etc..
Meanwhile in order to avoid the confusion of second control circuit output state, microprocessor first passes through light button and is operated into
Optical communication modes, for realizing communication function, after sign off, after a certain period of time, auto-returned light button pattern, for realizing
Light button fuction output;When into optical communication modes, according to whether modulation, it is defeated to determine whether third control circuit 3 needs
Enter frequency signal or status signal, communication function is realized according to first control circuit 1 at this time and second control circuit 2, leads to
It is often to use asynchronous serial communication, output of the first control circuit 1 as asynchronous serial communication, second control circuit 2 is as different
Walk the input of serial communication.
The P2 of microprocessor can both be used as I/O mouthfuls of number, simulation input interface be can also be used as, for judging the external world
Light changes state-detection when unobvious, the current state for assisting accurate judgement button.
The light button of the utility model can effectively solve the high protection of current intellectual water meter, low-power consumption, communication, button etc.
Integration requirement, and low cost low-power consumption low complex degree, it is easy to use, it is very suitable for Price Sensitive, power consumption requirements height and needs people
Machine interacts and the application of the intellectual water meter product of communication function, while the utility model also is adapted for working in dark surrounds, leads to
It crosses optical receiver reception optical transmitting set and is emitted to the reflected light realization keypress function of user's finger.
Embodiment two:
The invention also discloses a kind of intellectual water meter with light button, intellectual water meter include light recited above by
Button, intellectual water meter include main control unit, and the microprocessor of main control unit and light button carries out data interaction by serial port.
The above embodiment is only preferred embodiments of the present invention, cannot be protected with this to limit the utility model
Range, the variation of any unsubstantiality that those skilled in the art is done on the basis of the utility model and replacing belongs to
In the utility model range claimed.
Claims (7)
1. a kind of light button with communication function, it is characterised in that:The light button includes microprocessor, first control circuit
And optical transmitting set, the microprocessor are electrically connected by the first control circuit and optical transmitting set, the optical transmitting set is logical
It crosses transmitting optical signal and transmits data to exterior terminal;The light button further includes second control circuit and optical receiver, the light
Receiver is electrically connected by the second control circuit and optical receiver module, and the optical receiver is by receiving exterior terminal
Optical signal obtains data.
2. the light button with communication function as described in claim 1, it is characterised in that:The light button further include power supply and
Third control circuit, the power supply are electrically connected by the third control circuit and microprocessor, the third control circuit
The first control circuit and second control circuit and electricity are electrically connected and controlled with first control circuit and second control circuit
Connection break-make between source.
3. the light button with communication function as claimed in claim 2, it is characterised in that:The first control circuit includes three
Pole pipe Q4, resistance R4 and resistance R5, the optical transmitting set include light emitting diode D1, and one end of the resistance R4 passes through third control
Circuit processed is electrically connected with the power supply, and the other end of resistance R4 is connected to the emitter of triode Q4 by light emitting diode D1, institute
The base stage for stating triode Q4 is connected to the ports P3 of microprocessor, the grounded collector of triode Q4 by R5.
4. the light button with communication function as claimed in claim 3, it is characterised in that:The second control circuit includes three
Pole pipe Q3, resistance R2 and resistance R3, the light receiving tube include phototriode Q2, and one end of the resistance R3 passes through third control
Circuit processed is electrically connected with the power supply, and the other end of resistance R3 is connected to the base stage of triode Q3 by phototriode Q2, described
One end of resistance R2 is connected between third control circuit and resistance R3, and the other end of resistance R2 is connected to the current collection of triode Q3
Pole, the emitter ground connection of triode Q3, the ports P2 of microprocessor are connected between resistance R2 and the collector of triode Q3.
5. the light button with communication function as claimed in claim 4, it is characterised in that:The third control circuit includes three
The base stage of pole pipe Q1 and resistance R1, triode Q1 are connected by resistance R1 with the ports P1 of microprocessor, the transmitting of triode Q1
Pole is electrically connected with the power supply, and collector and the first control circuit and second control circuit of triode Q1 are electrically connected.
6. the light button with communication function as claimed in claim 4, it is characterised in that:The phototriode Q2 is by connecing
Receive the data acquisition that extraneous optical signal realizes microprocessor.
7. a kind of intellectual water meter with light button, it is characterised in that:The intellectual water meter includes any one of claim 1-6 institutes
The light button stated, the intellectual water meter include main control unit, and the microprocessor of the main control unit and the light button passes through string
Row port carries out data interaction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820130385.7U CN207832264U (en) | 2018-01-25 | 2018-01-25 | A kind of light button with communication function and the intellectual water meter with light button |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820130385.7U CN207832264U (en) | 2018-01-25 | 2018-01-25 | A kind of light button with communication function and the intellectual water meter with light button |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207832264U true CN207832264U (en) | 2018-09-07 |
Family
ID=63394851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201820130385.7U Active CN207832264U (en) | 2018-01-25 | 2018-01-25 | A kind of light button with communication function and the intellectual water meter with light button |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207832264U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108240847A (en) * | 2018-01-25 | 2018-07-03 | 宁波水表股份有限公司 | A kind of light button with communication function and the intellectual water meter with light button |
-
2018
- 2018-01-25 CN CN201820130385.7U patent/CN207832264U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108240847A (en) * | 2018-01-25 | 2018-07-03 | 宁波水表股份有限公司 | A kind of light button with communication function and the intellectual water meter with light button |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204925670U (en) | Intelligence household electrical appliances control system based on singlechip and bluetooth of mobile phone communication | |
CN108240847A (en) | A kind of light button with communication function and the intellectual water meter with light button | |
CN207832264U (en) | A kind of light button with communication function and the intellectual water meter with light button | |
CN208506698U (en) | A kind of infrared gesture identifying device | |
CN209731206U (en) | A kind of multiplexing control circuit of key in conjunction with communication function | |
CN203489934U (en) | Wireless valve control remote water meter | |
CN108614651A (en) | A kind of mobile terminal and infrared detection method | |
CN208985251U (en) | A kind of human body environment's optical detection system based on self-service cabinet | |
CN205540000U (en) | Intelligent control system for household appliances | |
CN105517293A (en) | Light control device for micro-module computer room and system of light control device | |
CN207557691U (en) | It is a kind of to control two-way switch with ZigBee Wireless remote controls and touch screen | |
CN212086199U (en) | Circuit with near-infrared communication and optical key functions | |
CN202455611U (en) | Light-emitting diode (LED) intelligent lighting device | |
CN216531864U (en) | Intelligent lighting system based on RS485 communication | |
CN205960341U (en) | Adopt wireless control's intelligence response socket | |
CN101887675B (en) | Multipurpose infrared device and display device using same | |
CN211956703U (en) | Magnetic induction switch | |
CN208255435U (en) | A kind of lavatory squatting position monitoring control circuit | |
CN207780953U (en) | A kind of remote controler with switchable lamp function | |
CN106094610A (en) | A kind of automatic curtain controlled based on development of Mobile Internet technology | |
CN213935181U (en) | Gesture control circuit | |
CN109000686A (en) | A kind of digital Fibre Optical Sensor test macro | |
CN203896328U (en) | Bluetooth wireless intelligent touch switch | |
CN203249325U (en) | Low-power-consumption indoor-temperature controller | |
CN104092455B (en) | Bluetooth intelligent wireless soft-touch control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Hongxing Road Jiangbei District 315000 Zhejiang city of Ningbo province No. 355 Patentee after: Ningbo water meter (Group) Co.,Ltd. Address before: Hongxing Road Jiangbei District 315000 Zhejiang city of Ningbo province No. 355 Patentee before: NINGBO WATER METER Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |