CN206505161U - A kind of new and effective key-press status detection circuit - Google Patents

A kind of new and effective key-press status detection circuit Download PDF

Info

Publication number
CN206505161U
CN206505161U CN201720145036.8U CN201720145036U CN206505161U CN 206505161 U CN206505161 U CN 206505161U CN 201720145036 U CN201720145036 U CN 201720145036U CN 206505161 U CN206505161 U CN 206505161U
Authority
CN
China
Prior art keywords
key
button
module
press status
resistor
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
Application number
CN201720145036.8U
Other languages
Chinese (zh)
Inventor
黄森锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Reed Electronic Technology Co Ltd
Original Assignee
Zhuhai Reed Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Reed Electronic Technology Co Ltd filed Critical Zhuhai Reed Electronic Technology Co Ltd
Priority to CN201720145036.8U priority Critical patent/CN206505161U/en
Application granted granted Critical
Publication of CN206505161U publication Critical patent/CN206505161U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model discloses a kind of new and effective key-press status detection circuit, for detecting that whether normal key-press status is, including the key press detecting circuit module being sequentially connected, comparison circuit module, microprocessor unit module and button display module, another output end of the input of the microprocessor module also with the key press detecting circuit module is connected, and button display module includes LED display unit and passive buzzer unit;Whole key-press status detection process is that button disconnection button pushes button release button disconnection, in detection process, buzzer switchs to not ring by growing sound, and light emitting diode bright switchs to not work by growing, mean that key-press status is normal, otherwise mean that key-press status is abnormal;Whole detection process can detect that whether normal key-press status is to high efficient and reliable, solve the problem of traditional AD sample detectings method is high to button coherence request, realize the versatility of key-press status detection, substantially reduce the maintenance cost in product later stage.

Description

A kind of new and effective key-press status detection circuit
Technical field
The utility model is related to key-press status detection field, more particularly to a kind of new and effective key-press status detection circuit.
Background technology
At present, button is almost used in all electrical equipment, and the quality of key-press status is directly connected to what user used Direct feel.Existing key-press status detection technique is generally AD sample detecting key-press status, using AD values come key range state, There is very high requirement to the uniformity of button, and different button manufacturer is inconsistent due to the material used, causes button Uniformity differ greatly, same detection circuit is not applied for the button of different manufacturers;Even and if state is good when dispatching from the factory Good button it is possible that key contacts are bad, influence the use of client, causes after-sales service after long-time use Expense is raised.
Utility model content
In order to overcome the above-mentioned deficiencies of the prior art, the utility model provides a kind of new and effective key-press status detection electricity Road, can be applied to the button of detection different manufacturers production, and greatly reduce after-sales service expense.
The utility model solve technical scheme that its technical problem used for:
A kind of new and effective key-press status detection circuit, for detecting that whether normal key-press status is, including be sequentially connected For detecting the key press detecting circuit module of key-press status, the comparison circuit mould for controlling microprocessor unit module resets Block, for the microprocessor unit module that is handled the key state information received and for whether showing current button The button display module effectively pressed, the input of the microprocessor module is also another with the key press detecting circuit module Output end is connected.
The key press detecting circuit module includes button SW1,3rd resistor R3, the 4th resistance R4 and the first electric capacity C1, institute State button SW1 one end connection power supply VCC, the button SW1 other end connection 3rd resistor R3 one end, the 3rd electricity The other end for hindering R3 connects the MCU_TEST input pins of microprocessor module, the 4th resistance R4 one end and the button SW1 and The common port d of the 3rd resistor R3 is connected, the other end ground connection of the 4th resistance R4, the first electric capacity C1 and the described 4th electricity Hinder R4 in parallel, the button SW1,3rd resistor R3, the 4th resistance R4, the first electric capacity C1 common port d output voltages with it is described The input JV connections of comparison circuit module.
The button display module includes LED display unit, passive buzzer unit, N-type triode Q1, first resistor R1 With second resistance R2;The base stage of the N-type triode Q1 and the output end MCU_B/L connections of microprocessor module, described second Resistance R2 one end is connected with N-type triode Q1 colelctor electrode, the other end of the second resistance R2 and the one of first resistor R1 End connection, the second resistance R2 and first resistor R1 is connected in series to, the other end and the electricity of the first resistor R1 Source VCC connections;The passive buzzer unit is connected in parallel with first resistor R1;The LED display unit is just Emitter stage extremely with N-type triode Q1 is connected, the negative pole end ground connection of the LED display unit.
The output end of the comparison circuit module is connected with the resetting pin of the microprocessor module, when the comparison circuit When the input voltage of module input is more than the reference voltage of the comparison circuit module, the comparison circuit module exports low electricity It is flat, it is single-chip microcomputer input reset signal, is resetted.
The beneficial effects of the utility model have:The utility model LED display unit and passive buzzer unit are using same Triode is driven, and solving existing LED display unit and passive buzzer unit needs to take microprocessor unit mould The problem of two ports of block, circuit is enormously simplify, production cost is reduced;Whole key-press status detection process, which is used, simultaneously presses Key disconnection-button presses the disconnection of-button release-button, in button detection process, by buzzer and LED intuitive displays Observation, after contrast, judges that whether normal key-press status is, and solving traditional AD sample detectings method will to button uniformity The problem of asking high, realizes the versatility of key-press status detection, while the high efficient and reliable of key-press status detection is substantially increased, The maintenance cost in product later stage is greatly reduced simultaneously.
Brief description of the drawings
Below in conjunction with the accompanying drawings and specific embodiment the utility model is described in further detail, wherein:
Fig. 1 is the circuit frame figure of the utility model specific embodiment.
Fig. 2 is the circuit theory diagrams of the utility model specific embodiment key press detecting circuit module.
Fig. 3 is the circuit theory diagrams of the utility model specific embodiment button display module.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, the technical scheme in the utility model embodiment is carried out Clearly and completely describe.
As shown in figure 1, a kind of new and effective key-press status detection circuit of the present embodiment, for detect key-press status normally with It is no, including be sequentially connected be used for detect the key press detecting circuit module of key-press status, for controlling microprocessor unit module The comparison circuit module of reset, for the microprocessor unit module that is handled the key state information received and it is used for The button display module whether current button is effectively pressed is shown, the input of the microprocessor module is also examined with the button Another output end of slowdown monitoring circuit module is connected.
Further as shown in Fig. 2 the key press detecting circuit module, including button SW1,3rd resistor R3, the 4th resistance R4 and the first electric capacity C1, the button SW1 one end connection power supply VCC, the button SW1 other end connection 3rd resistor R3 One end, the other end of the 3rd resistor R3 connects the MCU_TEST input pins of microprocessor module, the one of the 4th resistance R4 End is connected with the button SW1 and the 3rd resistor R3 common port d, the other end ground connection of the 4th resistance R4, first Electric capacity C1 is in parallel with the 4th resistance R4, the button SW1,3rd resistor R3, the 4th resistance R4, the first electric capacity C1 it is public End d output voltages are connected with the input JV of the comparison circuit module.
Further as shown in figure 3, the button display module, including LED display unit, passive buzzer unit, N-type three Pole pipe Q1, first resistor R1 and second resistance R2;The base stage of the N-type triode Q1 and the output end MCU_ of microprocessor module B/L connections, one end of the second resistance R2 is connected with N-type triode Q1 colelctor electrode, the other end of the second resistance R2 It is connected with first resistor R1 one end, the second resistance R2 and first resistor R1 is connected in series to, first electricity The resistance R1 other end is connected with power supply VCC;The passive buzzer unit is connected in parallel with first resistor R1;It is described The positive terminal of LED display unit is connected with N-type triode Q1 emitter stage, the negative pole end ground connection of the LED display unit.
The output end of the comparison circuit module is connected with the resetting pin of the microprocessor module, when the comparison circuit When the input voltage of module input is more than the reference voltage of the comparison circuit module, the comparison circuit module exports low electricity It is flat, it is single-chip microcomputer input reset signal, is resetted.
A kind of new and effective key-press status detection circuit, if within the period that button SW1 is pressed, passing through microprocessor After the processing of device unit module, passive buzzer BUZZ length is rung, and LED length is bright, and after button is released, buzzer BUZZ does not ring, and LED does not work, then it represents that key-press status is normal;If within the period that button SW1 is pressed, After microprocessor unit resume module, buzzer BUZZ frequency responses, LED frequency is bright, then it represents that key-press status is not Normally;If within the period that button SW1 is pressed, after microprocessor unit resume module, buzzer BUZZ length is rung, LED length is bright, and after button is released, buzzer BUZZ frequency responses, LED frequency is bright, then it represents that press Bonded state is abnormal.
Whole key-press status detection process is that button disconnection-button presses the disconnection of-button release-button, efficiently can may be used The state of button is detected by ground.
It should be noted that simply preferred embodiment of the present utility model described above, the utility model not office It is limited to above-mentioned embodiment, as long as it reaches technique effect of the present utility model with identical means, should all belongs to this practicality new The protection domain of type.

Claims (4)

1. a kind of new and effective key-press status detection circuit, for detecting that whether normal key-press status is, it is characterised in that including according to Secondary connection be used for detect the key press detecting circuit module of key-press status, the comparison for controlling microprocessor unit module resets Circuit module, for the microprocessor unit module that is handled the key state information received and for show it is current by The button display module whether key is effectively pressed, the input of the microprocessor module also with the key press detecting circuit module Another output end be connected.
2. a kind of new and effective key-press status detection circuit according to claim 1, it is characterised in that:The button detection Circuit module includes button SW1,3rd resistor R3, the 4th resistance R4 and the first electric capacity C1, one end connection electricity of the button SW1 Source VCC, the button SW1 other end connection 3rd resistor R3 one end, the other end of the 3rd resistor R3 connect micro- place The MCU_TEST input pins of device module are managed, the 4th resistance R4 one end is public with the button SW1's and 3rd resistor R3 D is held to be connected, the other end ground connection of the 4th resistance R4, the first electric capacity C1 is in parallel with the 4th resistance R4, the button SW1,3rd resistor R3, the 4th resistance R4, the first electric capacity C1 common port d output voltages and the input of the comparison circuit module Hold JV connections.
3. a kind of new and effective key-press status detection circuit according to claim 1 or 2, it is characterised in that:The button Display module includes LED display unit, passive buzzer unit, N-type triode Q1, first resistor R1 and second resistance R2;Institute State N-type triode Q1 base stage and the output end MCU_B/L connections of microprocessor module, one end of the second resistance R2 and N Type triode Q1 colelctor electrode connection, the other end of the second resistance R2 is connected with first resistor R1 one end, and described second Resistance R2 is connected in series to first resistor R1, and the other end of the first resistor R1 is connected with power supply VCC;The nothing Source buzzer unit is connected in parallel with first resistor R1;The positive terminal of the LED display unit and N-type triode Q1 Emitter stage connection, the LED display unit negative pole end ground connection.
4. a kind of new and effective key-press status detection circuit according to claim 1 or 2, it is characterised in that:The comparison The output end of circuit module is connected with the resetting pin of the microprocessor module, when the input of the comparison circuit module input When voltage is more than the reference voltage of the comparison circuit module, the comparison circuit module exports low level, is single-chip microcomputer input Reset signal, is resetted.
CN201720145036.8U 2017-02-17 2017-02-17 A kind of new and effective key-press status detection circuit Active CN206505161U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720145036.8U CN206505161U (en) 2017-02-17 2017-02-17 A kind of new and effective key-press status detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720145036.8U CN206505161U (en) 2017-02-17 2017-02-17 A kind of new and effective key-press status detection circuit

Publications (1)

Publication Number Publication Date
CN206505161U true CN206505161U (en) 2017-09-19

Family

ID=59834282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720145036.8U Active CN206505161U (en) 2017-02-17 2017-02-17 A kind of new and effective key-press status detection circuit

Country Status (1)

Country Link
CN (1) CN206505161U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132435A (en) * 2018-01-13 2018-06-08 蚌埠华特科技有限公司 A kind of key testing device
CN109920355A (en) * 2017-12-13 2019-06-21 佛山市顺德区美的电热电器制造有限公司 Detection method and detection system for display board
CN111522282A (en) * 2020-05-27 2020-08-11 北京无线电测量研究所 Electronic product with shuttle flying knob
CN113589081A (en) * 2021-07-30 2021-11-02 深圳市汇创达科技股份有限公司 Control device for detecting pressure-sensitive key signal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109920355A (en) * 2017-12-13 2019-06-21 佛山市顺德区美的电热电器制造有限公司 Detection method and detection system for display board
CN108132435A (en) * 2018-01-13 2018-06-08 蚌埠华特科技有限公司 A kind of key testing device
CN111522282A (en) * 2020-05-27 2020-08-11 北京无线电测量研究所 Electronic product with shuttle flying knob
CN113589081A (en) * 2021-07-30 2021-11-02 深圳市汇创达科技股份有限公司 Control device for detecting pressure-sensitive key signal

Similar Documents

Publication Publication Date Title
CN206505161U (en) A kind of new and effective key-press status detection circuit
CN105911953A (en) Novel control system for intelligent home
CN207301286U (en) Battery pack multi-disc battery battery core pressure test device based on unmanned plane
CN104237717B (en) Electrostatic hand ring monitor and electrostatic guiding system
CN109283462A (en) Hand-held relay tester
WO2017113550A1 (en) Operational amplifier, driver interface, measuring and control device, driver circuit and driver
CN105634251B (en) with multi-functional IGBT drive circuit
CN111665445A (en) Mopping machine lithium battery capacity display circuit and system thereof
CN201765302U (en) Device for detecting performances of Hall integrated circuit
CN206563776U (en) The automatic testing equipment of closestool drying unit
CN205157644U (en) Multiloop ammeter
CN203870120U (en) Generator rotating speed detection controller
CN209102871U (en) Hand-held relay tester
CN201037857Y (en) Device for testing output current of charger
CN101266283A (en) Intelligent dial switch rapid detection device
CN218240714U (en) Coil detection circuit and switch cabinet
CN202495147U (en) Wireless remote control device with low-voltage alarm circuit
CN105899057A (en) Novel control terminal for smart home
CN113356567B (en) Intelligent template for building construction
CN202994982U (en) Keyboard plate test tool
CN203299301U (en) Detection device of remote controller
CN201838839U (en) Socket with electric quantity display
CN207263872U (en) A kind of substation secondary cable sorter
CN207408023U (en) A kind of online temperature monitor in contact with temperature deviation self-checking function
CN108107301B (en) Optocoupler testing device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant