CN221354294U - Hall switch energy-saving circuit and keyboard - Google Patents

Hall switch energy-saving circuit and keyboard Download PDF

Info

Publication number
CN221354294U
CN221354294U CN202323317221.5U CN202323317221U CN221354294U CN 221354294 U CN221354294 U CN 221354294U CN 202323317221 U CN202323317221 U CN 202323317221U CN 221354294 U CN221354294 U CN 221354294U
Authority
CN
China
Prior art keywords
hall
control chip
hall sensor
hall switch
circuit
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
CN202323317221.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.)
Shenzhen Rongyuan Technology Co ltd
Original Assignee
Shenzhen Rongyuan 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 Shenzhen Rongyuan Technology Co ltd filed Critical Shenzhen Rongyuan Technology Co ltd
Priority to CN202323317221.5U priority Critical patent/CN221354294U/en
Application granted granted Critical
Publication of CN221354294U publication Critical patent/CN221354294U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model discloses a Hall switch energy-saving circuit and a keyboard, wherein the Hall switch energy-saving circuit comprises a Hall sensor circuit, a Hall switch circuit and a control chip U1, the Hall sensor circuit comprises a key with a magnetic element and a Hall sensor connected with the key, the Hall sensor is used for detecting the change of the stroke of the key, and the Hall switch circuit is used for waking up or dormancy the control chip U1 according to the key detection signal of the Hall sensor. When the Hall sensor detects that no key is pressed in the set time range, the control chip U1 enters a dormant state through the Hall switch circuit, so that the power consumption of the control chip U1 can be greatly reduced, and when the Hall sensor detects that the key is pressed, the control chip U1 is awakened through the Hall switch circuit, so that the control chip U1 can work normally.

Description

Hall switch energy-saving circuit and keyboard
Technical Field
The utility model relates to the technical field of circuits, in particular to a Hall switch energy-saving circuit and a keyboard.
Background
According to the characteristics of the Hall sensor, a magnetic shaft is used for keys of the keyboard, when the keys are pressed or released, the Hall sensor detects the change of a magnetic field, so that the change of the magnetic field is converted into the change of voltage, and finally, the process of pressing or releasing the keys is processed into relative linear change through analog-to-digital conversion.
The existing Hall application circuit can not enable a control chip at the rear end to enter a power saving mode, and needs to sample in real time to judge whether a key is pressed down, so that larger working current can be generated, and power consumption is larger.
Disclosure of utility model
The utility model aims to overcome the defects of the prior art and provides a Hall switch energy-saving circuit and a keyboard.
In order to achieve the above purpose, the present utility model adopts the following technical scheme:
In one aspect, the utility model provides a hall switch energy-saving circuit, which comprises a hall sensor circuit, a hall switch circuit and a control chip U1, wherein the hall sensor circuit comprises a key with a magnetic element and a hall sensor connected with the key, the hall sensor is used for detecting the change of the key stroke, and the hall switch circuit is used for waking up or dormancy the control chip U1 according to a key detection signal of the hall sensor.
The further technical scheme is as follows: the Hall switch circuit comprises a triode Q1 and a MOS tube QP1, wherein the base electrode of the triode Q1 is connected with the control chip U1, the collector electrode of the triode Q1 is connected with the Hall sensor, the grid electrode of the MOS tube QP1 is connected with the collector electrode of the triode Q1, the source electrode of the MOS tube QP1 is connected with the Hall sensor, and the drain electrode of the MOS tube QP1 is connected with the control chip U1.
The further technical scheme is as follows: the Hall switch circuit further comprises a resistor R7, one end of the resistor R7 is connected with the base electrode of the triode Q1, and the other end of the resistor R7 is connected with the control chip U1.
The further technical scheme is as follows: the Hall switch circuit further comprises a resistor R8, one end of the resistor R8 is connected with the collector electrode of the triode Q1, and the other end of the resistor R8 is connected between the Hall sensor and the source electrode of the MOS tube QP 1.
The further technical scheme is as follows: and a power switch of the Hall sensor is connected with the control chip U1.
The further technical scheme is as follows: and an output voltage detection port of the Hall sensor is connected with the control chip U1.
The further technical scheme is as follows: the triode Q1 is an NPN triode.
The further technical scheme is as follows: the model adopted by the MOS transistor QP1 is S I2301.
The further technical scheme is as follows: the model of the control chip U1 is YC3021.
On the other hand, the utility model also provides a keyboard comprising the Hall switch energy-saving circuit.
Compared with the prior art, the utility model has the beneficial effects that: the utility model provides a hall switch energy saving circuit, includes hall sensor circuit, hall switch circuit and control chip U1, and hall sensor circuit includes the button of taking magnetic element to and the hall sensor who is connected with the button, hall sensor is used for detecting the change of button stroke, and hall switch circuit is used for waking up or dormancy control chip U1 according to hall sensor's button detected signal. When the Hall sensor detects that no key is pressed in the set time range, the control chip U1 enters a dormant state through the Hall switch circuit, so that the power consumption of the control chip U1 can be greatly reduced, and when the Hall sensor detects that the key is pressed, the control chip U1 is awakened through the Hall switch circuit, so that the control chip U1 can work normally.
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 hall switch energy saving 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.
As shown in fig. 1, the embodiment of the utility model provides a hall switch energy-saving circuit, which comprises a hall sensor circuit 1, a hall switch circuit 2 and a control chip U1, wherein the hall sensor circuit 1 comprises a key with a magnetic element and a hall sensor connected with the key, the hall sensor is used for detecting the change of the stroke of the key, and the hall switch circuit 2 is used for waking up or dormancy the control chip U1 according to the key detection signal of the hall sensor.
When the Hall sensor detects that no key is pressed in the set time range, the control chip U1 enters a dormant state through the Hall switch circuit 2, so that the power consumption of the control chip U1 can be greatly reduced, and when the Hall sensor detects that the key is pressed, the control chip U1 is awakened through the Hall switch circuit 2, so that the control chip U1 can work normally.
As shown in fig. 1, the hall switch circuit 2 includes a transistor Q1 and a MOS transistor QP1, the transistor Q1 is used for turning on the MOS transistor QP1 and supplying power to the hall switch circuit 2, and the MOS transistor QP1 is used for supplying power. The base of the triode Q1 is connected with a GPIO40 pin of the control chip U1, the collector of the triode Q1 is connected with the Hall sensor, the emitter of the triode Q1 is grounded, the grid of the MOS tube QP1 is connected with the collector of the triode Q1, the source of the MOS tube QP1 is connected with the Hall sensor, and the drain of the MOS tube QP1 is connected with a VBAT pin of the control chip U1.
As shown in fig. 1, in an embodiment, the hall switch circuit 2 further includes a resistor R7, one end of the resistor R7 is connected to the base of the transistor Q1, and the other end of the resistor R7 is connected to the GPIO40 pin of the control chip U1.
Further, as shown in fig. 1, the hall switch circuit 2 further includes a resistor R8, one end of the resistor R8 is connected to the collector of the triode Q1, and the other end of the resistor R8 is connected between the hall sensor and the source of the MOS transistor QP 1.
As shown in fig. 1, power switches CD0 to CD4 of the hall sensor are connected to a GPIO7 pin, a GPIO6 pin, a GPIO5 pin and a GPIO 3pin of the control chip U1, and an output voltage detection port R0 of the hall sensor is connected to a GPIO22 pin of the control chip U1.
In this embodiment, the transistor Q1 is an NPN transistor, the MOS transistor QP1 is a type SI2301, the control chip U1 is a type YC3021, however, in other embodiments, the MOS transistor QP1 may be a MOS transistor having a similar function to the SI2301,
The control chip U1 may employ a chip having a similar function to the YC 3021.
The specific working process is as follows:
When the key is not pressed within the set time range, the Hall sensor circuit 1 stops scanning the key stroke to trigger response, and the control chip U1 enters the energy saving mode (namely the sleep mode). After the control chip U1 enters the energy saving mode, the HALL_PWR always outputs a high level, the triode Q1 is opened through the resistor R7, the collector is leaked to the emitter after the base electrode of the triode Q1 is saturated, the MOS tube QP1 is opened to supply power to the Hall switch circuit 2, the WAKE-UP port WAKE_UP of the control chip U1 is built-in pull-down input of the control chip U1 after the control chip U1 enters the energy saving mode, and the control chip U1 is in a low level state. When the key is pressed, the Hall sensor outputs a high level from the Hall switch circuit 2 to the control chip U1 after detecting that the magnetic field is saturated. When the control chip U1 detects that the feedback is high level, the control chip U1 is awakened.
The embodiment of the utility model also provides a keyboard comprising the Hall switch energy-saving circuit. The Hall switch energy-saving circuit is applied to the keyboard, so that the energy consumption of the keyboard can be greatly reduced, the game experience of a user is improved, and the endurance time of the keyboard is prolonged.
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 hall switch energy saving circuit which characterized in that, includes hall sensor circuit, hall switch circuit and control chip U1, hall sensor circuit include take magnetic element's button, and with the hall sensor of button connection, hall sensor is used for detecting the change of button stroke, hall switch circuit is used for according to hall sensor's button detected signal awakens up or dormancy control chip U1.
2. The hall switch energy saving circuit according to claim 1, wherein the hall switch circuit comprises a triode Q1 and a MOS transistor QP1, a base electrode of the triode Q1 is connected with the control chip U1, a collector electrode of the triode Q1 is connected with the hall sensor, a gate electrode of the MOS transistor QP1 is connected with the collector electrode of the triode Q1, a source electrode of the MOS transistor QP1 is connected with the hall sensor, and a drain electrode of the MOS transistor QP1 is connected with the control chip U1.
3. The hall switch power-saving circuit according to claim 2, further comprising a resistor R7, wherein one end of the resistor R7 is connected to the base of the transistor Q1, and the other end of the resistor R7 is connected to the control chip U1.
4. The hall switch power-saving circuit according to claim 2, further comprising a resistor R8, wherein one end of the resistor R8 is connected to the collector of the transistor Q1, and the other end of the resistor R8 is connected between the hall sensor and the source of the MOS transistor QP 1.
5. The hall switch power-saving circuit of claim 1, wherein a power switch of the hall sensor is connected to the control chip U1.
6. The hall switch power-saving circuit according to claim 1, wherein the output voltage detection port of the hall sensor is connected to the control chip U1.
7. The hall switch power-saving circuit of claim 2, wherein the transistor Q1 is an NPN transistor.
8. The hall switch power-saving circuit of claim 2, wherein the MOS transistor QP1 is of model S I2301.
9. The hall switch power-saving circuit of claim 1, wherein the control chip U1 is of the YC3021 type.
10. A keyboard comprising a hall switch power saving circuit according to any one of claims 1-9.
CN202323317221.5U 2023-12-06 2023-12-06 Hall switch energy-saving circuit and keyboard Active CN221354294U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202323317221.5U CN221354294U (en) 2023-12-06 2023-12-06 Hall switch energy-saving circuit and keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202323317221.5U CN221354294U (en) 2023-12-06 2023-12-06 Hall switch energy-saving circuit and keyboard

Publications (1)

Publication Number Publication Date
CN221354294U true CN221354294U (en) 2024-07-16

Family

ID=91834762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202323317221.5U Active CN221354294U (en) 2023-12-06 2023-12-06 Hall switch energy-saving circuit and keyboard

Country Status (1)

Country Link
CN (1) CN221354294U (en)

Similar Documents

Publication Publication Date Title
US9565293B2 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN209149116U (en) A kind of any key wakeup circuit of low-power consumption
CN103699199A (en) Electronic device on-off control device and electronic device
CN203643779U (en) Outage wake-up circuit of ammeter metering terminal
CN201725192U (en) Standby wake-up control circuit and control processing unit
CN221354294U (en) Hall switch energy-saving circuit and keyboard
CN213122670U (en) Energy-saving dormancy circuit
CN208588984U (en) On/off circuit and unmanned plane for unmanned plane monitoring equipment
CN111934666A (en) Key circuit with system awakening function and specific function
CN208506962U (en) A kind of energy-saving wireless remote control device
CN208739094U (en) Trigger-type low power consumption switch circuit
CN201917867U (en) Hibernating and waking-up circuit of microprocessor
CN210804544U (en) Intelligent lock awakening circuit and intelligent lock
CN215681824U (en) TWS earphone charging system
CN203838507U (en) Energy-saving control circuit of embedded system
CN211209687U (en) Self-holding switch circuit for sleep function based on triode and microcontroller
CN210609113U (en) One-key switching circuit
CN210431221U (en) Quick discharge circuit with extremely low power consumption at output end
CN208721230U (en) A kind of soft switch circuit applied on electronic scale
CN204069292U (en) For the earphone keystroke testing circuit of electric terminal
CN218352487U (en) Low-power-consumption switching-on and switching-off circuit
CN203720775U (en) Electronic equipment power-on and power-off control device and electronic equipment
CN218547326U (en) Low-power consumption awakening circuit suitable for massage equipment, massage chair and massage bed
CN201153295Y (en) Television standby detection power supply circuit
CN201255982Y (en) Display with user detection function

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant