CN101043540A - Composite key circuit - Google Patents
Composite key circuit Download PDFInfo
- Publication number
- CN101043540A CN101043540A CN 200610034423 CN200610034423A CN101043540A CN 101043540 A CN101043540 A CN 101043540A CN 200610034423 CN200610034423 CN 200610034423 CN 200610034423 A CN200610034423 A CN 200610034423A CN 101043540 A CN101043540 A CN 101043540A
- Authority
- CN
- China
- Prior art keywords
- output
- composite
- input
- key
- inverter
- 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
Images
Abstract
The disclosed composite key-press circuit for one-key multifunction comprises a control module with one end connected with the key-press to output potential signal once pressing key to the control module. Wherein, the control module applies its inner logic conversion to decide and output logic control signal to the first or second function module for composite function. This invention is simple and low cost.
Description
Technical field
The present invention is a kind of key circuit, is in particular a kind of key circuit of realizing the composite-key function.
Background technology
At present; in some existing hand-held devices; for quantity and the aesthetic property that reduces button; button usually is the function with composite-key; for example: mobile phone usually can start/shutdown by being bonded together, whether it only is to take a decision as to whether time by pressing keys to start shooting or be shutdown.And realize the mode of above-mentioned this composite-key function, be generally the time that the CPU that utilizes system goes to calculate pressing keys, thereby judge.
Summary of the invention
In view of the above problems, main purpose of the present invention is to provide a kind of composite key circuit, and it is mainly in order to realize the multi-functional effect of a button.
To achieve the above object, the present invention has adopted following technical proposals: it utilizes some simple logics of CPLD (ComplesProgrammable Logic Device is called for short complicated programmable logic module) to realize the discrimination function the same with CPU and realizes the effect of composite-key.
This composite key circuit mainly comprises a control module, and it comprises an inverter, a resistance and a logic gates, and in addition, this control module also comprises a counter.Described inverter input is connected in button, output and resistance, and the first input end of logic gates connects, and the output of described inverter also is connected in first functional module, and be connected with described counter; Second input of described logic gates then is connected with a frequency generator, and its first output is connected in described counter, and described counter also links to each other with second functional module in addition.
By technique scheme, composite key circuit of the present invention can be realized the effect of composite-key, promptly realizes multi-functional effect on same button, and this circuit is realized easily, and circuit structure is simple, has practical value.
Description of drawings
Fig. 1 is the system block diagrams of composite key circuit of the present invention;
Fig. 2 is a composite key circuit schematic diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail:
Composite key circuit of the present invention, it mainly in order to realize the function of composite-key, allows an one key be able to multi-functional use.
With reference to shown in Figure 1, it is the system block diagrams of this composite key circuit.Wherein, described button 100 is connected in an end of described control module 200, and the other end of described control module 200 then is connected to described first functional module 300 and second functional module 400.
In addition in conjunction with composite key circuit schematic diagram shown in Figure 2, described control module 200 is for utilizing some simple logics of CPLD, reach the function the same with CPU, realize the function of composite-key, it comprises an inverter 210, a resistance 250, a logic gates 220 and a counter 230.Described inverter 210 is a schmitt inverter (Single Schmitt-Trigger Inverter Gate), it has 5 pins, i.e. a power supply input pin, grounding leg, an input 211 and an output 212, and the output valve of this output 212 is input value anti-of input 211; The input 211 of this described inverter 210 is connected in described button 100, and 212 of its outputs are connected with resistance 250, and in addition, this output 212 also is connected with first functional module 300.Described logic gates 220 is a dual input AND circuit (Dual 2-Input And Gate), it also has a power supply input pin, a grounding leg, one first output 223 and first input end 221 and second input 222, the output 212 of described inverter 210 also is connected in the first input end 221 of this described logic gates 220,222 of second inputs of described logic gates 220 are connected with frequency generator 240, in addition, its first output 223 is connected in described counter 230.Described counter 230 is connected in second functional module 400, and it also is connected in the output 212 and first functional module 300 of described inverter 210.
In addition, described CPLD is a kind of user according to needs separately and the digital integrated circuit of constitutive logic function voluntarily.In the present embodiment, with start/shutdown button composite key circuit of the present invention is described, and first functional module 300 shown in the figure is expression power up function module, second functional module 400 is then represented the shutdown functional module, and set pressing keys 100 back output logics 0, and described counter 230 can be realized also by the CPLD internal logic.
After pressing keys 100, then described inverter 210 output logics 1, described control module 200 judges that this action for open state, exports this logical one signal to first functional module 300, the apprizing system start; Because described counter 230 can be preserved the current numerical value of each number time, so and when described logical one signal inputed to first functional module 300, described logical one signal inputed in the described counter 230, and be clearly zero with its value.
In addition, if press button 100 for long, because the input that the output frequency of the logical one that is input as inverter 210 outputs of described counter 230 and frequency generator 240 occurs simultaneously, and this frequency can be optional frequency input sampling.Set after button surpasses the frequency input of a period of time, and this described a period of time can set according to demand separately, signal to the second functional module 400 of described counter 230 output logics 1, apprizing system is made shutting down and is moved.Otherwise, quite different.
Claims (3)
1. composite key circuit, in order to realize the function of composite-key, it is characterized in that: described circuit comprises:
One button;
One control module, the one end is connected in above-mentioned button, comprises an inverter, a resistance and a logic gates, also comprises a counter in addition; Described inverter input is connected in button, output and resistance, and the first input end of logic gates connects, and be connected with counter; Second input of described logic gates then is connected with a frequency generator, and first output of logic gates is connected in described counter; And
First functional module and second functional module, and its output respectively at above-mentioned control module connects; First functional module is connected in the output of described inverter, and second functional module is connected in described counter.
2. according to the described composite key circuit of claim 1, it is characterized in that: described inverter is a schmitt inverter.
3. according to the described composite key circuit of claim 1, it is characterized in that: described logic gates is a dual input AND circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610034423 CN101043540A (en) | 2006-03-20 | 2006-03-20 | Composite key circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610034423 CN101043540A (en) | 2006-03-20 | 2006-03-20 | Composite key circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101043540A true CN101043540A (en) | 2007-09-26 |
Family
ID=38808723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610034423 Pending CN101043540A (en) | 2006-03-20 | 2006-03-20 | Composite key circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101043540A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882522B (en) * | 2009-05-08 | 2012-11-28 | 廖礼士 | Single button switch and control method thereof |
CN105169702A (en) * | 2015-08-13 | 2015-12-23 | 青岛歌尔声学科技有限公司 | Key structure, gamepad and action signal output method |
CN105227188A (en) * | 2015-09-29 | 2016-01-06 | 深圳市新国都支付技术有限公司 | A kind of many key press detecting circuits |
CN106530539A (en) * | 2016-10-24 | 2017-03-22 | 郑州云海信息技术有限公司 | Multifunctional signal indicating lamp button |
-
2006
- 2006-03-20 CN CN 200610034423 patent/CN101043540A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882522B (en) * | 2009-05-08 | 2012-11-28 | 廖礼士 | Single button switch and control method thereof |
CN105169702A (en) * | 2015-08-13 | 2015-12-23 | 青岛歌尔声学科技有限公司 | Key structure, gamepad and action signal output method |
CN105169702B (en) * | 2015-08-13 | 2018-09-04 | 青岛歌尔声学科技有限公司 | A kind of press-key structure, game paddle and actuating signal output method |
CN105227188A (en) * | 2015-09-29 | 2016-01-06 | 深圳市新国都支付技术有限公司 | A kind of many key press detecting circuits |
CN105227188B (en) * | 2015-09-29 | 2018-07-31 | 深圳市新国都支付技术有限公司 | A kind of more key press detecting circuits |
CN106530539A (en) * | 2016-10-24 | 2017-03-22 | 郑州云海信息技术有限公司 | Multifunctional signal indicating lamp button |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9565293B2 (en) | Method and device for operating mobile terminal based on sensor, and mobile terminal | |
WO2009058940A3 (en) | A smart current attenuator for energy conservation in appliances | |
TW200735015A (en) | Shift register circuit | |
CN101043540A (en) | Composite key circuit | |
CN102215296A (en) | Method for realizing mobile phone key function by simulating double-click operation | |
CN101510651B (en) | Remote control power supply board plug device and control method thereof | |
CN201796842U (en) | Main intelligent circuit breaker integrated with multiple protection functions | |
CN201607706U (en) | Device capable of switching functions of left and right keys of mouse | |
CN201251769Y (en) | Device capable of locking keystroke | |
CN103838346B (en) | The method and its control circuit of automatic unlocking after intelligent control system of domestic electric appliances wake-up | |
CN201820200U (en) | Mouse capable of automatically clicking | |
CN103605071B (en) | A kind of handset for communication type intelligence limit for tonnage isolating switch | |
CN201837963U (en) | Multifunctional wireless remote control device | |
CN202772889U (en) | Hierarchical and stand-by function integrating module for signal transmission | |
CN201345086Y (en) | Low-cost keying signal collection circuit | |
CN202696119U (en) | Intelligent motor protection breaker | |
CN202663400U (en) | Improved light switching device | |
CN201726109U (en) | Relay protector based on Digital Signal Processor (DSP) and Complex Programmable Logic Device (CPLD) | |
CN201479198U (en) | Inductive switch of mobile phone display screen and press keys | |
CN201018292Y (en) | Modified type photovoltaic network inverter | |
CN202677797U (en) | LCD screen protection device of embedded system | |
CN203455772U (en) | Keyboard signal processing system provided with high tone quality voice player | |
CN201216037Y (en) | Double controlled switch | |
CN203191938U (en) | Keyboard with built-in wireless network card | |
CN202696604U (en) | Hierarchical and stand-by function integration module used for signal transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |