CN215499642U - LED button control circuit and dust catcher - Google Patents

LED button control circuit and dust catcher Download PDF

Info

Publication number
CN215499642U
CN215499642U CN202121865907.6U CN202121865907U CN215499642U CN 215499642 U CN215499642 U CN 215499642U CN 202121865907 U CN202121865907 U CN 202121865907U CN 215499642 U CN215499642 U CN 215499642U
Authority
CN
China
Prior art keywords
key
circuit
led
pin
connector
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
CN202121865907.6U
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.)
Huizhou Topband Electronic Technology Co Ltd
Original Assignee
Huizhou Topband 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 Huizhou Topband Electronic Technology Co Ltd filed Critical Huizhou Topband Electronic Technology Co Ltd
Priority to CN202121865907.6U priority Critical patent/CN215499642U/en
Application granted granted Critical
Publication of CN215499642U publication Critical patent/CN215499642U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The utility model relates to an LED key control circuit and a dust collector, comprising: the LED lamp comprises a control unit, an LED drive circuit, an LED lamp, a key circuit, a connector and a key state detection circuit which is arranged corresponding to the key circuit; the LED driving end of the control unit is connected with the input end of the LED driving circuit, the output end of the LED driving circuit is connected with the anode of the LED lamp through a connector, the key state detection end of the control unit is connected with the first end of the key state detection circuit, the second end of the key state detection circuit is connected with the input end of the LED driving circuit, the cathode of the LED lamp is connected to the LED grounding driving end through the connector, the first end of the key circuit is connected with the anode of the LED lamp, and the second end of the key circuit and the key driving end of the control unit are connected with the connector; the number of PIN feet of the connector is one more than the number of LED lamps. The utility model can reduce the PIN number of the connector, reduce the wiring between the mainboard and the LED panel, reduce the failure rate and reduce the assembly difficulty and cost.

Description

LED button control circuit and dust catcher
Technical Field
The utility model relates to the technical field of electronics, in particular to an LED key control circuit and a dust collector.
Background
In the application of a dust collector product, because the dust collector product is longer, the distance between the main board and the LED panel is usually longer, so that the intermediate connection line is longer, the more intermediate connection lines are, the higher the relative failure rate and cost of the product are, the greater the assembly difficulty is, and the more the requirement on the structural space of the product is.
SUMMERY OF THE UTILITY MODEL
The utility model aims to solve the technical problem of providing an LED key control circuit and a dust collector aiming at the defects in the prior art.
The technical scheme adopted by the utility model for solving the technical problems is as follows: constructing an LED key control circuit comprising: the LED lamp comprises a control unit, an LED drive circuit, an LED lamp, a key circuit, a connector and a key state detection circuit which is arranged corresponding to the key circuit;
the control unit comprises an LED driving end, a key state detection end, an LED grounding driving end and a key driving end;
the LED driving end is connected with the input end of the LED driving circuit, the output end of the LED driving circuit is connected with the anode of the LED lamp through the connector, the key state detection end is connected with the first end of the key state detection circuit, the second end of the key state detection circuit is connected with the input end of the LED driving circuit, the cathode of the LED lamp is connected to the LED grounding driving end through the connector, the first end of the key circuit is connected with the anode of the LED lamp, the second end of the key circuit is connected with the connector, and the key driving end is connected to the connector;
the number of PIN feet of the connector is one more than the number of the LED lamps.
In the LED key control circuit of the present invention, the control unit includes: a controller;
the LED driving pin of the controller is an LED driving end of the control unit, the key state detection pin of the controller is a key state detection end of the control unit, the LED grounding pin of the controller is an LED grounding driving end of the control unit, and the key driving pin of the controller is a key driving end of the control unit.
In the LED key control circuit of the present invention, the LED driving circuit includes: a first current limiting circuit and a second current limiting circuit; the connector includes: the connector comprises a first connector and a second connector, wherein the first connector and the second connector are both three-PIN connectors; the LED lamp comprises: a first LED lamp and a second LED lamp;
the LED driving pin of the controller comprises: a first LED drive pin and a second LED drive pin;
a first LED driving PIN of the controller is connected with a first end of the first current limiting circuit, a second end of the first current limiting circuit is connected with a second PIN PIN of the first connector, a second LED driving PIN of the controller is connected with a first end of the second current limiting circuit, a second end of the second current limiting circuit is connected with a first PIN PIN of the first connector, a third PIN PIN of the first connector is connected with a key driving PIN of the controller through the key driving circuit, and the first PIN PIN of the first connector is also connected with an LED grounding PIN of the controller;
the first PIN, the second PIN and the third PIN of the second connector are correspondingly connected with the first PIN, the second PIN and the third PIN of the first connector respectively;
the positive pole of first LED lamp is connected the second PIN foot of second connector, the positive pole of second LED lamp is connected the first PIN foot of second connector, the negative pole of first LED lamp with the negative pole short circuit of second LED lamp is connected the third PIN foot of second connector.
In the LED key control circuit of the present invention, the LED driving circuit further includes: a first drive circuit and a second drive circuit;
the input end of the first driving circuit is connected with a first LED driving pin of the controller, and the output end of the first driving circuit is connected with the first end of the first current limiting circuit;
the input end of the second driving circuit is connected with a second LED driving pin of the controller, and the output end of the second driving circuit is connected with the first end of the second current limiting circuit.
In the LED key control circuit of the present invention, further comprising: a ground drive circuit;
the input end of the grounding driving circuit is connected with the LED grounding PIN of the controller, and the output end of the grounding driving circuit is connected with the third PIN PIN of the first connector.
In the LED key control circuit of the present invention, the key circuit includes: a plurality of key circuits;
the first end of each key circuit is connected with the positive electrodes of the LED lamps, and the second end of each key circuit is connected with the third PIN PIN of the second connector.
In the LED key control circuit of the present invention, the plurality of key circuits include: a first key circuit and a second key circuit;
the first end of the first key circuit is connected with the anode of the first LED lamp, and the second end of the first key circuit is connected with the third PIN PIN of the second connector;
the first end of the second key circuit is connected with the anode of the second LED lamp, and the second end of the second key circuit is connected with the third PIN foot of the second connector.
In the LED key control circuit of the present invention, the plurality of key circuits include: a first key circuit and a second key circuit;
the first end of the first key circuit and the first end of the second key circuit are connected with the anode of the first LED lamp, and the second end of the first key circuit and the second end of the second key circuit are connected with the third PIN PIN of the second connector;
or the first end of the first key circuit and the first end of the second key circuit are connected with the anode of the second LED lamp, and the second end of the first key circuit and the second end of the second key circuit are connected with the third PIN PIN of the second connector.
In the LED key control circuit of the present invention, the first driving circuit includes: the first drive circuit includes: the second resistor, the fourth resistor and the second switch tube; the second drive circuit includes: the third resistor, the fifth resistor and the first switch tube;
a first end of the fourth resistor is connected with a first LED driving pin of the controller, a second end of the fourth resistor is connected with a first end of the first switch tube, the second resistor is connected between the first end and the second end of the second switch tube, the second end of the second switch tube is connected with VCC, and a third end of the second switch tube is connected with the first end of the first current limiting circuit;
the first end of the fifth resistor is connected with the second LED driving pin of the controller, the second end of the fifth resistor is connected with the first end of the first switch tube, the third resistor is connected between the first end and the second end of the first switch tube, the second end of the first switch tube is connected with the VCC, and the third end of the first switch tube is connected with the first end of the second current limiting circuit.
In the LED key control circuit of the present invention, the first current limiting circuit includes: an eighth resistor; the second current limiting circuit includes: a ninth resistor;
the first end of the eighth resistor is connected with the third end of the second switching tube, and the second end of the eighth resistor is connected with the third PIN of the first connector;
the first end of the ninth resistor is connected with the third end of the first switch tube, and the second end of the ninth resistor is connected with the first PIN PIN of the first connector.
In the LED key control circuit, the first switch tube and the second switch tube are P-type triodes or PMOS tubes;
when the first switching tube is a P-type triode, the first end of the first switching tube is the base electrode of the P-type triode, the second end of the first switching tube is the emitting electrode of the P-type triode, and the third end of the first switching tube is the collector electrode of the P-type triode;
when the second switching tube is a P-type triode, the first end of the second switching tube is the base electrode of the P-type triode, the second end of the second switching tube is the emitting electrode of the P-type triode, and the third end of the second switching tube is the collector electrode of the P-type triode;
when the first switching tube is a PMOS tube, the first end of the first switching tube is a grid electrode of the PMOS tube, the second end of the first switching tube is a source electrode of the PMOS tube, and the third end of the first switching tube is a drain electrode of the PMOS tube;
when the second switch tube is a PMOS tube, the first end of the second switch tube is a grid electrode of the PMOS tube, the second end of the second switch tube is a source electrode of the PMOS tube, and the third end of the second switch tube is a drain electrode of the PMOS tube.
In the LED key control circuit of the present invention, the ground driving circuit includes: a tenth resistor, an eleventh resistor and a third switching tube;
the first end of the tenth resistor is connected with the ground PIN of the controller, the second end of the tenth resistor is connected with the first end of the third switching tube, the eleventh resistor is connected between the first end and the second end of the third switching tube, the second end of the third switching tube is grounded, and the third end of the third switching tube is connected with the third PIN PIN of the first connector.
In the LED key control circuit of the present invention, the first key circuit includes: the first key and the first diode; the second key circuit includes: a second key and a second diode;
the cathode of the first diode is the first end of the first key circuit, the anode of the first diode is connected with the first end of the first key, and the second end of the first key is the second end of the first key circuit;
the cathode of the second diode is the first end of the second key circuit, the anode of the second diode is connected with the first end of the second key, and the second end of the second key is the second end of the second key circuit.
In the LED key control circuit of the present invention, further comprising: a key driving circuit;
the first end of the key driving circuit is connected with the key driving PIN of the controller, and the second end of the key driving circuit is connected with the third PIN PIN of the first connector.
In the LED key control circuit of the present invention, the key driving circuit includes: a twelfth resistor;
the first end of the twelfth resistor is the first end of the key driving circuit, and the second end of the twelfth resistor is the second end of the key driving circuit.
In the LED key control circuit of the present invention, the key state detection circuit includes: a first detection circuit and a second detection circuit;
the first end of the first detection circuit is connected with the first end of the eighth resistor, and the second end of the first detection circuit is connected with a first key state detection pin of the controller;
and the first end of the second detection circuit is connected with the first end of the ninth resistor, and the second end of the second detection circuit is connected with a second key state detection pin of the controller.
In the LED key control circuit of the present invention, the first detection circuit includes: a sixth resistor; the second detection circuit includes: a seventh resistor;
a first end of the sixth resistor is connected with a first end of the eighth resistor, and a second end of the sixth resistor is connected with a first key state detection pin of the controller;
and a first end of the seventh resistor is connected with a first end of the ninth resistor, and a second end of the seventh resistor is connected with a second key state detection pin of the controller.
In the LED key control circuit of the present invention, further comprising: a main board and an LED panel;
the first connector is arranged on the mainboard, the second connector is arranged on the LED panel, and the first connector and the second connector are connected through a wire.
The utility model also provides a dust collector which comprises the LED key control circuit.
The LED key control circuit and the dust collector have the following beneficial effects that: the LED lamp comprises a control unit, an LED drive circuit, an LED lamp, a key circuit, a connector and a key state detection circuit which is arranged corresponding to the key circuit; the LED driving end of the control unit is connected with the input end of the LED driving circuit, the output end of the LED driving circuit is connected with the anode of the LED lamp through a connector, the key state detection end of the control unit is connected with the first end of the key state detection circuit, the second end of the key state detection circuit is connected with the input end of the LED driving circuit, the cathode of the LED lamp is connected to the LED grounding driving end through the connector, the first end of the key circuit is connected with the anode of the LED lamp, and the second end of the key circuit and the key driving end of the control unit are connected with the connector; the number of PIN feet of the connector is one more than the number of LED lamps. The utility model can reduce the PIN number of the connector, thereby reducing the problem of excessive intermediate connection between the mainboard and the LED panel, reducing the failure rate and lowering the assembly difficulty and cost.
Drawings
The utility model will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic block diagram of an LED key control circuit provided in an embodiment of the present invention;
fig. 2 and fig. 3 are circuit diagrams of an LED key control circuit according to an embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic block diagram of an alternative embodiment of an LED key control circuit according to the present invention is shown.
By adopting the LED key control circuit, the PIN number of the connector 105 can be effectively reduced, and further the intermediate connecting lines between the mainboard and the LED panel are effectively reduced. Wherein the number of PIN legs of the connector 105 is one more than the number of LED light fixtures 103. For example, when one LED lamp is provided, only a 2 PIN connector 105 is required; when two LED lamps are arranged, only the connector 105 with 3 PIN PINs is needed; … …, respectively; when N LED lamps are used, only the connector 105 of N +1 PIN PINs need be used. By adopting the LED key control circuit, the number of PIN PINs of the connector 105 is not influenced by the number of keys, namely, by adopting the LED key control circuit and adopting the connector 105 with 2 PIN PINs, the detection of 1, 2, … … and N keys can be realized.
Specifically, as shown in fig. 1, the LED key control circuit includes: the LED lamp comprises a control unit 101, an LED drive circuit 102, an LED lamp 103, a key circuit 104, a connector 105 and a key state detection circuit 106 arranged corresponding to the key circuit 104.
The control unit 101 includes an LED driving terminal, a key state detecting terminal, an LED grounding driving terminal, and a key driving terminal.
The LED driving end is connected with the input end of the LED driving circuit 102, the output end of the LED driving circuit 102 is connected with the anode of the LED lamp 103 through a connector 105, the key state detection end is connected with the first end of the key state detection circuit 106, the second end of the key state detection circuit 106 is connected with the input end of the LED driving circuit 102, the cathode of the LED lamp 103 is connected to the LED grounding driving end through a connector 105, the first end of the key circuit 104 is connected with the anode of the LED lamp 103, the second end of the key circuit 104 is connected with the connector 105, and the key driving end is connected to the connector 105.
Optionally, the control unit 101 includes: and a controller. The LED driving pin of the controller is the LED driving end of the control unit 101, the key state detection pin of the controller is the key state detection end of the control unit 101, the LED grounding pin of the controller is the LED grounding driving end of the control unit 101, and the key driving pin of the controller is the key driving end of the control unit 101.
In some embodiments, the LED driver circuit 102 includes: a first current limiting circuit and a second current limiting circuit; the connector 105 includes: the first connector CN1 and the second connector CN2, and the first connector CN1 and the second connector CN2 are three PIN connectors; the LED lamp 103 includes: a first LED light LED1 and a second LED light LED 2.
The LED driving pin of the controller includes: a first LED drive pin and a second LED drive pin.
Further, in some embodiments, the LED driving circuit 102 further includes: a first drive circuit and a second drive circuit.
The input end of the first driving circuit is connected with a first LED driving pin of the controller, and the output end of the first driving circuit is connected with the first end of the first current limiting circuit; the input end of the second driving circuit is connected with a second LED driving pin of the controller, and the output end of the second driving circuit is connected with the first end of the second current limiting circuit.
Further, in some embodiments, the LED key control circuit further includes: a ground drive circuit 108; the input end of the ground driving circuit 108 is connected to the LED ground PIN of the controller, and the output end of the ground driving circuit 108 is connected to the third PIN of the first connector CN 1.
Through setting up first drive circuit, second drive circuit and ground connection drive circuit 108, can solve the drive problem of heavy current LED, can satisfy the great demand of LED drive current that needs.
Optionally, the key circuit 104 includes: a plurality of key circuits 104.
A first terminal of each key circuit 104 is connected to the anodes of the plurality of LED lamps, and a second terminal of each key circuit 104 is connected to the third PIN of the second connector CN 2.
In some embodiments, the plurality of key circuits 104 includes: the first key circuit and the second key circuit.
The first end of the first key circuit is connected with the anode of the first LED lamp LED1, and the second end of the first key circuit is connected with the third PIN of the second connector CN 2; the first end of the second key circuit is connected with the anode of the second LED lamp LED2, and the second end of the second key circuit is connected with the third PIN of the second connector CN 2.
Alternatively, in some other embodiments, the plurality of key circuits 104 includes: the first key circuit and the second key circuit.
In this embodiment, the first end of the first key circuit and the first end of the second key circuit are connected to the anode of the first LED1, and the second end of the first key circuit and the second end of the second key circuit are connected to the third PIN of the second connector CN 2; or the first end of the first key circuit and the first end of the second key circuit are connected with the anode of the second LED lamp LED2, and the second end of the first key circuit and the second end of the second key circuit are connected with the third PIN PIN of the second connector CN 2.
Further, the LED key control circuit further comprises: a key driving circuit 107; a first end of the key driving circuit 107 is connected to the key driving PIN of the controller, and a second end of the key driving circuit 107 is connected to the third PIN of the first connector CN 1.
In some embodiments, the key state detection circuit 106 includes: a first detection circuit and a second detection circuit; the first end of the first detection circuit is connected with the first end of the eighth resistor R8, and the second end of the first detection circuit is connected with a first key state detection pin of the controller; the first end of the second detection circuit is connected with the first end of the ninth resistor R9, and the second end of the second detection circuit is connected with the second key state detection pin of the controller.
Further, the LED key control circuit further comprises: a main board and an LED panel; the first connector CN1 is provided on the main board, the second connector CN2 is provided on the LED panel, and the first connector CN1 and the second connector CN2 are connected by wires.
Referring to fig. 2 and 3, fig. 2 and 3 are schematic diagrams of an LED key control circuit according to an alternative embodiment of the present invention. In this embodiment, U1 is a controller, wherein the first LED driving pin (LED1_ POWER) and the second LED driving pin (LED2_ POWER) of the controller are connected to the seventeenth pin of U1, the LED ground pin (LED _ GND) of the controller is the sixteenth pin of U1, the KEY driving pin (KEY _ POWER) of the controller is the thirteenth pin of U1, the first KEY state detection pin (KEY1) of the controller is the fifteenth pin of U1, and the second KEY state detection pin (KEY2) of the controller is the fourteenth pin of U1.
Specifically, as shown in fig. 2 and 3:
a first LED driving PIN of the controller is connected with a first end of a first current limiting circuit, a second end of the first current limiting circuit is connected with a second PIN PIN of a first connector CN1, a second LED driving PIN of the controller is connected with a first end of a second current limiting circuit, a second end of the second current limiting circuit is connected with a first PIN PIN of a first connector CN1, a third PIN PIN of the first connector CN1 is connected with a key driving PIN of the controller through a key driving circuit 107, and the first PIN PIN of the first connector CN1 is also connected with an LED grounding PIN of the controller; the first PIN foot, the second PIN foot and the third PIN foot of the second connector CN2 are correspondingly connected with the first PIN foot, the second PIN foot and the third PIN foot of the first connector CN1 respectively; the positive pole of the first LED lamp LED1 is connected with the second PIN foot of the second connector CN2, the positive pole of the second LED lamp LED2 is connected with the first PIN foot of the second connector CN2, and the negative pole of the first LED lamp LED1 and the negative pole of the second LED lamp LED2 are in short circuit and connected with the third PIN foot of the second connector CN 2.
As shown in fig. 2 and 3, the first drive circuit includes: the first drive circuit includes: the second resistor R2, the fourth resistor R4 and the second switch tube Q2; the second drive circuit includes: a third resistor R3, a fifth resistor R5 and a first switch tube Q1.
A first end of a fourth resistor R4 is connected to a first LED driving pin of the controller, a second end of the fourth resistor R4 is connected to a first end of a first switch tube Q1, a second resistor R2 is connected between a first end and a second end of a second switch tube Q2, a second end of the second switch tube Q2 is connected to VCC, and a third end of the second switch tube Q2 is connected to a first end of a first current limiting circuit; the first end of the fifth resistor R5 is connected with the second LED driving pin of the controller, the second end of the fifth resistor R5 is connected with the first end of the first switch tube Q1, the third resistor R3 is connected between the first end and the second end of the first switch tube Q1, the second end of the first switch tube Q1 is connected with VCC, and the third end of the first switch tube Q1 is connected with the first end of the second current limiting circuit.
The first current limiting circuit includes: an eighth resistor R8; the second current limiting circuit includes: a ninth resistor R9.
A first end of the eighth resistor R8 is connected to the third end of the second switch Q2, and a second end of the eighth resistor R8 is connected to the third PIN of the first connector CN 1; a first end of the ninth resistor R9 is connected to the third end of the first switch Q1, and a second end of the ninth resistor R9 is connected to the first PIN of the first connector CN 1.
Optionally, the first switch tube Q1 and the second switch tube Q2 are P-type transistors or PMOS transistors.
When the first switch tube Q1 is a P-type triode, the first end of the first switch tube Q1 is the base of the P-type triode, the second end of the first switch tube Q1 is the emitter of the P-type triode, and the third end of the first switch tube Q1 is the collector of the P-type triode; when the second switch tube Q2 is a P-type triode, the first end of the second switch tube Q2 is the base of the P-type triode, the second end of the second switch tube Q2 is the emitter of the P-type triode, and the third end of the second switch tube Q2 is the collector of the P-type triode.
Or, when the first switch Q1 is a PMOS transistor, the first end of the first switch Q1 is a gate of the PMOS transistor, the second end of the first switch Q1 is a source of the PMOS transistor, and the third end of the first switch Q1 is a drain of the PMOS transistor; when the second switch transistor Q2 is a PMOS transistor, the first terminal of the second switch transistor Q2 is a gate of the PMOS transistor, the second terminal of the second switch transistor Q2 is a source of the PMOS transistor, and the third terminal of the second switch transistor Q2 is a drain of the PMOS transistor.
The ground driving circuit 108 includes: a tenth resistor R10, an eleventh resistor R11 and a third switch tube Q3.
A first end of the tenth resistor R10 is connected to the ground PIN of the controller, a second end of the tenth resistor R10 is connected to the first end of the third switching tube Q3, the eleventh resistor R11 is connected between the first end and the second end of the third switching tube Q3, the second end of the third switching tube Q3 is grounded, and a third end of the third switching tube Q3 is connected to the third PIN of the first connector CN 1.
The first key circuit includes: a first key SW1 and a first diode D1; the second key circuit includes: a second key SW2 and a second diode D2.
The cathode of the first diode D1 is the first end of the first key circuit, the anode of the first diode D1 is connected with the first end of the first key SW1, and the second end of the first key SW1 is the second end of the first key circuit; the cathode of the second diode D2 is the first terminal of the second key circuit, the anode of the second diode D2 is connected to the first terminal of the second key SW2, and the second terminal of the second key SW2 is the second terminal of the second key circuit.
The key driving circuit 107 includes: a twelfth resistor R12; the first terminal of the twelfth resistor R12 is the first terminal of the key driving circuit 107, and the second terminal of the twelfth resistor R12 is the second terminal of the key driving circuit 107.
The first detection circuit includes: a sixth resistor R6; the second detection circuit includes: a seventh resistor R7; a first end of the sixth resistor R6 is connected with a first end of the eighth resistor R8, and a second end of the sixth resistor R6 is connected with a first key state detection pin of the controller; the first end of the seventh resistor R7 is connected to the first end of the ninth resistor R9, and the second end of the seventh resistor R7 is connected to the second key state detection pin of the controller.
In a specific application example, the LED lamp and the key can be scanned, for example, with 4ms as a scanning period, wherein the LED lamp is turned on for the first 3ms and the key status is detected for the last 1 ms.
Specifically, the method comprises the following steps:
the first 3 ms: LED1_ POWER ═ 0; LED2_ POWER ═ 0; LED _ GND is 1; KEY1, KEY2, KEY _ POWER are all set as inputs; at this time, the LEDs 1 and 2 are turned on, and the current of the LEDs does not flow into U1, (R8 is used for limiting the current of the LEDs); r6(R7, R12 act the same) is the protection resistor of U1, when VCC voltage > VDD, the place of these resistors can be changed into voltage division mode to protect U1.
The last 1 ms: LED1_ POWER ═ 1; LED2_ POWER ═ 1; LED _ GND is 0; KEY _ POWER is set as output and set to 1; KEY1, KEY2 is set as an input (IO port or ADC port); at this time, by detecting the state of KEY1, KEY2 can know whether SW1 and SW2 are pressed. If KEY1 is detected to be 1(ADC port is greater than a certain ADC value), SW1 is determined to be pressed.
The utility model also provides a dust collector which comprises the LED key control circuit disclosed by the utility model.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (19)

1. An LED key control circuit, comprising: the LED lamp comprises a control unit, an LED drive circuit, an LED lamp, a key circuit, a connector and a key state detection circuit which is arranged corresponding to the key circuit;
the control unit comprises an LED driving end, a key state detection end, an LED grounding driving end and a key driving end;
the LED driving end is connected with the input end of the LED driving circuit, the output end of the LED driving circuit is connected with the anode of the LED lamp through the connector, the key state detection end is connected with the first end of the key state detection circuit, the second end of the key state detection circuit is connected with the input end of the LED driving circuit, the cathode of the LED lamp is connected to the LED grounding driving end through the connector, the first end of the key circuit is connected with the anode of the LED lamp, the second end of the key circuit is connected with the connector, and the key driving end is connected to the connector;
the number of PIN feet of the connector is one more than the number of the LED lamps.
2. The LED key control circuit of claim 1, wherein the control unit comprises: a controller;
the LED driving pin of the controller is an LED driving end of the control unit, the key state detection pin of the controller is a key state detection end of the control unit, the LED grounding pin of the controller is an LED grounding driving end of the control unit, and the key driving pin of the controller is a key driving end of the control unit.
3. The LED key control circuit of claim 2, wherein the LED driver circuit comprises: a first current limiting circuit and a second current limiting circuit; the connector includes: the connector comprises a first connector and a second connector, wherein the first connector and the second connector are both three-PIN connectors; the LED lamp comprises: a first LED lamp and a second LED lamp;
the LED driving pin of the controller comprises: a first LED drive pin and a second LED drive pin;
a first LED driving PIN of the controller is connected with a first end of the first current limiting circuit, a second end of the first current limiting circuit is connected with a second PIN PIN of the first connector, a second LED driving PIN of the controller is connected with a first end of the second current limiting circuit, a second end of the second current limiting circuit is connected with a first PIN PIN of the first connector, a third PIN PIN of the first connector is connected with a key driving PIN of the controller through the key driving circuit, and the first PIN PIN of the first connector is also connected with an LED grounding PIN of the controller;
the first PIN, the second PIN and the third PIN of the second connector are correspondingly connected with the first PIN, the second PIN and the third PIN of the first connector respectively;
the positive pole of first LED lamp is connected the second PIN foot of second connector, the positive pole of second LED lamp is connected the first PIN foot of second connector, the negative pole of first LED lamp with the negative pole short circuit of second LED lamp is connected the third PIN foot of second connector.
4. The LED key control circuit of claim 3, wherein the LED driver circuit further comprises: a first drive circuit and a second drive circuit;
the input end of the first driving circuit is connected with a first LED driving pin of the controller, and the output end of the first driving circuit is connected with the first end of the first current limiting circuit;
the input end of the second driving circuit is connected with a second LED driving pin of the controller, and the output end of the second driving circuit is connected with the first end of the second current limiting circuit.
5. The LED key control circuit of claim 4, further comprising: a ground drive circuit;
the input end of the grounding driving circuit is connected with the LED grounding PIN of the controller, and the output end of the grounding driving circuit is connected with the third PIN PIN of the first connector.
6. The LED key control circuit of claim 3, wherein the key circuit comprises: a plurality of key circuits;
the first end of each key circuit is connected with the positive electrodes of the LED lamps, and the second end of each key circuit is connected with the third PIN PIN of the second connector.
7. The LED key control circuit of claim 6, wherein the plurality of key circuits comprises: a first key circuit and a second key circuit;
the first end of the first key circuit is connected with the anode of the first LED lamp, and the second end of the first key circuit is connected with the third PIN PIN of the second connector;
the first end of the second key circuit is connected with the anode of the second LED lamp, and the second end of the second key circuit is connected with the third PIN foot of the second connector.
8. The LED key control circuit of claim 6, wherein the plurality of key circuits comprises: a first key circuit and a second key circuit;
the first end of the first key circuit and the first end of the second key circuit are connected with the anode of the first LED lamp, and the second end of the first key circuit and the second end of the second key circuit are connected with the third PIN PIN of the second connector;
or the first end of the first key circuit and the first end of the second key circuit are connected with the anode of the second LED lamp, and the second end of the first key circuit and the second end of the second key circuit are connected with the third PIN PIN of the second connector.
9. The LED key control circuit of claim 4, wherein the first driving circuit comprises: the first drive circuit includes: the second resistor, the fourth resistor and the second switch tube; the second drive circuit includes: the third resistor, the fifth resistor and the first switch tube;
a first end of the fourth resistor is connected with a first LED driving pin of the controller, a second end of the fourth resistor is connected with a first end of the first switch tube, the second resistor is connected between the first end and the second end of the second switch tube, the second end of the second switch tube is connected with VCC, and a third end of the second switch tube is connected with the first end of the first current limiting circuit;
the first end of the fifth resistor is connected with the second LED driving pin of the controller, the second end of the fifth resistor is connected with the first end of the first switch tube, the third resistor is connected between the first end and the second end of the first switch tube, the second end of the first switch tube is connected with the VCC, and the third end of the first switch tube is connected with the first end of the second current limiting circuit.
10. The LED pushbutton control circuit of claim 9, wherein the first current limiting circuit includes: an eighth resistor; the second current limiting circuit includes: a ninth resistor;
the first end of the eighth resistor is connected with the third end of the second switching tube, and the second end of the eighth resistor is connected with the third PIN of the first connector;
the first end of the ninth resistor is connected with the third end of the first switch tube, and the second end of the ninth resistor is connected with the first PIN PIN of the first connector.
11. The LED key control circuit according to claim 9, wherein the first switch tube and the second switch tube are P-type triodes or PMOS tubes;
when the first switching tube is a P-type triode, the first end of the first switching tube is the base electrode of the P-type triode, the second end of the first switching tube is the emitting electrode of the P-type triode, and the third end of the first switching tube is the collector electrode of the P-type triode;
when the second switching tube is a P-type triode, the first end of the second switching tube is the base electrode of the P-type triode, the second end of the second switching tube is the emitting electrode of the P-type triode, and the third end of the second switching tube is the collector electrode of the P-type triode;
when the first switching tube is a PMOS tube, the first end of the first switching tube is a grid electrode of the PMOS tube, the second end of the first switching tube is a source electrode of the PMOS tube, and the third end of the first switching tube is a drain electrode of the PMOS tube;
when the second switch tube is a PMOS tube, the first end of the second switch tube is a grid electrode of the PMOS tube, the second end of the second switch tube is a source electrode of the PMOS tube, and the third end of the second switch tube is a drain electrode of the PMOS tube.
12. The LED key control circuit of claim 5, wherein the ground driving circuit comprises: a tenth resistor, an eleventh resistor and a third switching tube;
the first end of the tenth resistor is connected with the ground PIN of the controller, the second end of the tenth resistor is connected with the first end of the third switching tube, the eleventh resistor is connected between the first end and the second end of the third switching tube, the second end of the third switching tube is grounded, and the third end of the third switching tube is connected with the third PIN PIN of the first connector.
13. The LED key control circuit according to claim 7 or 8, wherein the first key circuit comprises: the first key and the first diode; the second key circuit includes: a second key and a second diode;
the cathode of the first diode is the first end of the first key circuit, the anode of the first diode is connected with the first end of the first key, and the second end of the first key is the second end of the first key circuit;
the cathode of the second diode is the first end of the second key circuit, the anode of the second diode is connected with the first end of the second key, and the second end of the second key is the second end of the second key circuit.
14. The LED key control circuit of claim 3, further comprising: a key driving circuit;
the first end of the key driving circuit is connected with the key driving PIN of the controller, and the second end of the key driving circuit is connected with the third PIN PIN of the first connector.
15. The LED key control circuit of claim 14, wherein the key driver circuit comprises: a twelfth resistor;
the first end of the twelfth resistor is the first end of the key driving circuit, and the second end of the twelfth resistor is the second end of the key driving circuit.
16. The LED key control circuit of claim 10, wherein the key status detection circuit comprises: a first detection circuit and a second detection circuit;
the first end of the first detection circuit is connected with the first end of the eighth resistor, and the second end of the first detection circuit is connected with a first key state detection pin of the controller;
and the first end of the second detection circuit is connected with the first end of the ninth resistor, and the second end of the second detection circuit is connected with a second key state detection pin of the controller.
17. The LED key control circuit of claim 16, wherein the first detection circuit comprises: a sixth resistor; the second detection circuit includes: a seventh resistor;
a first end of the sixth resistor is connected with a first end of the eighth resistor, and a second end of the sixth resistor is connected with a first key state detection pin of the controller;
and a first end of the seventh resistor is connected with a first end of the ninth resistor, and a second end of the seventh resistor is connected with a second key state detection pin of the controller.
18. The LED key control circuit of claim 3, further comprising: a main board and an LED panel;
the first connector is arranged on the mainboard, the second connector is arranged on the LED panel, and the first connector and the second connector are connected through a wire.
19. A vacuum cleaner comprising the LED pushbutton control circuit defined in any one of claims 1-18.
CN202121865907.6U 2021-08-11 2021-08-11 LED button control circuit and dust catcher Active CN215499642U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121865907.6U CN215499642U (en) 2021-08-11 2021-08-11 LED button control circuit and dust catcher

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121865907.6U CN215499642U (en) 2021-08-11 2021-08-11 LED button control circuit and dust catcher

Publications (1)

Publication Number Publication Date
CN215499642U true CN215499642U (en) 2022-01-11

Family

ID=79758164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121865907.6U Active CN215499642U (en) 2021-08-11 2021-08-11 LED button control circuit and dust catcher

Country Status (1)

Country Link
CN (1) CN215499642U (en)

Similar Documents

Publication Publication Date Title
US5347198A (en) Low cost AC switch for electroluminescent lamps
CN102780202A (en) Overvoltage protection circuit and lamp
CN102780204A (en) Under-voltage protection circuit and lamp
CN215499642U (en) LED button control circuit and dust catcher
CN110380720B (en) Universal pin multiplexing circuit
CN209132405U (en) Switching-on and switching-off state detection circuit
CN101741078B (en) Locking circuit for overvoltage-undervoltage protection of driving voltage of IGBT (insulated gate bipolar transistor)
CN201583940U (en) Device for indicating running state of network and network terminal
CN201839197U (en) Overvoltage and undervoltage protection and locking circuit for drive voltage of IGBT (insulated gate bipolar transistor)
CN211554276U (en) Multifunctional auxiliary detection tool circuit
CN102651926B (en) Auxiliary source circuit
CN210351008U (en) Double-switch-tube-driven current equalizing circuit
CN104124949A (en) Bootstrap circuit, inverter and air conditioner
CN210129849U (en) Intelligent switch double-control circuit
CN209184578U (en) A kind of mechanical triggering self-locking electronic switching circuit
CN213547488U (en) Single-key multifunctional driving circuit
CN210225033U (en) Switching circuit for charging circuit
CN220043050U (en) Power supply switching circuit and electronic equipment
CN202798970U (en) HDMI (high-definition multimedia interface) device
CN103458552B (en) A kind of LED lamp and start control circuit thereof
CN100353634C (en) Discharge protection circuit
CN108366468B (en) Intelligent adjusting circuit for ground brush light source
CN217789931U (en) LED switching circuit of automobile key switch
CN112947170B (en) Double-fan control circuit and air conditioner
CN109116267A (en) Switching-on and switching-off state detection circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant