CN219659696U - Touch key switch circuit and mechanical keyboard - Google Patents
Touch key switch circuit and mechanical keyboard Download PDFInfo
- Publication number
- CN219659696U CN219659696U CN202320452341.7U CN202320452341U CN219659696U CN 219659696 U CN219659696 U CN 219659696U CN 202320452341 U CN202320452341 U CN 202320452341U CN 219659696 U CN219659696 U CN 219659696U
- Authority
- CN
- China
- Prior art keywords
- hall sensor
- touch key
- mechanical keyboard
- touch
- detection interface
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 24
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Push-Button Switches (AREA)
Abstract
The utility model discloses a light touch key switch circuit and a mechanical keyboard, which comprise a Hall sensor, a Hall sensor power switch and a Hall sensor output voltage detection interface, wherein the Hall sensor power switch is connected with the Hall sensor for opening or closing the Hall sensor, the Hall sensor is connected with the light touch key for detecting the voltage change of the light touch key, and the Hall sensor output voltage detection interface is connected with the Hall sensor for outputting the voltage value detected by the Hall sensor. Through the hall sensor that sets up, utilize hall sensor's linear output's characteristic, when MCU gathered hall sensor output's voltage variation, divide into a plurality of response gear with the stroke of pressing of dabbing the button to can eliminate the long, the slow problem of response of stroke that dabbing the button stroke problem and arouse.
Description
Technical Field
The utility model relates to a keyboard, in particular to a touch key switch circuit and a mechanical keyboard.
Background
For the traditional mechanical keyboard, the common touch keys are separated from the elastic sheets by built-in springs, and when the mechanical keyboard is pressed down, the elastic sheets are connected in a conducting way to generate a key loop so as to form a conducting effect. The touch stroke is longer, the key trigger response is slower, the user needs to be harder to trigger effective key values, the user needs to have higher sensitivity when playing certain games, and the slower key trigger response influences the experience of the games.
Disclosure of Invention
The utility model aims to overcome the defects of the prior art and provides a touch key switch circuit and a mechanical keyboard.
In order to achieve the above purpose, the present utility model adopts the following technical scheme:
in one aspect, a touch key switch circuit includes a hall sensor, a hall sensor power switch and a hall sensor output voltage detection interface, the hall sensor power switch with the hall sensor is connected, in order to be used for opening or closing the hall sensor, the hall sensor is connected with the touch key for detecting the voltage variation of the touch key, the hall sensor output voltage detection interface with the hall sensor is connected, in order to be used for outputting the voltage value that the hall sensor detected.
The further technical scheme is as follows: the Hall sensor comprises a signal output pin, a grounding pin and a working power supply pin, wherein the working power supply pin is connected with the Hall sensor power supply switch, the signal output pin is connected with the touch key, and the grounding pin is grounded.
The further technical scheme is as follows: the Hall sensor comprises a Hall sensor, and is characterized by further comprising a diode, wherein the positive electrode of the diode is connected with a touch key, and the negative electrode of the diode is connected with an output voltage detection interface of the Hall sensor.
In another aspect, a mechanical keyboard includes a touch key and the touch key switch circuit described above.
The further technical scheme is as follows: the touch key is provided with a magnetic piece, and when the touch key is pressed or released, the Hall sensor detects the magnetic field change of the magnetic piece and converts the magnetic field change into voltage change.
The further technical scheme is as follows: the magnetic piece is a magnet.
The further technical scheme is as follows: the Hall sensor output voltage detection interface is connected with the MCU.
The further technical scheme is as follows: the device further comprises an analog-to-digital conversion module, wherein the analog-to-digital conversion module is used for converting the voltage change of the touch keys detected by the Hall sensor into gear values according to the stroke track gears divided by the touch keys.
The further technical scheme is as follows: the analog-to-digital conversion module is integrated with the MCU.
The further technical scheme is as follows: and the output voltage detection interface of the Hall sensor is connected with the analog-to-digital conversion module integrated in the MCU.
Compared with the prior art, the utility model has the beneficial effects that: through the hall sensor that sets up, utilize hall sensor's linear output's characteristic, when MCU gathered hall sensor output's voltage variation, divide into a plurality of response gear with the stroke of pressing of dabbing the button to can eliminate the long, the slow problem of response of stroke that dabbing the button stroke problem and arouse.
The foregoing description is only an overview of the present utility model, and is intended to be implemented in accordance with the present utility model so that the same may be more clearly understood, as well as to provide a better understanding of the present utility model with reference to the following detailed description of the preferred embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present utility model, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present utility model, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic circuit diagram of a touch key switch circuit according to an embodiment of the present utility model.
Detailed Description
The technical solutions of the present utility model will be clearly and completely described below in conjunction with specific embodiments of the present utility model, and it is apparent that the described embodiments are some embodiments of the present utility model, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model.
It should be understood that the terms "comprises" and "comprising," when used in this specification and claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the utility model is for the purpose of describing particular embodiments only and is not intended to be limiting of the utility model. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the utility model provides a touch key switch circuit which comprises a Hall sensor, a Hall sensor power switch and a Hall sensor output voltage detection interface, wherein the Hall sensor power switch is connected with the Hall sensor for opening or closing the Hall sensor, the Hall sensor is connected with a touch key for detecting voltage change of the touch key, and the Hall sensor output voltage detection interface is connected with the Hall sensor for outputting a voltage value detected by the Hall sensor.
In this embodiment, as shown in fig. 1, four touch keys, four hall sensors, four hall sensor power switches and one hall sensor output voltage detection interface are illustrated in fig. 1, wherein the four touch keys are SW5, SW6, SW7 and SW8, the four hall sensors are P1, P2, P3 and P4, respectively, the four hall sensor power switches are CDO, CD1, CD2 and CD3, respectively, and the one hall sensor output voltage detection interface is R0.
Through the hall sensor that sets up, utilize hall sensor's linear output's characteristic, when MCU gathered hall sensor output's voltage variation, divide into a plurality of response gear with the stroke of pressing of dabbing the button to can eliminate the long, the slow problem of response of stroke that dabbing the button stroke problem and arouse.
In an embodiment, the hall sensor includes a signal output pin, a ground pin and a working power pin, the working power pin is connected with the hall sensor power switch, the signal output pin is connected with the touch key, and the ground pin is grounded.
In this embodiment, as shown in fig. 1, taking the hall sensor P1 as an example, the signal output pin is the pin 2 of the hall sensor P1, the ground pin is the pin 3 of the hall sensor P1, and the working power supply pin is the pin 1 of the hall sensor P1.
According to the characteristics of the Hall sensor, when the Hall sensor detects the change of the magnetic field, the change of the magnetic field can be converted into the change of voltage, so that a foundation is provided for long stroke and slow response caused by eliminating the stroke problem when the key is touched.
Preferably, the hall sensor is of a model comprising one of the following: SS495A and SS49E.
In an embodiment, the touch key switch circuit further includes a diode, an anode of the diode is connected with the touch key, and a cathode of the diode is connected with the hall sensor output voltage detection interface.
In this embodiment, as shown in fig. 1, four diodes are illustrated, namely, D5, D6, D7 and D8, wherein the positive electrode of the diode D5 is connected to the tap button SW5, the negative electrode of the diode D5 is connected to the hall sensor output voltage detection interface R0, the positive electrode of the diode D6 is connected to the tap button SW6, the negative electrode of the diode D6 is connected to the hall sensor output voltage detection interface R0, the positive electrode of the diode D7 is connected to the tap button SW7, the negative electrode of the diode D7 is connected to the hall sensor output voltage detection interface R0, the positive electrode of the diode D8 is connected to the tap button SW8, and the negative electrode of the diode D8 is connected to the hall sensor output voltage detection interface R0.
By respectively configuring the diodes for the light touch keys, the mutual interference among the light touch key signals can be effectively prevented, and the function of 'ghost key prevention' is realized.
The embodiment of the utility model also provides a mechanical keyboard which comprises the touch key and the touch key switch circuit. Specifically, the touch key is provided with a magnetic element, and when the touch key is pressed or released, the Hall sensor detects the magnetic field change of the magnetic element and converts the magnetic field change into voltage change.
In this embodiment, the magnetic member is a magnet, and the magnet is in a bar shape and is mounted on the touch button. When the touch key is pressed or released, the Hall sensor detects the change of the magnetic field, and the change is converted into the change of voltage.
In one embodiment, a mechanical keyboard further comprises an MCU, and the Hall sensor output voltage detection interface is connected with the MCU. MCU can be of a common model in the market, for example, STM series. Of course, in other embodiments, the MCU is not located in the mechanical keyboard, but rather is located in a host computer connected to the mechanical keyboard or the MCU directly utilizes the host computer.
In an embodiment, the mechanical keyboard further includes an analog-to-digital conversion module, where the analog-to-digital conversion module is configured to convert a voltage change of the touch key detected by the hall sensor into a gear value according to a travel track gear divided by the touch key.
In this embodiment, the analog-to-digital conversion module is integrated in the MCU, and the hall sensor output voltage detection interface is connected to the analog-to-digital conversion module integrated in the MCU. Of course, in other embodiments, the analog-to-digital conversion module is not integrated with the MCU. It should be noted that, the analog-digital conversion module is commonly used in the market, and the model adopted by the utility model is not limited as long as analog-digital conversion can be realized.
According to the characteristics of the Hall sensor, when the touch key is pressed or released, the Hall sensor detects the change of the magnetic field and converts the change into the change of voltage, and then the voltage is converted into the relative linear change through the analog-to-digital conversion module, so that the touch key is pressed or released. According to the principle of keyboard matrix scanning, all keys of a keyboard are divided into a plurality of groups, each group of keys is provided with a Hall sensor, the power supply of one group of Hall sensors is successively turned on in a polling mode, the output voltage change of the current group of Hall sensors is detected, the numerical value of the current group of analog-to-digital converters is recorded, the current position of the light touch key is judged through a linear relation, and therefore the detection of key pressing or releasing is completed. When the Hall sensors of a plurality of groups are completely detected, the whole period of touch key scanning is completed. Because a certain travel track is arranged on the pressing and releasing of the key, the travel track is divided into a plurality of gears, the numerical value of each gear is recorded by the analog-to-digital conversion module, and finally, the limit for judging the pressing or releasing of the touch key can be divided into a plurality of gears according to the size of the numerical value, so that the problems of long travel and slow response caused by the problem of the travel of the touch key can be eliminated, and the user experience is improved.
While the utility model has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the utility model. Therefore, the protection scope of the utility model is subject to the protection scope of the claims.
Claims (10)
1. The utility model provides a touch button switch circuit, its characterized in that includes hall sensor, hall sensor switch and hall sensor output voltage detection interface, hall sensor switch with hall sensor connects, in order to be used for opening or closing hall sensor, hall sensor is connected with touch button for the voltage variation of detecting touch button, hall sensor output voltage detection interface with hall sensor connects, in order to be used for exporting the voltage value that hall sensor detected.
2. The touch key switch circuit of claim 1, wherein the hall sensor comprises a signal output pin, a ground pin, and a working power pin, the working power pin is connected to the hall sensor power switch, the signal output pin is connected to the touch key, and the ground pin is grounded.
3. The touch key switch circuit of claim 1, further comprising a diode, wherein an anode of the diode is connected to the touch key, and a cathode of the diode is connected to the hall sensor output voltage detection interface.
4. A mechanical keyboard comprising a tap key and a tap key switch circuit as claimed in any one of claims 1 to 3.
5. A mechanical keyboard according to claim 4, wherein the tact key is provided with a magnetic member, and the hall sensor detects a change in magnetic field of the magnetic member and converts the change in magnetic field into a change in voltage when the tact key is pressed or released.
6. The mechanical keyboard of claim 5, wherein the magnetic element is a magnet.
7. The mechanical keyboard of claim 5, further comprising an MCU, wherein the hall sensor output voltage detection interface is coupled to the MCU.
8. The mechanical keyboard of claim 7, further comprising an analog-to-digital conversion module configured to convert a voltage change of the touch keys detected by the hall sensor into a gear value according to a stroke track gear divided by the touch keys.
9. The mechanical keyboard of claim 8, wherein the analog-to-digital conversion module is integrated with the MCU.
10. The mechanical keyboard of claim 9, wherein the hall sensor output voltage detection interface is coupled to the analog-to-digital conversion module integrated into the MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320452341.7U CN219659696U (en) | 2023-03-10 | 2023-03-10 | Touch key switch circuit and mechanical keyboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320452341.7U CN219659696U (en) | 2023-03-10 | 2023-03-10 | Touch key switch circuit and mechanical keyboard |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219659696U true CN219659696U (en) | 2023-09-08 |
Family
ID=87856774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320452341.7U Active CN219659696U (en) | 2023-03-10 | 2023-03-10 | Touch key switch circuit and mechanical keyboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219659696U (en) |
-
2023
- 2023-03-10 CN CN202320452341.7U patent/CN219659696U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100419655C (en) | Touch type induction device | |
CN201523371U (en) | Human body touch key control circuit | |
CN219659696U (en) | Touch key switch circuit and mechanical keyboard | |
CN213875939U (en) | Key detection circuit | |
CN103905025A (en) | Shockproof type sensing touch switch and control method | |
CN220401730U (en) | Circuit capable of adjusting magnetic levitation type key pressing handfeel and mechanical keyboard | |
CN204928795U (en) | Vibration feedback keying circuit , button and door handle switch | |
CN201611436U (en) | Watch with triaxial acceleration sensor | |
CN2820474Y (en) | Array type robot tactile sensor | |
CN211128113U (en) | Earphone in-ear detection chip circuit | |
CN101556504A (en) | Flexible keyboard with mouse | |
CN115617199A (en) | Touch key detection method and detection circuit, microcontroller and touch detection system | |
CN202120220U (en) | Noiseless mouse | |
CN208270774U (en) | Detect the device from bed | |
CN103701449A (en) | Control device and control method for composite type key and display equipment | |
CN202939635U (en) | Hand-held device for counting number of sheet-shaped objects based on VCSEL technology | |
CN103728073B (en) | Operating mechanism separating brake semiaxis snapping force detection system and detection method thereof | |
CN201616871U (en) | Television | |
CN105858375A (en) | Force touch elevator button | |
CN205754267U (en) | A kind of super low-power consumption touch key-press circuit | |
CN219105468U (en) | Mouse for realizing key function by using electromagnetic induction principle | |
CN201708788U (en) | Carbon film press key AD detection signal input circuit | |
CN2155588Y (en) | Touch-induction glove keyboard | |
CN201408402Y (en) | Point-reading pen | |
CN2197678Y (en) | Intellectural tester for battery voltage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |