CN212850440U - Anti-interference circuit device for key input - Google Patents

Anti-interference circuit device for key input Download PDF

Info

Publication number
CN212850440U
CN212850440U CN202021318991.5U CN202021318991U CN212850440U CN 212850440 U CN212850440 U CN 212850440U CN 202021318991 U CN202021318991 U CN 202021318991U CN 212850440 U CN212850440 U CN 212850440U
Authority
CN
China
Prior art keywords
key
interference
resistor
pull
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.)
Active
Application number
CN202021318991.5U
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.)
Guangzhou Zhiyan Electronic Technology Co ltd
Original Assignee
Guangzhou Zhiyan 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 Guangzhou Zhiyan Electronic Technology Co ltd filed Critical Guangzhou Zhiyan Electronic Technology Co ltd
Priority to CN202021318991.5U priority Critical patent/CN212850440U/en
Application granted granted Critical
Publication of CN212850440U publication Critical patent/CN212850440U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model relates to the technical field of key anti-interference, and discloses an anti-interference circuit device for key input, which comprises a key K, a pull-up resistor R1, a variable resistor R2, a power VCC, a single chip MCU, a switch K1 and an anti-interference capacitor C1; one end of the key K is grounded, and the other end of the key K is connected with a power supply VCC through a series pull-up resistor R1; a GPI/O interface end of the MCU is connected between the key K and a pull-up resistor R1 through a series variable resistor R2; one end of the anti-interference capacitor C1 is grounded, and the other end is connected between the key K and the pull-up resistor R1 through a switch K1. The utility model provides an anti jamming circuit device of button input, the utility model discloses an establish and adjust the variable resistance and set up anti-interference electric capacity, eliminate button shake and pulse interference, not the time spent disconnection of anti-interference electric capacity, reduce the circuit consumption, richened the hardware implementation scheme that button interference handled simultaneously, possessed good practicality.

Description

Anti-interference circuit device for key input
Technical Field
The utility model relates to a button anti-interference field especially relates to a button input's anti-jamming circuit device.
Background
The key is the most common human-computer interaction part and can be seen everywhere in work and life, for example, various household appliances, various instruments and meters and various IT products are operated through the key. In practice, the pressing and releasing of a key is not an ideal on and off state. At the instant of pressing and releasing, sometimes a jitter is generated, causing the state to change back and forth several times in a moment. In the process of keeping the key state, the key state may be subjected to pulse interference, which may cause instantaneous change of the key state, and therefore, an anti-interference process is required to be added for eliminating the key jitter interference and the pulse interference.
At present, most of key anti-interference processing is realized through software, and a hardware anti-interference circuit device is less in application, so that an anti-interference circuit device for key input is provided.
SUMMERY OF THE UTILITY MODEL
Objects of the invention
For solving the technical problem that exists among the background art, the utility model provides an anti-interference circuit arrangement of button input, the utility model discloses an establish and adjust the variable resistance and set up anti-interference electric capacity, eliminate button shake and pulse interference, at anti-interference electric capacity not the time break off, reduce the circuit consumption, richened the hardware implementation scheme of button interference processing simultaneously, possessed good practicality.
(II) technical scheme
In order to solve the above problems, the utility model provides an anti-interference circuit device for key input, which comprises a key K, a pull-up resistor R1, a variable resistor R2, a power VCC, a single-chip MCU, a switch K1 and an anti-interference capacitor C1;
one end of the key K is grounded, and the other end of the key K is connected with a power supply VCC through a series pull-up resistor R1;
a GPI/O interface end of the MCU is connected between the key K and a pull-up resistor R1 through a series variable resistor R2;
one end of the anti-interference capacitor C1 is grounded, and the other end is connected between the key K and the pull-up resistor R1 through a switch K1.
Preferably, the key K is a light touch key switch.
Preferably, the variable resistor R2 and the switch K1 are connected in parallel to the same common point between the key K and the pull-up resistor R1.
Preferably, the singlechip MCU is a stm32 type singlechip.
The above technical scheme of the utility model has following profitable technological effect:
through establishing and adjusting the variable resistance and setting up anti-interference electric capacity, eliminate button shake and pulse interference, the time spent disconnection not at anti-interference electric capacity reduces the circuit consumption, has richened the hardware implementation scheme that button interference handled simultaneously, possesses good practicality.
Drawings
Fig. 1 is a schematic structural diagram of an anti-jamming circuit device for key input according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the description is intended to be illustrative only and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
As shown in fig. 1, the utility model provides an anti-jamming circuit device for key input, which comprises a key K, a pull-up resistor R1, a variable resistor R2, a power VCC, a single-chip microcomputer MCU, a switch K1 and an anti-jamming capacitor C1;
one end of the key K is grounded, and the other end of the key K is connected with a power supply VCC through a series pull-up resistor R1;
a GPI/O interface end of the MCU is connected between the key K and a pull-up resistor R1 through a series variable resistor R2;
one end of the anti-interference capacitor C1 is grounded, and the other end is connected between the key K and the pull-up resistor R1 through the switch K1.
In an alternative embodiment, the key K is a touch key switch.
In an alternative embodiment, the variable resistor R2 and the switch K1 are connected in parallel at the same common point between the key K and the pull-up resistor R1.
In an optional embodiment, the single chip microcomputer MCU is a stm32 type single chip microcomputer.
The utility model discloses in, switch K1 is originally in the open mode among the practical application, eliminates the interference through adjusting the variable resistance R2 resistance, specifically increases the level of R2 resistance with singlechip MCU's GPI/O port, and the principle is that the high level can promote the anti-jamming characteristic of circuit. The interference removing effect of adjusting the resistance value of R2 is not obvious under some conditions, the switch K1 can be closed, when a key K is pressed, the key jitter interference is eliminated based on the principle that voltages at two ends of an anti-interference capacitor C1 cannot suddenly change, when the key K is disconnected and instantaneous pulse interference exists, an interference signal is introduced underground through the anti-interference capacitor C1, the interference signal is eliminated, and the switch K1 is in an open state when the key K is not used. The resistance value of the pull-up resistor R1 is 4k-6k ohm, and the anti-interference capacitor C1 is 1.6 uf. Therefore, the resistance value of the variable resistor is adjusted and the anti-interference capacitor is arranged, so that key jitter and pulse interference are eliminated, the anti-interference capacitor is disconnected when not used, the power consumption of a circuit is reduced, a hardware implementation scheme for key interference processing is enriched, and the device has good practicability.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (4)

1. The utility model provides a key input's anti jamming circuit device which characterized in that: the intelligent control device comprises a key K, a pull-up resistor R1, a variable resistor R2, a power supply VCC, a single chip microcomputer MCU, a switch K1 and an anti-interference capacitor C1;
one end of the key K is grounded, and the other end of the key K is connected with a power supply VCC through a series pull-up resistor R1;
a GPI/O interface end of the MCU is connected between the key K and a pull-up resistor R1 through a series variable resistor R2;
one end of the anti-interference capacitor C1 is grounded, and the other end is connected between the key K and the pull-up resistor R1 through a switch K1.
2. The apparatus of claim 1, wherein the key K is a touch key switch.
3. The apparatus of claim 1, wherein the variable resistor R2 and the switch K1 are connected in parallel to the same common node between the key K and the pull-up resistor R1.
4. A key input anti-jamming circuit arrangement according to any one of claims 1 to 3, wherein said single-chip microcomputer MCU is a stm32 model single-chip microcomputer.
CN202021318991.5U 2020-07-08 2020-07-08 Anti-interference circuit device for key input Active CN212850440U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021318991.5U CN212850440U (en) 2020-07-08 2020-07-08 Anti-interference circuit device for key input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021318991.5U CN212850440U (en) 2020-07-08 2020-07-08 Anti-interference circuit device for key input

Publications (1)

Publication Number Publication Date
CN212850440U true CN212850440U (en) 2021-03-30

Family

ID=75181937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021318991.5U Active CN212850440U (en) 2020-07-08 2020-07-08 Anti-interference circuit device for key input

Country Status (1)

Country Link
CN (1) CN212850440U (en)

Similar Documents

Publication Publication Date Title
CN206162503U (en) USBType C interface circuit
CN205232174U (en) Oscillating circuit
CN204180043U (en) Button Anti-shaking circuit and electronic installation
CN203504522U (en) Touch key control circuit and air conditioner
CN109739146A (en) Pen starting or the control method and circuit closed
CN204463019U (en) A kind of power-supplying circuit
CN209516621U (en) Under-voltage protecting circuit and cell apparatus
CN204330870U (en) A kind of on-off model testing circuit
CN212850440U (en) Anti-interference circuit device for key input
CN106972459B (en) Current-limiting protection device
CN209913489U (en) Wave-by-wave current limiting circuit
CN104135270A (en) High pulse output circuit and equipment using high pulse output circuit
CN101477918B (en) Enforced time-delay shutdown circuit
CN206834719U (en) current-limiting protection device
CN104980134B (en) A kind of reset circuit and electronic equipment with the circuit
CN209170335U (en) A kind of matrix keyboard circuit with hardware for jitters elimination and interrupt signal
CN201716718U (en) Single-chip microcomputer detection circuit and device thereof
CN209471217U (en) A kind of intelligent door lock energy-saving voltage detection circuit
CN103870068A (en) Light-sensing touch device and method
CN206272593U (en) A kind of electronic equipment is switched
CN110347236A (en) A kind of low-power consumption touch key-press controller
CN106712761A (en) Electronic device on and off method
CN204928093U (en) Power supply protection circuit
CN109298323A (en) A kind of low power consumption switch detection circuit
CN217693283U (en) On-chip power-on reset circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant