Button-based power controller
The provided is a button-based power controller, including: a power supply module, where an input terminal of the power supply module is electrically connected to a live wire and a neutral wire; a main control module, where a power terminal of the main control module is electrically connected to an output terminal of the power supply module; a button control module, where the button control module includes a button and a timing indicator light, and the main control module is configured to drive the timing indicator light to be turned on or off according to a number of received button presses; and a drive module. The light string is directly connected to the power controller, such that the button control module can directly adjust the display of the light string timely, achieving more flexible control.
1 . A button-based power controller, comprising:
a power supply module, wherein an input terminal of the power supply module is electrically connected to a live wire and a neutral wire;
a main control module, wherein a power terminal of the main control module is electrically connected to an output terminal of the power supply module;
a button control module, wherein the button control module comprises a button and a timing indicator light; a positive terminal of the timing indicator light is electrically connected to the output terminal of the power supply module; a negative terminal of the timing indicator light is connected in series with the button and grounded; a connection terminal between the negative terminal of the timing indicator light and the button is electrically connected to the main control module; and the main control module is configured to drive the timing indicator light to be turned on or off according to a number of received button presses;
a drive module, wherein an input terminal of the drive module is electrically connected to the main control module; an output terminal of the drive module is electrically connected to a light string; and the main control module is configured to control the drive module to adjust a lighting mode, a lighting duration, and lighting brightness of the light string according to the number of received button presses and a triggered duration signal;
wherein the power supply module comprises a bridge rectifier BD 1 , a voltage regulator U 1 , a transformer T 1 , and a filtering and voltage regulation circuit;
an alternating-current (AC) input terminal of the bridge rectifier BD 1 is electrically connected to the live wire and the neutral wire; a direct-current (DC) output terminal of the bridge rectifier BD 1 is electrically connected to an input terminal of the voltage regulator U 1 ; an output terminal of the voltage regulator U 1 is electrically connected to a primary side of the transformer T 1 ; a secondary side of the transformer T 1 is electrically connected to an input terminal of the filtering and voltage regulation circuit; and an output terminal of the filtering and voltage regulation circuit is electrically connected to the power terminal of the main control module;
wherein the filtering and voltage regulation circuit comprises a resistor R 11 , a resistor R 13 , a capacitor C 10 , an electrolytic capacitor EC 3 , a diode D 7 , and a Zener diode ZD 1 ;
a positive terminal of the secondary side of the transformer T 1 is electrically connected to an anode of the diode D 7 ; a cathode of the diode D 7 is electrically connected to a negative terminal of the secondary side of the transformer T 1 through the electrolytic capacitor EC 3 ; the resistor R 11 is connected in parallel to two terminals of the electrolytic capacitor EC 3 ; the cathode of the diode D 7 is electrically connected to the negative terminal of the secondary side of the transformer T 1 through the resistor R 13 and the capacitor C 10 that are connected in series; an anode of the Zener diode ZD 1 is electrically connected to the negative terminal of the secondary side of the transformer T 1 ; and a connection terminal between the resistor R 13 and the capacitor C 10 is electrically connected to a cathode of the Zener diode ZD 1 ; and
the connection terminal between the resistor R 13 and the capacitor C 10 is electrically connected to the power terminal of the main control module; and the cathode of the diode D 7 is electrically connected to a power supply terminal of the drive module.
2 . The button-based power controller according to claim 1 , wherein the drive module comprises an NPN-type triode Q 1 , an NPN-type triode Q 2 , a PNP-type triode Q 3 , and a PNP-type triode Q 4 ;
the main control module is electrically connected to a base of the triode Q 3 through a resistor R 19 ; the base of the triode Q 3 is grounded through a resistor R 24 ; the main control module is electrically connected to a base of the triode Q 2 through a resistor R 18 ; the base of the triode Q 2 is grounded through a resistor R 23 ; an emitter of the triode Q 2 and an emitter of the triode Q 3 are grounded; a capacitor C 13 is electrically connected between a collector of the triode Q 2 and a collector of the triode Q 3 ; the collector of the triode Q 2 is electrically connected to a first terminal of the light string; and the collector of the triode Q 3 is electrically connected to a second terminal of the light string; and
a base of the triode Q 4 is electrically connected to an emitter of the triode Q 4 through a resistor R 16 ; the emitter of the triode Q 4 is electrically connected to the output terminal of the power supply module; the base of the triode Q 4 is electrically connected to a collector of the triode Q 1 through a resistor R 15 ; a base of the triode Q 1 is electrically connected to an emitter of the triode Q 1 through a resistor R 14 ; the base of the triode Q 1 is electrically connected to a collector of the triode Q 4 through a resistor R 17 ; the collector of the triode Q 4 is electrically connected to the collector of the triode Q 3 ; the collector of the triode Q 1 is electrically connected to the collector of the triode Q 2 ; and the emitter of the triode Q 4 is electrically connected to the emitter of the triode Q 1 .
3 . The button-based power controller according to claim 1 , further comprising an infrared receiving module configured to receive an infrared transmitting signal, wherein the main control module is configured to control the drive module to turn the light string on or off according to the infrared transmitting signal received by the infrared receiving module; and
the infrared receiving module comprises an infrared receiving head QP 1 ; a power terminal of the infrared receiving head QP 1 is electrically connected to the output terminal of the power supply module; the power terminal of the infrared receiving head QP 1 is grounded through a capacitor C 6 ; a grounding terminal of the infrared receiving head QP 1 is grounded; and a signal output terminal of the infrared receiving head QP 1 is electrically connected to the main control module.