CN108052167A - A kind of induction type side switch and its function realizing method, electronic device - Google Patents
A kind of induction type side switch and its function realizing method, electronic device Download PDFInfo
- Publication number
- CN108052167A CN108052167A CN201711498889.0A CN201711498889A CN108052167A CN 108052167 A CN108052167 A CN 108052167A CN 201711498889 A CN201711498889 A CN 201711498889A CN 108052167 A CN108052167 A CN 108052167A
- Authority
- CN
- China
- Prior art keywords
- microcontroller
- touching signals
- infrared
- electronic device
- side switch
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/941—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated using an optical detector
- H03K17/943—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated using an optical detector using a plurality of optical emitters or detectors, e.g. keyboard
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electronic Switches (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
Abstract
The invention discloses a kind of induction type side switch and its function realizing method, electronic devices.The induction type side switch is applied to electronic device, which includes housing and microcontroller, which includes at least:Infrared induction lamp module, is installed on housing, and infrared induction lamp module is used to generate touch signal according to touch action;Circuit board is electrically connected respectively with infrared induction lamp module and microcontroller, and circuit board is used to export touching signals according to touch signal, so that microcontroller controls electronic device to carry out corresponding operating according to touching signals.The induction type side switch replaces mechanical key, is fit directly on housing, occupies little space, can improve the slimming of electronic device, and can improve its water proofing property.
Description
Technical field
The present invention relates to field of electronic devices, more particularly to a kind of induction type side switch and its function realizing method, electronics
Device.
Background technology
With the popularization of electronic device, electronic device has become instrument indispensable in people's life, for example, mobile phone
Intelligent electronic devices is waited to have become as indispensable instrument in the daily communication of people, commercial affairs, work.Comprehensive large-screen mobile phone eliminates
Front physical button, side press-key become the main flow direction that electronic device button is realized.
But the present inventor has found in long-term R&D work, and the side switch of traditional electronic device uses machine mostly
Tool formula button design, manufacturing forming process is complicated, and space needed for assembling is larger, becomes in the development of current electronic device ultrathin
Under gesture, the inferior position of mechanical side switch seems particularly evident.In addition, traditional side switch uses Mechanical Design, usually on side switch periphery
The position of bone increases foam or increases silica gel on side switch periphery with waterproof, but the water resistance of this structure is not high.
The content of the invention
The invention mainly solves the technical problem of providing a kind of induction type side switch and its function realizing method, electronics dresses
It puts, to improve the slimming of electronic device and water proofing property.
In order to solve the above technical problems, one aspect of the present invention is:A kind of induction type side switch is provided.The side
Key is applied to electronic device, which includes induction type side switch, housing and microcontroller, which includes at least:It is infrared
Sensing lamp module, is installed on housing, and infrared induction lamp module is used to generate touch signal according to touch action;Circuit board, point
It is not electrically connected with infrared induction lamp module and microcontroller, circuit board is used to export touching signals according to touch signal, so that micro-
Controller controls electronic device to carry out corresponding operating according to touching signals.
Wherein, infrared induction lamp module includes infrared discharge lamps and infrared receiver lamp, and infrared discharge lamps and infrared receiver
Lamp is disposed adjacent;For infrared discharge lamps for emitting infrared ray, infrared receiver lamp is used for receiving infrared-ray, infrared induction lamp module root
Touch signal is generated according to the infrared ray received.
Wherein, infrared receiver lamp includes infrared induction element and indicator light;Infrared induction element is used for receiving infrared-ray, and
Generate touching signals;Indicator light is used to indicate touch signal.
Wherein, side switch includes:First infrared induction lamp module, the second infrared induction lamp module and the 3rd infrared induction lamp mould
Group, and be set in turn on the housing;First infrared induction lamp module generates the first touch signal, circuit according to touch action
Plate exports the first touching signals according to the first touch signal;Second infrared induction lamp module generates second according to touch action and touches
Signal, circuit board export the second touching signals according to the second touch signal;3rd infrared induction lamp module is produced according to touch action
Raw 3rd touch signal, circuit board export the 3rd touching signals according to the 3rd touch signal;
When microcontroller receives the first touching signals and the second touching signals, microcontroller generates the first control and refers to
Order, and according to the first control instruction electronic device is controlled to increase output volume;Microcontroller receive the second touching signals and
During three touching signals, microcontroller generates the second control instruction, and controls electronic device reduction defeated according to the second control instruction
Go out volume;When microcontroller receives the first touching signals, the second touching signals and three touching signals, microcontroller generates
3rd control instruction, and electronic device shutdown is controlled according to the 3rd control instruction.
Wherein, indicator light is electrically connected with microcontroller, and the first control instruction that microcontroller generates controls the first infrared sense
Answering the indicator lamp brightness of lamp module increases, and the second control instruction that microcontroller generates controls the finger of the second infrared induction lamp module
Show that lamp brightness reduces.
Wherein, indicator light is electrically connected with microcontroller, and microcontroller is according to touching signals open instruction lamp.
Wherein, when microcontroller judges whether the duration of touching signals is greater than or equal to preset value, microcontroller
According to touching signals electronic device is controlled to carry out corresponding operating.
In order to solve the above technical problems, one aspect of the present invention is:A kind of work(of induction type side switch is provided
Can implementation method, this method is applied to electronic device, the electronic device include being arranged at induction type side switch on housing and with sense
The microcontroller that formula side switch is answered to be electrically connected, wherein, induction type side switch includes at least:Infrared induction lamp module and circuit board, circuit
Plate is electrically connected respectively with infrared induction lamp module and microcontroller, and this method includes:By infrared induction lamp module according to touch
Action generates touch signal;Touching signals are exported according to touch signal by circuit board;By microcontroller according to touching signals
Control instruction is generated, and according to control instruction electronic device is controlled to carry out corresponding operating.
Wherein, induction type side switch includes:First infrared induction lamp module, the second infrared induction lamp module and the 3rd infrared sense
Lamp module is answered, the first infrared induction lamp module generates the first touch signal according to touch action, and circuit board is touched according to first to be believed
Number output the first touching signals;Second infrared induction lamp module according to touch action generate the second touch signal, circuit board according to
Second touch signal exports the second touching signals;3rd infrared induction lamp module generates the 3rd touch signal according to touch action,
Circuit board exports the 3rd touching signals according to the 3rd touch signal;Control instruction is generated according to touching signals by microcontroller,
Included so that electronic device is controlled to carry out corresponding operating:When microcontroller receives the first touching signals and the second touching signals,
Microcontroller generates the first control instruction, and according to the first control instruction electronic device is controlled to increase output volume;In microcontroller
When device receives the second touching signals and three touching signals, microcontroller generates the second control instruction, and according to the second control
Instruction control electronic device reduces output volume;The first touching signals, the second touching signals and the 3rd are received in microcontroller
During touching signals, microcontroller generates the 3rd control instruction, and controls electronic device shutdown according to the 3rd control instruction.
In order to solve the above technical problems, another technical solution that the present invention uses is:A kind of electronic device is provided, the electricity
Sub-device includes above-mentioned induction type side switch, housing and microcontroller, wherein, induction type side switch is arranged on housing, and induction type
Side switch is electrically connected with microcontroller.
The advantageous effect of the embodiment of the present invention is:The prior art is different from, induction type side switch of the embodiment of the present invention is applied to
Electronic device, the electronic device include housing and microcontroller, which includes at least:Infrared induction lamp module and circuit board,
Infrared induction lamp module is installed on housing, and infrared induction lamp module is used to generate touch signal according to touch action;Circuit board
It is electrically connected respectively with infrared induction lamp module and microcontroller, for exporting touching signals according to touch signal, so that microcontroller
Device controls electronic device to carry out corresponding operating according to touching signals.In this way, which replaces mechanically pressing
Key is fit directly on housing, reduces the gap between traditional side switch, waterproof material, and the occupancy that can significantly reduce side switch is empty
Between, therefore the slimming of electronic device can be improved, and its water proofing property can be improved.
Description of the drawings
Fig. 1 is the structure diagram of one embodiment of electronic device of the present invention;
Fig. 2 is the side view diagram of Fig. 1 embodiment electronic devices;
Fig. 3 is another side view of Fig. 1 embodiment electronic devices;
Fig. 4 is the structure diagram of induction type side switch in Fig. 1 embodiment electronic devices;
Fig. 5 is the structure diagram of Fig. 4 embodiment induction type side switch opposite sides;
Fig. 6 is the structure diagram of another embodiment of induction type side switch of the present invention.
Fig. 7 is the flow diagram of the function realizing method first embodiment of induction type side switch of the present invention.
Specific embodiment
The present invention proposes a kind of electronic device, and as shown in Figures 1 to 4, Fig. 1 is one embodiment of electronic device of the present invention
Structure diagram;Fig. 2 is the side view diagram of Fig. 1 embodiment electronic devices;Fig. 3 is that the opposite side of Fig. 1 embodiment electronic devices regards
Figure;Fig. 4 is the structure diagram of induction type side switch in Fig. 1 embodiment electronic devices.The present embodiment electronic device 101 includes sensing
Formula side switch 102, housing 103 and microcontroller 104, wherein, 102 key of induction type side is arranged on housing 103, and induction type side switch
102 are electrically connected with microcontroller 104.
The induction type side switch 102 of the present embodiment generates touch signal according to touch action, and the touch signal is transferred to
Microcontroller 104, microcontroller 104 handles the touch signal, and generates control signal, control signal control electronics
Device 101 is operated accordingly.
The present embodiment electronic device 101 can be that smart mobile phone, tablet computer, IPAD and intelligent wearable device etc. are provided with
The electronic device of keypress function.
The prior art is different from, the induction type side switch 102 of the present embodiment electronic device 101 replaces mechanical key, directly
It is assemblied on housing 103, reduces the gap between traditional side switch, waterproof material, the occupancy that can significantly reduce side switch 102 is empty
Between, therefore the slimming of electronic device 101 can be improved, and its water proofing property can be improved.
Optionally, the present embodiment electronic device 101 further comprises connector 105, and connector 105 is used to connect induction type
Side switch 102 and microcontroller 104.
Present invention further propose that a kind of induction type side switch, as shown in Figure 1, Figure 4, Figure 5, Fig. 5 are Fig. 4 embodiment induction types
The structure diagram of side switch opposite side.The present embodiment induction type side switch 102 is installed on housing 103, and induction type side switch 102 is at least
Including infrared induction lamp module 401 and circuit board 402, infrared induction lamp module 401, which is used to be generated according to touch action, touches letter
Number;Circuit board 402 is electrically connected respectively with infrared induction lamp module 401 and microcontroller 104, is touched for being exported according to touch signal
Signal is controlled, so that microcontroller 104 controls electronic device 101 to carry out corresponding operating according to touching signals.
In the above-described embodiments, window (figure is not marked) is provided on housing 103, infrared induction lamp module 401 is embedded in
In the window of housing 103.Certainly, in other embodiments, window can not also be set on housing 103, it directly will be infrared
Sensing lamp module 201 is close to housing 103 close to the one side of microcontroller 104 or uses other manner by infrared induction lamp
Module 401 is arranged on housing 103.
The prior art is different from, the present embodiment induction type side switch 102 replaces mechanical key, is fit directly into housing 103
On, reduce the gap between traditional side switch, waterproof material can significantly reduce the occupied space of side switch 102, therefore can improve
The slimming of electronic device 101, and its water proofing property can be improved.
101 circuit board 402 of electronic device of the present embodiment is connected by connector 105 with microcontroller 105.
Optionally, the present embodiment induction type side switch 102 includes the first infrared induction lamp module 401, the second infrared induction lamp
501 and the 3rd infrared induction lamp module 502 of module;Wherein, the first infrared induction lamp module 401 generates first according to touch
Touch signal, circuit board 402 export the first touching signals according to the first touch signal;Second infrared induction lamp group part module 501
Second touch signal is generated according to touch, circuit board 402 exports the second touching signals according to the second touch signal;3rd is red
Outer sensing lamp module 502 generates the 3rd touch signal according to touch, and circuit board 402 exports the 3rd according to the 3rd touch signal
Touching signals;When microcontroller 104 receives the first touching signals and the second touching signals, microcontroller 104 generates first
Control instruction, and according to the first control instruction electronic device 101 is controlled to increase output volume;Is received in microcontroller 104
When two touching signals and three touching signals, microcontroller 104 generates the second control instruction, and is controlled according to the second control instruction
Electronic device 101 reduces output volume;It is tactile that the first touching signals, the second touching signals and the 3rd are received in microcontroller 104
When controlling signal, microcontroller 104 generates the 3rd control instruction, and according to the 3rd control instruction electronic device 101 is controlled to shut down.
Induction type side switch 102 of the present invention is not limited to the volume of adjustment electronic device 101, controls the pass of electronic device 101
Machine can also adjust the other parameter of the electronic device 101, such as screen intensity etc..
In other embodiments, the quantity for the infrared induction lamp module that induction type side switch 102 includes is not limited.
Specifically, the 3rd infrared induction lamp module 502 of the present embodiment includes infrared discharge lamps 503 and infrared receiver lamp
504, and infrared discharge lamps 503 are disposed adjacent with infrared receiver lamp 504;Infrared discharge lamps 503 are infrared to connect for emitting infrared ray
Lamp 504 is received for receiving infrared-ray, infrared induction lamp module 502 generates touch signal according to the infrared ray received.First is red
Outer 401 and second infrared induction lamp module 501 of sensing lamp module has identical structure with the 3rd infrared induction lamp module 502.
In the present embodiment, when the side switch 102 on the hand of human body or certain a part of close or touch housing 103 of body,
The infrared ray that infrared discharge lamps 503 are sent can be because the hand of human body or reflecting for body when picking up gear, and infrared receiver lamp 504 receives reflection
The infrared ray returned, and generate touch signal.
Wherein, infrared discharge lamps 503 can be the radiated elements such as infrared light-emitting diode, and infrared receiver lamp 504 can be
The receiving elements such as photodiode.
Certainly, in other embodiments, infrared discharge lamps 503 can be substituted by temperature-sensitive infrared detector cell and infrared are connect
Lamp 504 is received, that is, does not have to transmitting infrared ray, it is possible to reduce the power consumption of electronic device 101.When the hand of human body or certain part of body
It is close or touch housing 103 on side switch 102 when, temperature-sensitive infrared detector cell can detect the infrared ray that human body is sent.
To further improve the beauty of electronic device and induction type side switch, user experience is improved, the present invention proposes that second is real
The induction type side switch of example is applied, as shown in fig. 6, Fig. 6 is the structure diagram of another embodiment of induction type side switch of the present invention.This reality
The infrared receiver lamp 602 for applying an induction type side switch 601 includes infrared induction element 603 and indicator light 604, the present embodiment it is red
Outer sensing element 603 is used for receiving infrared-ray, and generates touch signal, and indicator light 604 generates for infrared induction element 603
Touch signal, i.e. indicator light 604 can change according to the variation of the touching signals of the generation of infrared induction element 603, pass through this
Kind mode can improve the beauty of electronic device (figure is not marked).
Certainly, in other embodiments, indicator light 604 and infrared receiver lamp 602 can also be separately provided.
Specifically, the indicator light 604 of the present embodiment is electrically connected with microcontroller 605, the first control that microcontroller 605 generates
604 brightness of indicator light of system instruction the first infrared induction lamp module 606 of control increases, the second control that microcontroller 605 generates
604 brightness of indicator light of instruction the second infrared induction lamp module 607 of control reduces.
The present embodiment visually shows the variation of electronic device volume by indicator light 604, can improve user experience.
Certainly in other embodiments, indicator light 604 can also be utilized to show the variation of electronic device other parameters, such as screen intensity
Variation plays music style of song variation etc..
In another embodiment, indicator light 604 can indicate touch signal by another way.Specifically, indicate
Lamp 604 is electrically connected with microcontroller 605, and microcontroller 605 is according to touching signals open instruction lamp 604, to realize to side switch 601
When carrying out touch action, open instruction lamp 604 at the end of realizing touch action, closes indicator light 604.
To reduce the maloperation of the electronic device brought to the erroneous judgement of touch action, judge that touch-control is believed in microcontroller 605
Number duration whether be greater than or equal to preset value when, microcontroller 605 according to touching signals control electronic device carry out phase
It should operate.When generating touch action, then touching signals are generated, when touch action disappears, touching signals disappear, therefore, by touching
The duration of control signal can react duration of touch action, when touching between when being greater than or equal to preset value, just think
Touch action is implemented to side switch 601.
The present invention proposes a kind of function realizing method of induction type side switch again, applied to electronic device, to realize that electronics fills
The function of side key put.It is illustrated below by taking above-mentioned electronic device 101 as an example, the concrete structure of electronic device 101 is not gone to live in the household of one's in-laws on getting married here
It states.As shown in Fig. 5, Fig. 5 and Fig. 7, Fig. 7 is the flow signal of the function realizing method first embodiment of induction type side switch of the present invention
Figure.The method of the present embodiment specifically includes following steps:
S701:Touch signal is generated according to touch action by infrared induction lamp module 401.
S702:Touching signals are exported according to touch signal by circuit board 402.
S703:Control instruction is generated according to touching signals by microcontroller 104, and by control instruction electronics is controlled to fill
Put 101 carry out corresponding operatings.
The prior art is different from, the present embodiment can improve slimming and its water proofing property of electronic device 101.
As the above analysis, in one embodiment, induction type side switch 102 include the first infrared induction lamp module 401,
Second infrared induction lamp module 501 and the 3rd infrared induction lamp module 502, wherein, the first infrared induction lamp module 401 is according to tactile
Control action generates the first touch signal, and circuit board 402 exports the first touching signals according to the first touch signal;Second infrared induction
Lamp group part module 501 generates the second touch signal according to touch, and circuit board 402 is touched according to the second touch signal output second
Control signal;3rd infrared induction lamp module 502 generates the 3rd touch signal according to touch, and circuit board 402 is touched according to the 3rd
The 3rd touching signals of signal output are touched, for this purpose, the present embodiment realizes the function of above-mentioned steps S703, this implementation by following methods
The method of example specifically includes:When microcontroller 104 receives the first touching signals and the second touching signals, microcontroller 104
The first control instruction is generated, and according to the first control instruction electronic device 101 is controlled to increase output volume;In microcontroller 104
When receiving the second touching signals and three touching signals, microcontroller 104 generates the second control instruction, and according to the second control
Instruction control electronic device 101 reduces output volume;The first touching signals, the second touching signals are received in microcontroller 104
And during three touching signals, microcontroller 104 generates the 3rd control instruction, and controls electronic device according to the 3rd control instruction
101 shutdown.
Induction type side switch 102 of the present invention is not limited to the volume of adjustment electronic device 101, controls the pass of electronic device 101
Machine can also adjust the other parameter of the electronic device 101, such as screen intensity etc..
As the above analysis, to further improve the beauty of electronic device and induction type side switch, user experience is improved,
In another embodiment, the infrared receiver lamp 602 of induction type side switch 601 includes infrared induction element 603 and indicator light 604.This
The method of embodiment can further include:The first control instruction generated by microcontroller 605 controls the first infrared sense
Answering 604 brightness of indicator light of lamp module 606 increases, and the second control instruction control second generated by microcontroller 605 is infrared
604 brightness of indicator light of sensing lamp module 607 reduces.
The present embodiment visually shows the variation of electronic device volume by indicator light 604, can improve user experience.
Certainly in other embodiments, indicator light 604 can also be utilized to show the variation of electronic device other parameters.
In another embodiment, indicator light 604 can indicate touch signal by another way.Specifically, indicate
Lamp 604 is electrically connected with microcontroller 605, and microcontroller 605 is according to touching signals open instruction lamp 604, to realize to side switch 601
When carrying out touch action, open instruction lamp 604 at the end of realizing touch action, closes indicator light 604.
To reduce the maloperation of electronic device brought to the erroneous judgement of touch action, the microcontroller 605 of the present embodiment into
One step judges whether the duration of touching signals is greater than or equal to preset value;If the duration is greater than or equal to preset value, micro-
Controller 605 then controls electronic device to carry out corresponding operating according to touching signals.
The prior art is different from, the embodiment of the present invention replaces traditional physical button with induction type side switch, can reduce electricity
The size of sub-device saves electronic device construction design space, improves the slimming of electronic device, while can lower component
Cost lowers the price of electronic device;The induction type side switch of the present embodiment assembles gapless, can significantly improve water resistance;
The present embodiment can increase the beauty of electronic device by indicator light, improve user experience.
The foregoing is merely embodiments of the present invention, are not intended to limit the scope of the invention, every to utilize this
It is relevant to be directly or indirectly used in other for the equivalent structure or equivalent flow shift that description of the invention and accompanying drawing content are made
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of induction type side switch, which is characterized in that applied to electronic device, the electronic device includes the induction type side
Key, housing and microcontroller, the induction type side switch include at least:
Infrared induction lamp module, is installed on the housing, and the infrared induction lamp module is used to be generated according to touch action and touch
Touch signal;
Circuit board is electrically connected respectively with the infrared induction lamp module and the microcontroller, and the circuit board is used for according to institute
Touch signal output touching signals are stated, so that the microcontroller controls the electronic device to carry out phase according to the touching signals
It should operate.
2. side switch according to claim 1, which is characterized in that the infrared induction lamp module includes infrared discharge lamps and red
Outer reception lamp, and the infrared discharge lamps are disposed adjacent with the infrared receiver lamp;The infrared discharge lamps are infrared for emitting
Line, the infrared receiver lamp are used for receiving infrared-ray, and the infrared induction lamp module generates touch according to the infrared ray received
Signal.
3. side switch according to claim 2, which is characterized in that the infrared receiver lamp includes infrared induction element and instruction
Lamp;
The infrared induction element is used for receiving infrared-ray, and generates the touch signal according to the infrared ray received;
The indicator light is used to indicate the touch signal.
4. side switch according to claim 3, which is characterized in that the side switch includes:First infrared induction lamp module, second
Infrared induction lamp module and the 3rd infrared induction lamp module, and be set in turn on the housing;
The first infrared induction lamp module generates the first touch signal according to the touch action, and the circuit board is according to
First touch signal exports the first touching signals;The second infrared induction lamp module generates second according to the touch action and touches
Signal is touched, the circuit board exports the second touching signals according to second touch signal;The 3rd infrared induction lamp module
3rd touch signal is generated according to the touch action, the circuit board exports the 3rd touch-control according to the 3rd touch signal to be believed
Number;
When the microcontroller receives first touching signals and second touching signals, the microcontroller generates
First control instruction, and according to first control instruction electronic device is controlled to increase output volume;In the microcontroller
When device receives second touching signals and three touching signals, the microcontroller generates the second control instruction, and
According to second control instruction electronic device is controlled to reduce output volume;Described first is received in the microcontroller
When touching signals, second touching signals and three touching signals, the microcontroller generates the 3rd control instruction, and
The electronic device shutdown is controlled according to the 3rd control instruction.
5. side switch according to claim 4, which is characterized in that the indicator light is electrically connected with the microcontroller, described
First control instruction that microcontroller generates controls the indicator lamp brightness of the first infrared induction lamp module to increase,
Second control instruction that the microcontroller generates controls the indicator lamp brightness of the second infrared induction lamp module
Reduce.
6. side switch according to claim 4, which is characterized in that the indicator light is electrically connected with the microcontroller, described
Microcontroller opens the indicator light according to the touching signals.
7. side switch according to claim 1, which is characterized in that judge continuing for the touching signals in the microcontroller
When time is greater than or equal to the preset value, the microcontroller controls the electronic device to carry out phase according to the touching signals
It should operate.
8. a kind of function realizing method of induction type side switch, which is characterized in that applied to electronic device, the electronic device includes
The induction type side switch being arranged on housing and the microcontroller being electrically connected with the induction type side switch, wherein, the induction type side
Key includes at least:Infrared induction lamp module and circuit board, the circuit board respectively with the infrared induction lamp module and described micro-
Controller is electrically connected, the described method includes:
Touch signal is generated according to touch action by the infrared induction lamp module;
Touching signals are exported according to the touch signal by the circuit board;
Control instruction is generated according to the touching signals by the microcontroller, and the electricity is controlled according to the control instruction
Sub-device carries out corresponding operating.
9. according to the method described in claim 8, it is characterized in that, the induction type side switch includes:First infrared induction lamp mould
Group, the second infrared induction lamp module and the 3rd infrared induction lamp module;The first infrared induction lamp module is according to the touch
Action generates the first touch signal, and the circuit board exports the first touching signals according to first touch signal;Described second
Infrared induction lamp module generates the second touch signal according to the touch action, and the circuit board is according to second touch signal
Export the second touching signals;The 3rd infrared induction lamp module generates the 3rd touch signal according to the touch action, described
Circuit board exports the 3rd touching signals according to the 3rd touch signal;It is described to be believed by the microcontroller according to the touch-control
Number control instruction is generated, included so that the electronic device is controlled to carry out corresponding operating:
When the microcontroller receives first touching signals and second touching signals, the microcontroller generates
First control instruction, and according to first control instruction electronic device is controlled to increase output volume;In the microcontroller
When device receives second touching signals and three touching signals, the microcontroller generates the second control instruction, and
According to second control instruction electronic device is controlled to reduce output volume;Described first is received in the microcontroller
When touching signals, second touching signals and three touching signals, the microcontroller generates the 3rd control instruction, and
The electronic device shutdown is controlled according to the 3rd control instruction.
10. a kind of electronic device, which is characterized in that the electronic device includes claim 1-7 any one of them induction types
Side switch, housing and microcontroller, wherein, the induction type side switch is arranged on the housing, and the induction type side switch and institute
State microcontroller electrical connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711498889.0A CN108052167A (en) | 2017-12-28 | 2017-12-28 | A kind of induction type side switch and its function realizing method, electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711498889.0A CN108052167A (en) | 2017-12-28 | 2017-12-28 | A kind of induction type side switch and its function realizing method, electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052167A true CN108052167A (en) | 2018-05-18 |
Family
ID=62126029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711498889.0A Pending CN108052167A (en) | 2017-12-28 | 2017-12-28 | A kind of induction type side switch and its function realizing method, electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052167A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203423729U (en) * | 2013-04-19 | 2014-02-05 | 中兴通讯股份有限公司 | Mobile terminal |
CN105100386A (en) * | 2014-05-23 | 2015-11-25 | 中兴通讯股份有限公司 | Method and device for achieving full touch keys of terminal |
CN105468097A (en) * | 2015-11-20 | 2016-04-06 | 小米科技有限责任公司 | Mobile terminal and mobile terminal side key structure |
CN105939155A (en) * | 2016-05-26 | 2016-09-14 | 珠海格力电器股份有限公司 | Key for mobile terminal and mobile terminal |
CN206805471U (en) * | 2015-01-12 | 2017-12-26 | 李永贵 | Keyboard |
-
2017
- 2017-12-28 CN CN201711498889.0A patent/CN108052167A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203423729U (en) * | 2013-04-19 | 2014-02-05 | 中兴通讯股份有限公司 | Mobile terminal |
CN105100386A (en) * | 2014-05-23 | 2015-11-25 | 中兴通讯股份有限公司 | Method and device for achieving full touch keys of terminal |
CN206805471U (en) * | 2015-01-12 | 2017-12-26 | 李永贵 | Keyboard |
CN105468097A (en) * | 2015-11-20 | 2016-04-06 | 小米科技有限责任公司 | Mobile terminal and mobile terminal side key structure |
CN105939155A (en) * | 2016-05-26 | 2016-09-14 | 珠海格力电器股份有限公司 | Key for mobile terminal and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103472752B (en) | A kind of infrared many gears gesture identification switch and gesture identification method | |
CN101488740B (en) | Touching type press-key and control method thereof | |
CN204180216U (en) | Non-touch hand signal recognition device, intelligent terminal remote controller and television set | |
WO2011023114A1 (en) | Touch control device | |
CN202049469U (en) | Remote controller with gesture sensing function | |
CN201416933Y (en) | Touch device of cooking stove | |
CN105812860B (en) | A kind of intelligent remote controller, key control method and system | |
CN202835677U (en) | Displayer and button integrated air-conditioner | |
CN103941616A (en) | Multifunctional user-defined switch | |
CN201314679Y (en) | Air-conditioner with function of touch key luminescence prompt | |
CN108052167A (en) | A kind of induction type side switch and its function realizing method, electronic device | |
CN104992635A (en) | Touch control nixie tube | |
CN203643947U (en) | Sensing identification circuit and device as well as mobile terminal | |
CN202041929U (en) | Touch screen control device | |
CN102508480A (en) | Intelligent touch screen switch | |
CN201820350U (en) | Remote control without button | |
CN202127390U (en) | Touching keyboard plate | |
CN202362654U (en) | Smart switch of touch screen | |
CN205232189U (en) | Touch circuit | |
CN210927597U (en) | Wall switch controlled by non-contact gesture recognition | |
CN104414480A (en) | Touch device and electric cooker | |
CN110632871A (en) | Intelligent switch, intelligent switch control method, electronic device and readable storage medium | |
CN203465704U (en) | Touch panel based on protection type capacitive touch screen | |
CN202305801U (en) | Distance detection device and mobile communication equipment provided with same | |
CN210864363U (en) | Intelligent switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
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 |
Application publication date: 20180518 |
|
RJ01 | Rejection of invention patent application after publication |