A full-color Christmas light control device and method based on Internet of Things chip

Through the control device based on the Internet of Things chip, the distance and function limitations of the existing Christmas light control methods are solved, and remote multi-functional control of full-color Christmas lights is realized. Two power supply lines are used to achieve full-color changes, simplifying the line and reducing costs. .

CN113099574BActive Publication Date: 2024-09-27JIANGMEN ZENGGE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110454749.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-26
Publication Date
2024-09-27
Estimated Expiration
2041-04-26

AI Technical Summary

Technical Problem

Existing Christmas light control methods have problems such as short control distance, single function and inability to be remotely controlled, especially infrared remote control and full-color Christmas lights with buttons.

Method used

A control device based on the Internet of Things chip is used to receive control commands through the Internet of Things circuit and convert them into Christmas light control signals. The driver circuit is used to superimpose the signal on the power supply line to realize the control of full-color Christmas lights. It combines sound collection and infrared Receive circuit to enhance control function.

Benefits of technology

It realizes remote control and multi-function operation of full-color Christmas lights, uses two power supply lines to achieve full-color changes, simplifies lines and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113099574B
    Figure CN113099574B
Patent Text Reader

Abstract

The present invention discloses a full-color Christmas light control device based on an Internet of Things chip and a method thereof. The device comprises: an Internet of Things circuit, which is used to receive control commands for full-color Christmas lights using an Internet of Things chip and convert the commands into Christmas light control signals for output; a drive circuit, which is connected to the positive and negative electrodes of the full-color Christmas light string and is used to superimpose the Christmas light control signals on a power supply line and output them to the full-color Christmas lights; and a power supply module, which is used to provide power for the Internet of Things circuit and the drive circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a full-color Christmas light control device and method for realizing a two-line full-color (RGB) Christmas light based on an Internet of Things chip. Background Art

[0002] In the West, people decorate Christmas trees with various ornaments. Christmas lights are a kind of decorative lights hung on Christmas trees. Christmas lights are the most common and most important ornaments. Almost every Christmas tree is decorated with sparkling lights. Generally speaking, Christmas lights are divided into single-color Christmas lights, two-color Christmas lights, and color Christmas lights.

[0003] At present, there are two main ways to control Christmas lights on the market: one is full-color Christmas lights with infrared remote control, that is, the Christmas lights are controlled by infrared remote control. The disadvantage of this method is that the control distance is short, the direction must be fixed during remote control, and there is no feedback function; the other is full-color Christmas lights with buttons, that is, the Christmas lights are controlled by buttons. The disadvantage of this method is that it can only be controlled at close range, cannot be controlled remotely, and the button control function is single. Summary of the invention

[0004] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a full-color Christmas light control device and method based on an Internet of Things chip, so as to achieve the full-color change purpose of the full-color Christmas lights by combining the Internet of Things technology with the full-color Christmas lights.

[0005] To achieve the above and other purposes, the present invention provides a full-color Christmas light control device based on an Internet of Things chip, comprising:

[0006] An Internet of Things circuit, for receiving a control command for a full-color Christmas light using an Internet of Things chip, and converting the command into a Christmas light control signal output;

[0007] A driving circuit, connected to the positive electrode and the negative electrode of the full-color Christmas light string, for superimposing the Christmas light control signal on the power supply line and outputting it to the full-color Christmas light;

[0008] The power module is used to provide power to the IoT circuit and the drive circuit.

[0009] Preferably, the full-color Christmas light control device also includes a control circuit for receiving the Christmas light control signal output by the Internet of Things circuit and outputting it to the drive circuit after processing it according to the protocol, so as to superimpose the Christmas light control signal on the power supply line through the drive circuit.

[0010] Preferably, the driving circuit comprises a first switch tube (Q1), a second switch tube (Q2), a third switch tube (Q3), a first isolation resistor (R14), a second isolation resistor (R15) and a current limiting resistor (R16); the source and substrate or emitter of the first switch tube (Q1), the second switch tube (Q2) and the third switch tube (Q3) are grounded; the gate or base of the first switch tube (Q1) and the second switch tube (Q2) is connected to the second output end of the control circuit through the second isolation resistor (R15); the gate or base of the third switch tube (Q3) is connected to the first output end of the control circuit through the first isolation resistor (R14); the drain or collector of the first switch tube (Q1) and the second switch tube (Q2) is connected to the output negative electrode; the drain or collector of the third switch tube (Q3) is connected to the output negative electrode through the current limiting resistor (R16).

[0011] Preferably, the driving circuit includes a fourth switch tube (Q4) and a third isolation resistor (R21), the source and substrate or emitter of the fourth switch tube (Q4) are grounded, the gate or base is connected to the control circuit or the Internet of Things circuit through the third isolation resistor (R21), and the drain or collector is connected to the output negative electrode.

[0012] Preferably, the control device further comprises a sound collection circuit for amplifying the sound signal collected by the microphone and transmitting it to the Internet of Things circuit, so as to adjust the full-color Christmas lights according to the rhythm of the sound. The sound collection circuit comprises an operational amplifier circuit (U4A), a first in-phase end bias resistor (R8), a second in-phase end bias resistor (R9), a microphone matching resistor (R7), a DC blocking capacitor (C13), an output isolation resistor (R11), a first gain setting resistor (R10), and a second gain setting resistor (R12). The microphone connects the audio signal to one end of the microphone matching resistor (R7) and one end of the DC blocking capacitor (C13). The other end of the DC blocking capacitor (C13) is connected to the inverting resistor of the operational amplifier circuit (U4A) through the first gain setting resistor (R10). The first in-phase bias resistor (R8) and the second in-phase bias resistor (R9) are connected to the in-phase input terminal of the operational amplifier circuit (U4A) and one end of the second gain setting resistor (R12); the other end of the second gain setting resistor (R12) is connected to the output terminal of the operational amplifier circuit (U4A) and one end of the output isolation resistor (R11); the common end of the first in-phase bias resistor (R8) and the second in-phase bias resistor (R9) is connected to the in-phase input terminal of the operational amplifier circuit (U4A); the other end of the first in-phase bias resistor (R8) and the other end of the microphone matching resistor (R7) and the positive power input terminal of the operational amplifier circuit (U4A) are connected to a DC low voltage; the other end of the second in-phase bias resistor (R9) and the negative power input terminal of the operational amplifier circuit (U4A) are grounded; and one end of the output isolation resistor (R11) is connected to the Internet of Things chip (U1).

[0013] Preferably, the control device further comprises an infrared receiving circuit for receiving a control command from an infrared remote controller, and transmitting the control command to the Internet of Things circuit for decoding to obtain the Christmas light control signal output.

[0014] Preferably, the control device further comprises a key circuit, and the key circuit is connected to the Internet of Things circuit to receive a key action of a user and transmit it to the Internet of Things circuit via a key.

[0015] Preferably, the control command includes a control command from an intelligent terminal or a wireless remote controller.

[0016] Preferably, the control device also includes a voltage stabilizing circuit to convert the input DC high voltage VCC into a DC low voltage and provide it to the sound collection circuit, key circuit, infrared receiving circuit, Internet of Things circuit, and control circuit, and at the same time provide the input DC high voltage to the drive circuit.

[0017] To achieve the above object, the present invention also provides a full-color Christmas light control method based on an Internet of Things chip, comprising the following steps:

[0018] Step S1, using the Internet of Things chip to receive control commands for full-color Christmas lights, and converting them into Christmas light control signal serial output;

[0019] Step S2, by connecting the driving circuit to the positive and negative electrodes of the full-color Christmas light string, using the driving circuit to superimpose the Christmas light control signal on the power supply line and output it to the full-color Christmas light to achieve a full-color change effect.

[0020] Compared with the prior art, the present invention provides a full-color Christmas light control device based on the Internet of Things and a method thereof, which utilizes an Internet of Things chip to receive control commands from smart devices, converts the commands into Christmas light control signals and outputs them to a drive circuit, connects the drive circuit to the positive and negative electrodes of the full-color Christmas light string, and utilizes the drive circuit to superimpose the Christmas light control signals on the power supply line and output them to the full-color Christmas lights, thereby achieving a full-color change effect, thereby achieving the purpose of controlling two-line RGB full-color Christmas lights and using two power supply lines to achieve control of the full-color Christmas lights. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a system architecture diagram of a first embodiment of a full-color Christmas light control device based on an Internet of Things chip of the present invention;

[0022] Figure 2 This is a circuit structure diagram of the Internet of Things circuit in the first embodiment of the present invention;

[0023] Figure 3is a circuit structure diagram of a control circuit and a drive circuit in a first embodiment of the present invention;

[0024] Figure 4 is a circuit structure diagram of another implementation of the control circuit and the drive circuit in the first embodiment of the present invention;

[0025] Figure 5 is a circuit structure diagram of a sound collection circuit in a first embodiment of the present invention;

[0026] Figure 6 The circuit structure diagram of the infrared receiving circuit in the first embodiment of the present invention is

[0027] Figure 7 is a circuit structure diagram of a key circuit in a first embodiment of the present invention;

[0028] Figure 8 is a circuit structure diagram of a voltage stabilizing circuit in a first embodiment of the present invention;

[0029] Fig. 9 This is a system architecture diagram of a full-color Christmas light control device based on an Internet of Things chip in the second embodiment of the present invention;

[0030] Fig.10 This is a circuit structure diagram of the Internet of Things circuit in the second embodiment of the present invention;

[0031] Fig.11 is a circuit structure diagram of a driving circuit in a second embodiment of the present invention;

[0032] Fig.12 The present invention is a flowchart of the steps of a full-color Christmas light control method based on an Internet of Things chip. DETAILED DESCRIPTION

[0033] The following describes the implementation of the present invention through specific examples and in conjunction with the accompanying drawings. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0034] Figure 1 This is a system architecture diagram of the first embodiment of a full-color Christmas light control device based on an Internet of Things chip of the present invention. In this embodiment, Figure 1 As shown, the present invention is a full-color Christmas light control device based on an Internet of Things chip, comprising:

[0035] The Internet of Things circuit 1 is used to receive control commands for full-color Christmas lights using an Internet of Things chip, and convert the commands into Christmas light control signals and output them to the control circuit 2.

[0036] In a specific embodiment of the present invention, the full-color Christmas light is a two-wire RGB Christmas light, in which a control signal is superimposed on the positive and negative poles of the power line, and the LED light obtains the control signal after decoding, and changes according to the control signal, and uses two power supply lines to realize the control of the full-color Christmas light. Compared with traditional four-wire or three-wire RGB Christmas lights, the two-wire RGB Christmas light only needs two wires to realize full-color changes, the circuit is simple, the wiring is convenient and the cost is low.

[0037] In a specific embodiment of the present invention, the control command received by the Internet of Things circuit 1 may be a control command from an intelligent terminal, such as a smart phone, which is connected to the smart phone through the Internet of Things chip to receive the control command sent by the corresponding APP of the smart phone. The control command may also be a control command sent by a wireless remote control, that is, the control command sent by the user through the wireless remote control is received by the Internet of Things chip. The wireless remote control may be in the 2.4G frequency band and use a Bluetooth broadcast packet to send data. The Internet of Things chip may be a WIFI single-mode chip, a WIFI&BLE dual-mode chip, a Bluetooth chip, a ZIGBEE chip or other 2.4G chip, etc.

[0038] The control circuit 2 is used to receive the Christmas light control signal output by the Internet of Things circuit 1, process it accordingly, and output it to the driving circuit 3, so that the control signal is superimposed on the power supply line through the driving circuit, that is, the control circuit 2 converts the Christmas light control signal output by the Internet of Things circuit 1 into a driving signal to control the output of the driving circuit 3; the driving circuit 3 is connected to the positive and negative electrodes of the full-color Christmas light string, and the Christmas light control signal output by the control circuit is superimposed on the power supply line and output to the full-color Christmas light to achieve a full-color change effect; the power supply module 4 is used to provide power supply for other modules.

[0039] like Figure 2As shown, the Internet of Things circuit 1 is composed of an Internet of Things chip U1, filter capacitors C1-C4, matching capacitors C5-C7, a start-up resistor R1, a pull-up permission resistor R2, a crystal Y1, an antenna J0, and a socket P1 connected to Christmas lights, and is used to communicate with a smart terminal or a wireless remote control to receive control commands. Specifically, the Internet of Things chip U1 receives the control command of the smart terminal or the wireless remote control through the antenna J0, and after processing the received control command, it converts it into a full-color Christmas light control signal UART_TX and outputs it to the control circuit 2 through the general input and output port GPIO16 (pin 27). The 17th pin of the Internet of Things chip U1 is connected to the start-up resistor R1. One end is connected to the test pin BOOT to form a startup BOOT node, the other end of the startup resistor R1 is grounded, the permission end CHIP_EN (12 pin) of the Internet of Things chip U1 is connected to the DC low voltage V33 through the pull-up permission resistor R2, the power supply end VDD11 (26 pin) of the Internet of Things chip U1 is grounded through the filter capacitor C1, and the power supply end AVDD15 (10 pin) of the Internet of Things chip U1 is grounded through the filter capacitor C2; the power supply end AVDD33_1 / AVDD33_2 (7 / 8 pins) of the Internet of Things chip U1 is grounded through the filter capacitor C4, and the power supply end VDD33_DCDC (23 pin) of the Internet of Things chip U1 is grounded through the filter capacitor C4. The wave capacitor C3 is grounded, the power supply terminals AVDD33_1 / AVDD33_2 (pin 7 / 8), AVDD18 (pin 11), AVDD33_AON (pin 15), VDD33_DCDC (pin 23), SW_DCDC (pin 24), DCDC_OUT (pin 25), and VDDIO_1 (pin 32) of the IoT chip U1 are connected to the DC low voltage V33; the general input and output port GPIO7 (pin 16) of the IoT chip U1 is connected to the test pin UART_RX, and the general input and output port GPIO16 (2 The oscillation input XIN (pin 7) of the crystal oscillator Y1 is connected to the test pin UART_TX, the oscillation input XIN (pin 1) and the oscillation output XOUT (pin 3) of the crystal oscillator Y1 are respectively connected to the oscillation input XTAL_IN (pin 18) and the oscillation output XTAL_OUT (pin 19) of the Internet of Things chip U1; the antenna terminal ANT (pin 9) of the Internet of Things chip U1 is connected to the antenna J0 through the matching capacitor C6, and the matching capacitors C5 and C7 are respectively connected in parallel between the two ends of the matching capacitor C6 and the ground to form a π-type matching network with C6. In a specific embodiment of the present invention, the antenna J0 can be a PCB antenna (PCB_ANT) or an external antenna, but the present invention is not limited to this.

[0040] In the present invention, there are two kinds of full-color Christmas lights, one kind of lights requires two control signals, and the other kind of lights requires only one control signal. For the lights that require two control signals, since the IoT chip U1 can only provide one control signal, it is necessary to process and output the corresponding signal through a separate control circuit, such as Figure 3 As shown, the control circuit 2 is composed of a control chip U3, a pull-up resistor R20 and an isolation resistor R17, and is used to convert the Christmas light control signal UART_TX output by the Internet of Things circuit 1 into a signal required by the drive circuit 3; the drive circuit 3 is composed of isolation resistors R14-R15, a current limiting resistor R16, and switch devices Q1, Q2, and Q3, and is used to drive the signal output by the control circuit 2 and transmit it to the positive and negative electrodes of the Christmas lights. Specifically, the general input and output port GPIO16 (pin 27) of the Internet of Things chip U1 and the pull-up resistor R20 are connected to the pull-up resistor R17. One end of the pull-up resistor R20 is connected to one end of the isolation resistor R17 to form a control signal UART_TX node, the other end of the pull-up resistor R20 is connected to the DC low voltage V33, the other end of the isolation resistor R17 is connected to the input end (pin 4) of the control chip U3, the positive power supply end (pin 1) of the control chip U3 is connected to the DC low voltage V33, the negative power supply end (pin 8) of the control chip U3 is grounded, the first output end (pin 5) and the second output end (pin 6) of the control chip U3 are connected to the drive circuit 3, and the switch of the drive circuit 3 The components Q1, Q2, and Q3 can be N-channel MOS tubes or NPN-type transistors. Taking the MOS tube as an example, the G poles of the switch devices Q1 and Q2 are connected and connected to the second output terminal (pin 6) of the control chip U3 through R15, and the G pole of the switch device Q3 is connected to the first output terminal (pin 5) of the control chip U3 through the isolation resistor R14. The drains of the switch devices Q1 and Q2 are connected and connected to pin 2 of the socket P1. The negative pole of the full-color Christmas light is connected to pin 2 of the socket P1, and the positive pole of the Christmas light is connected to pin 1 of the socket P1. (DC high voltage VCC), the drain of the switching device Q3 is connected to the other end of the current limiting resistor R16, the source and substrate of the switching devices Q1, Q2, and Q3 are grounded, and the DC high voltage VCC is connected to pin 1 of the socket P1, that is, the driving circuit 3, and the Christmas light control signal output by the control circuit is superimposed on the power supply line through the three switching tubes Q1, Q2, and Q3 and output to the full-color Christmas lights, and is connected to the full-color RGB Christmas lights through two wires, connecting the positive and negative poles of the Christmas light string, thereby achieving a full-color change effect.

[0041] For lamp beads that only need one control signal, the driving circuit can adopt a simpler structure, such as Figure 4As shown, in another implementation of the present embodiment, the control circuit 2 is composed of a control chip U3, a pull-up resistor R20 and an isolation resistor R17, and the drive circuit 3 is composed of an isolation resistor R21 and a switch device Q4, which is used to drive the signal output by the control circuit 2 and transmit it to the positive and negative poles of the Christmas lights. Similarly, the general input and output port GPIO16 (pin 27) of the Internet of Things chip U1 is connected to one end of the pull-up resistor R20 and one end of the isolation resistor R17 to form a control signal UART_TX node, the other end of the pull-up resistor R20 is connected to the DC low voltage V33, the other end of the isolation resistor R17 is connected to the input end (pin 4) of the control chip U3, the positive power supply end (pin 1) of the control chip U3 is connected to the DC low voltage V33, and the negative power supply end (pin 8) of the control chip U3 is connected to the DC low voltage V33. Pin) is grounded, and the first output terminal (pin 5) of the control chip U3 is connected to the switching device Q4 through the isolation resistor R21. The switching device Q4 can be an N-channel MOS tube or an NPN-type triode. Taking the MOS tube as an example, the G pole (gate) of the switching device Q4 is connected to the first output terminal (pin 5) of the control chip U3 through the isolation resistor R21, the source and the substrate are grounded, the drain is connected to the 2nd pin of the socket P1, and the DC high voltage VCC is connected to the 1st pin of the socket P1. That is to say, in this embodiment, the driving circuit 3 superimposes the Christmas light control signal output by the control circuit on the power supply line through the switch tube Q4 and outputs it to the full-color Christmas light, and is connected to the full-color RGB Christmas light through two wires, and the positive and negative electrodes of the Christmas light string are connected, so as to achieve a full-color change effect.

[0042] Preferably, the full-color Christmas light control device based on the Internet of Things of the present invention further includes a sound collection circuit 5, which is used to amplify the external sound signal collected by the microphone and transmit it to the Internet of Things circuit, so as to adjust the Christmas lights according to the sound rhythm. Figure 5As shown, the sound collection circuit 5 is composed of a socket MIC1 connected to a microphone device, an operational amplifier circuit U4A, in-phase bias resistors R8-R9, a microphone matching resistor R7, a DC blocking capacitor C13, an output isolation resistor R11, and gain setting resistors R10 and R12. The microphone connects the audio signal to one end of the microphone matching resistor R7 and one end of the DC blocking capacitor C13 through the socket MIC1. The other end of the DC blocking capacitor C13 is connected to the gain setting resistor R10 connected to the inverting input terminal (pin 2) of the operational amplifier circuit U4A and one end of the gain setting resistor R12. The other end of the gain setting resistor R12 is connected to the operational amplifier circuit U4A. The output end (pin 1) of the operational amplifier circuit U4A and one end of the output isolation resistor R11, the common end of the in-phase bias resistors R8 and R9 are connected to the in-phase input end (pin 3) of the operational amplifier circuit U4A, the other end of the bias resistor R8 and the other end of the microphone matching resistor R7 and the positive power input end (pin 8) of the operational amplifier circuit (LM358) U4A are connected to the DC low voltage V33, the other end of the bias resistor R9 and the negative power input end (pin 4) of the operational amplifier circuit U4A are grounded, and one end of the output isolation resistor R11 (node ​​ADC) is connected to the general input and output port GPIO14 (pin 22) of the Internet of Things chip U1.

[0043] Preferably, the full-color Christmas light control device based on the Internet of Things of the present invention further includes an infrared receiving circuit 6 for receiving the control command of the infrared remote controller, and transmitting the control command to the Internet of Things circuit 1 for decoding to obtain the Christmas light control signal output. Specifically, Figure 6 As shown, the infrared receiving circuit 6 is composed of an infrared receiving head connected to the socket P1, a pull-up resistor R19, a filter capacitor C14 and an isolation resistor R18. One end of the pull-up resistor R19 and one end of the isolation resistor R18 and the 3rd pin connected to the socket P1 form an infrared receiving signal IR node, and the other end of the isolation resistor R18 is connected to the general input and output port GPIO12 (21st pin) of the Internet of Things chip (BL602) U1 to form an infrared output signal IROUT node. The other end of the pull-up resistor R19 and the 4th pin of the socket P1 and one end of the filter capacitor C14 are connected to the DC low voltage V33, and the other end of the filter capacitor C14 and the 5 / 6th pin of the socket P1 are grounded.

[0044] Preferably, the full-color Christmas light control device based on the Internet of Things of the present invention further includes a key circuit 7 for providing a user with key input, and the key can be a mechanical key or a touch key; the key circuit 7 is connected to the Internet of Things circuit 1, and when the user presses the key, the key action is transmitted to the Internet of Things circuit 1 through the key. Specifically, Figure 7As shown, the key circuit 7 is composed of a key connected to the socket P1 and a key pull-up resistor R13. One end of the key pull-up resistor R13 is connected to pin 7 of the socket P1 and the general input and output port GPIO4 (pin 5) of the Internet of Things chip U1 to form a key signal KEY node, and the other end of the key pull-up resistor R13 is connected to a DC low voltage V33.

[0045] In a specific embodiment of the present invention, the power module 4 also converts the input power from the DC high voltage VCC to the DC low voltage V33 (3.3V) through the voltage stabilizing circuit 8, and provides power to the microphone circuit 5, the key circuit 7, the infrared receiving circuit 6, the Internet of Things circuit 1, and the control circuit 2. Figure 8 As shown, the voltage stabilizing circuit 8 is composed of a DC socket DC1, a voltage stabilizing chip U2, a protection diode D1, a fuse resistor FB1, feedback resistors R4-R5, a burr elimination capacitor C9, a compensation resistor R3, a compensation capacitor C8, a pull-up permission resistor R6, an energy storage inductor L1, an output filter capacitor C12, and input filter capacitors CE1-CE2, C10-C11, and is used to convert the input power supply from a DC high voltage VCC to a DC low voltage V33 (3.3V) to power the corresponding circuit. For different IoT chips, the voltage stabilizing circuit There are two forms, one is low voltage difference voltage regulator LDO, linear voltage regulator, and the other is DC to DC conversion (DC-DC); LDO is used in small current applications, and DC-DC is used in large current applications. The low voltage output V33 of the voltage regulator circuit 8 is connected to the microphone circuit 5, the key circuit 7, the infrared receiving circuit 6, the Internet of Things circuit 1, and the control circuit 2, and its DC high voltage VCC is connected to the drive circuit 3. Specifically, the DC high voltage VCC is connected to the anode of the protection diode D1 through the DC socket DC1, and the cathode of the protection diode D1 is connected to the power input positive terminal VIN (pin 5) of the voltage regulator chip U2, one end of the pull-up permission resistor R6, and one end of the input filter capacitors CE1~CE2, C10~C11 through the fuse resistor FB1. The other end of the pull-up permission resistor R6 is connected to the permission terminal EN (pin 4) of the voltage regulator chip U2, and the switch output terminal SW (pin 6) of the voltage regulator chip U2 is connected to one end of the energy storage inductor L1 and one end of the compensation capacitor C8. The other end of the compensation capacitor C8 is connected to the compensation terminal BS of the voltage regulator chip U2 through the compensation resistor R3. (pin 1), the other end of the energy storage inductor L1 is connected to one end of the output filter capacitor C12 and one end of the feedback resistor R5 and one end of the glitch elimination capacitor C9 to form a DC low voltage node V33, the other end of the feedback resistor R5 and the other end of the glitch elimination capacitor C9 are connected to one end of the feedback resistor R4 and connected to the feedback terminal FB (pin 3) of the voltage regulator chip U2, the other end of the feedback resistor R4, the negative power input terminal GND (pin 2) of the voltage regulator chip U2 and the other end of the input filter capacitors CE1~CE2 and C10~C11 are grounded.

[0046] Fig. 9This is an architecture diagram of a full-color Christmas light control device based on an Internet of Things chip in the second embodiment of the present invention. In this embodiment, a full-color Christmas light control device based on an Internet of Things chip includes:

[0047] The Internet of Things circuit 10 is used to receive the control command of the full-color Christmas lights by using the Internet of Things chip, and convert it into a Christmas light control signal and output it to the driving circuit 20;

[0048] The driving circuit 20 is connected to the positive electrode and the negative electrode of the full-color Christmas light string, and outputs the Christmas light control signal to the full-color Christmas light by superimposing the Christmas light control signal on the power supply line;

[0049] The power module 30 is used to provide power to the IoT circuit 10 and the driving circuit 20 .

[0050] In this embodiment, the Internet of Things circuit 10 integrates the functions of the control circuit in the first embodiment, thereby omitting the control circuit in the first embodiment. Fig.10 As shown, the Internet of Things circuit 1 is still composed of the Internet of Things chip U1, filter capacitors C1~C4, matching capacitors C5~C7, starting resistor R1, pull-up permission resistor R2, crystal Y1, antenna J0 and socket P1 connected to Christmas lights. The Internet of Things chip U1 integrates the function of the control chip U3 in the first embodiment, and is used to communicate with the smart terminal or wireless remote control to receive control commands. After processing the received control commands, it is converted into a Christmas light control signal XMAX_DATA and output to the drive circuit 20 through the general input and output port GPIO12 (pin 21) originally used as the infrared output signal IROUT pin, and the general input and output port GPIO20 (pin 29) is used as the infrared output signal IROUT pin connected to the infrared receiving circuit. Since other parts of the Internet of Things circuit 10 are the same as those of the Internet of Things circuit 1 in the first embodiment, they are not repeated here.

[0051] In this embodiment, since the Internet of Things chip can only provide one control signal, it is only applicable to lamp beads that only need one control signal. The driving circuit 20 of this embodiment is the same as that of the first embodiment. Figure 4 The driving circuit 20 is the same as that in FIG. 2 . Similarly, the driving circuit 20 is composed of an isolation resistor R21 and a switch device Q4, and is used to drive the Christmas light control signal XMAX_DATA output by the Internet of Things circuit and transmit it to the positive and negative electrodes of the Christmas light. Specifically, Fig.11As shown, the Christmas light control signal XMAX_DATA output by the Internet of Things circuit is connected to the switching device Q4 through the isolation resistor R21. The switching device Q4 can be an N-channel MOS tube or an NPN-type transistor. Taking the MOS tube as an example, the G pole (gate) of the switching device Q4 is connected to the Christmas light control signal XMAX_DATA output by the Internet of Things circuit through the isolation resistor R21, the source and the substrate are grounded, the drain is connected to the 2nd pin of the socket P1, and the DC high voltage VCC is connected to the 1st pin of the socket P1. That is to say, in this embodiment, the driving circuit 3 superimposes the Christmas light control signal XMAX_DATA output by the Internet of Things circuit on the power supply line through the switching tube Q4 and outputs it to the full-color Christmas lights, and is connected to the full-color RGB Christmas lights through two wires, and the positive and negative poles of the Christmas light string are connected, thereby achieving a full-color change effect.

[0052] Of course, in this embodiment, the full-color Christmas light control device may still include an infrared receiving circuit 40, a key circuit 50, a sound collection circuit 60, a voltage stabilizing circuit 70, etc. Since these modules are the same as those in the first embodiment, they will not be described in detail here.

[0053] Fig.12 The present invention is a flowchart of a full-color Christmas light control method based on an Internet of Things chip. In the present invention, a full-color Christmas light control method based on an Internet of Things chip includes the following steps:

[0054] Step S1, using the Internet of Things circuit to receive control commands for full-color Christmas lights, and converting them into Christmas light control signal outputs.

[0055] In a specific embodiment of the present invention, the full-color Christmas light is a two-wire RGB Christmas light, in which a control signal is superimposed on the positive and negative poles of the power line, and the LED light obtains the control signal after decoding, and changes according to the control signal, and uses two power supply lines to realize the control of the full-color Christmas light. Compared with traditional four-wire or three-wire RGB Christmas lights, the two-wire RGB Christmas light only needs two wires to realize full-color changes, the circuit is simple, the wiring is convenient and the cost is low.

[0056] The control command may be a control command from an intelligent terminal, such as a smart phone, which is connected to the smart phone through the Internet of Things chip to receive the control command sent by the corresponding APP of the smart phone. The control command may also be a control command sent by a wireless remote control, that is, the control command sent by the user through the wireless remote control is received by the Internet of Things chip. The wireless remote control may be a 2.4G frequency band, which uses a Bluetooth broadcast packet to send data. The Internet of Things chip may be a WIFI single-mode chip, a WIFI&BLE dual-mode chip, a Bluetooth chip, a ZIGBEE chip or other 2.4G chip, etc.

[0057] Preferably, the control command may also be an infrared control command from an infrared remote controller received by the Internet of Things circuit through an infrared receiving circuit, or a control command generated by a key signal obtained by the Internet of Things circuit through a key circuit, that is, the user may control it through an infrared remote controller or by pressing a key.

[0058] Step S2, by connecting the driving circuit to the positive and negative electrodes of the full-color Christmas light string, using the driving circuit to superimpose the Christmas light control signal on the power supply line and output it to the full-color Christmas light to achieve a full-color change effect.

[0059] In one embodiment of the present invention, the driving circuit can superimpose the Christmas light control signal on the power supply line through a switch tube Q4 and output it to the full-color Christmas light, and connect it to the full-color RGB Christmas light through two wires to connect the positive and negative poles of the Christmas light string, thereby achieving a full-color change effect.

[0060] Preferably, after step S1, the full-color Christmas light control method based on the Internet of Things chip of the present invention further includes the following steps:

[0061] A control circuit is used to process the received Christmas light control signal output by the Internet of Things circuit and then output it to the drive circuit. That is, the Christmas light control signal output by the Internet of Things circuit is converted into a drive signal by the control circuit to control the output of the drive circuit.

[0062] In the present invention, the Christmas lights have two kinds of lamp beads. One kind of lamp bead requires two control signals. Since the IoT chip U1 of the IoT circuit can only provide one control signal, the control signal of the Christmas lights output by the control circuit must be superimposed on the power supply line through the control chip U3 of the control circuit, and then output to the full-color Christmas lights through three switch tubes Q1, Q2, and Q3. The full-color RGB Christmas lights are connected through two wires to connect the positive and negative electrodes of the Christmas light string, thereby achieving a full-color change effect. The other kind of lamp bead only needs one control signal, so the control chip U3 can be omitted, and the function of the control chip U3 is integrated into the IoT chip U1. The Christmas light control signal is superimposed on the power supply line and output to the full-color Christmas lights through a switch tube Q4. Of course, for the lamp bead that only needs one control signal, the control chip U3 of the control circuit can also be used to process the Christmas light control signal, and then the Christmas light control signal is superimposed on the power supply line and output to the full-color Christmas lights through a switch tube Q4. The present invention is not limited to this.

[0063] To sum up, the present invention is a full-color Christmas light control device based on the Internet of Things and a method thereof. By utilizing an Internet of Things chip to receive control commands from smart devices and converting them into Christmas light control signals, the control signals are output to a driving circuit. The driving circuit is connected to the positive and negative electrodes of the full-color Christmas light string. The driving circuit is used to superimpose the Christmas light control signals on the power supply line and output them to the full-color Christmas lights to achieve a full-color change effect, thereby achieving the purpose of controlling two-line RGB full-color Christmas lights and using two power supply lines to control the full-color Christmas lights.

[0064] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Any person skilled in the art may modify and alter the above embodiments without violating the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be as set forth in the claims.

Claims

1. A full-color Christmas light control device based on an Internet of Things chip, comprising: An Internet of Things circuit, for receiving a control command for a full-color Christmas light using an Internet of Things chip, and converting the command into a Christmas light control signal output; A driving circuit, connected to the positive electrode and the negative electrode of the full-color Christmas light string, for superimposing the Christmas light control signal on the power supply line and outputting it to the full-color Christmas light; A power module, used to provide power to the IoT circuit and the drive circuit; The full-color Christmas light control device also includes a control circuit for receiving the Christmas light control signal output by the Internet of Things circuit and outputting it to the drive circuit after processing it according to the protocol, so as to superimpose the Christmas light control signal on the power supply line through the drive circuit; The driving circuit comprises a first switch tube (Q1), a second switch tube (Q2), a third switch tube (Q3), a first isolation resistor (R14), a second isolation resistor (R15) and a current limiting resistor (R16); the source and substrate or emitter of the first switch tube (Q1), the second switch tube (Q2) and the third switch tube (Q3) are grounded; the gate or base of the first switch tube (Q1) and the second switch tube (Q2) is connected to the second output end of the control circuit through the second isolation resistor (R15); the third switch tube (Q3) The gate or base of the first switching tube (Q1) and the second switching tube (Q2) are connected to the first output end of the control circuit through the first isolation resistor (R14); the drain or collector of the first switching tube (Q1) and the second switching tube (Q2) are connected to the second pin of the socket in the Internet of Things circuit; the drain or collector of the third switching tube (Q3) is connected to the second pin of the socket in the Internet of Things circuit through the current limiting resistor (R16); the second pin of the socket is connected to the negative electrode of the full-color Christmas light string; and the first pin of the socket is respectively connected to the power module and the positive electrode of the full-color Christmas light string.

2. A full-color Christmas light control device based on an Internet of Things chip as claimed in claim 1, characterized in that: The drive circuit comprises a fourth switch tube (Q4) and a third isolation resistor (R21); the source and substrate or emitter of the fourth switch tube (Q4) are grounded, the gate or base is connected to the control circuit or the Internet of Things circuit through the third isolation resistor (R21), and the drain or collector is connected to the output negative electrode.

3. A full-color Christmas light control device based on an Internet of Things chip as claimed in claim 1, characterized in that: The control device also includes a sound collection circuit, which is used to amplify the sound signal collected by the microphone and transmit it to the Internet of Things circuit, so as to adjust the full-color Christmas lights according to the rhythm of the sound. The sound collection circuit includes an operational amplifier circuit (U4A), a first in-phase end bias resistor (R8), a second in-phase end bias resistor (R9), a microphone matching resistor (R7), a DC blocking capacitor (C13), an output isolation resistor (R11), a first gain setting resistor (R10), and a second gain setting resistor (R12). The microphone connects the audio signal to one end of the microphone matching resistor (R7) and one end of the DC blocking capacitor (C13), and the other end of the DC blocking capacitor (C13) is connected to the inverting input of the operational amplifier circuit (U4A) through the first gain setting resistor (R10). The first non-inverting bias resistor (R8) and the second non-inverting bias resistor (R9) are connected to the non-inverting input terminal of the operational amplifier circuit (U4A) and one end of the second gain setting resistor (R12); the other end of the second gain setting resistor (R12) is connected to the output terminal of the operational amplifier circuit (U4A) and one end of the output isolation resistor (R11); the common end of the first non-inverting bias resistor (R8) and the second non-inverting bias resistor (R9) is connected to the non-inverting input terminal of the operational amplifier circuit (U4A); the other end of the first non-inverting bias resistor (R8) and the other end of the microphone matching resistor (R7) and the positive power input terminal of the operational amplifier circuit (U4A) are connected to a DC low voltage; the other end of the second non-inverting bias resistor (R9) and the negative power input terminal of the operational amplifier circuit (U4A) are grounded; and one end of the output isolation resistor (R11) is connected to the Internet of Things chip (U1).

4. A full-color Christmas light control device based on an Internet of Things chip as claimed in claim 1, characterized in that: The control device also includes an infrared receiving circuit for receiving a control command from an infrared remote controller and transmitting the control command to the Internet of Things circuit for decoding to obtain the Christmas light control signal output.

5. A full-color Christmas light control device based on an Internet of Things chip as claimed in claim 1, characterized in that: The control device also includes a key circuit, which is connected to the Internet of Things circuit to receive the user's key actions and transmit them to the Internet of Things circuit through the key.

6. A full-color Christmas light control device based on an Internet of Things chip as claimed in claim 1, characterized in that: The control command includes a control command from an intelligent terminal or a wireless remote controller.

7. A full-color Christmas light control device based on an Internet of Things chip as claimed in any one of claims 1, 3, 4, and 5, characterized in that: The control device also includes a voltage stabilizing circuit to convert the input DC high voltage VCC into a DC low voltage and provide it to the sound collection circuit, key circuit, infrared receiving circuit, Internet of Things circuit, and control circuit, and at the same time provide the input DC high voltage to the drive circuit.

8. A full-color Christmas light control method based on an Internet of Things chip, the method being applied to the device according to any one of claims 1 to 7, comprising the following steps: Step S1, using the Internet of Things chip to receive control commands for full-color Christmas lights, and converting them into Christmas light control signal serial output; Step S2, by connecting the driving circuit to the positive and negative electrodes of the full-color Christmas light string, using the driving circuit to superimpose the Christmas light control signal on the power supply line and output it to the full-color Christmas light to achieve a full-color change effect.