A lamp state adjustment system
By designing a lamp state adjustment system containing remote control circuit and control circuit, using wireless signals and MCU processing chips to realize WiFi and remote control adjustment, the problem that existing WiFi smart lamps cannot be controlled when the network is not smooth is solved, and the convenience of use is improved.
Patent Information
- Application Number
- CN201910735550.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-09
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2039-08-09
AI Technical Summary
The existing WiFi smart lamps cannot be controlled and adjusted when the mobile phone is not around or the network is not smooth, and it is inconvenient for the elderly and children to use it. The principle of network distribution depends on the number of switches to detect, and the accuracy is poor, and there are many cases where the operation is unsuccessful.
Design a lighting condition adjustment system, including remote control circuit and control circuit, uses wireless signal transmission and reception circuit, MCU1 and MCU2 processing chips, WiFi module circuit and storage circuit, to realize the functions of WiFi adjustment and remote control adjustment, avoiding the dependence on the number of switches detection.
It realizes the function of WiFi adjustment and remote control to adjust the state of the lamp without changing the circuit function of the original WiFi module, solves the control problem when the mobile phone is not around or the network is not smooth, and improves the convenience of use for the elderly and children.
Smart Images

Figure CN110349398B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lamp devices, and in particular to a lamp state adjustment system. Background Art
[0002] With the smart phone and the application of APP, smart lamps in smart furniture have also joined the Internet of Things. Most WiFi smart controlled lamps on the market cannot be used without mobile phones and networks. When the mobile phone is not around and the network is not smooth, the lamps cannot be controlled and adjusted. More importantly, due to the fact that the lamps are installed in places such as the ceiling and the limitations of the lamp structure, the factory reset and network distribution are all operated by detecting the number of switches within a certain period of time. However, due to the accuracy of the number of switches and the principle of the network distribution itself, the operation may fail. In practice, the elderly and children will encounter inconveniences in using mobile phone APP to adjust the operation and use this WiFi smart lamp. Summary of the invention
[0003] The purpose of the present invention is to provide a lamp state adjustment system, which can simultaneously realize WiFi adjustment and remote control adjustment of the lamp state without changing the original WiFi module circuit function.
[0004] To achieve this object, the present invention adopts the following technical solutions:
[0005] A lamp state adjustment system includes a remote control circuit and a control circuit; the remote control circuit includes a key circuit, an MCU1 circuit and a wireless signal transmission circuit;
[0006] The control circuit includes a wireless signal receiving circuit, an MCU2 circuit, a WiFi module circuit and a storage circuit.
[0007] The button circuit is electrically connected to the MCU1 circuit, the MCU1 circuit is electrically connected to the wireless signal transmitting circuit, the wireless signal transmitting circuit is communicatively connected to the wireless signal receiving circuit, the wireless signal receiving circuit is also electrically connected to the MCU2 circuit, and the WiFi module circuit and the storage circuit are electrically connected to the MCU2 circuit respectively.
[0008] Further, the key circuit includes a key K1, a key K02, a key K3, a key K4, a key K5, a key K6, a key K7, a key K8, a key K9, a key K10, a key K11, a key K12, a key K13 and a key K14;
[0009] One end of the button K1, one end of the button K02, one end of the button K3 and one end of the button K4 are electrically connected to the DRV1 end of the MCU1 circuit respectively;
[0010] One end of the button K5, one end of the button K6, one end of the button K7 and one end of the button K8 are electrically connected to the DRV2 end of the MCU1 circuit respectively;
[0011] One end of the button K9, one end of the button K10, one end of the button K11 and one end of the button K12 are electrically connected to the DRV3 end of the MCU1 circuit respectively;
[0012] One end of the button K13 and one end of the button K14 are electrically connected to the DRV4 end of the MCU1 circuit respectively;
[0013] The other end of the button K1, the other end of the button K5, the other end of the button K9 and the other end of the button K13 are electrically connected to the RD1 end of the MCU1 circuit respectively;
[0014] The other end of the button K02, the other end of the button K6, the other end of the button K10 and the other end of the button K14 are electrically connected to the RD2 end of the MCU1 circuit respectively;
[0015] The other end of the button K3, the other end of the button K7 and the other end of the button K11 are electrically connected to the RD3 end of the MCU1 circuit respectively;
[0016] The other end of the button K4, the other end of the button K9 and the other end of the button K12 are electrically connected to the RD4 end of the MCU1 circuit respectively.
[0017] Furthermore, the MCU1 circuit includes a processing chip IC1, a resistor R06 and a capacitor C11.
[0018] The VDD pin of the processing chip IC1 is electrically connected to the 3V terminal;
[0019] One end of the resistor R06 is electrically connected to the P63 pin of the processing chip IC1, and the other end of the resistor R06 is electrically connected to the 3V terminal;
[0020] The VSS pin of the processing chip IC1 is grounded;
[0021] One end of the capacitor C11 is electrically connected to the 3V terminal, and the other end of the capacitor C11 is grounded.
[0022] Furthermore, it also includes a storage IC3, a resistor R05, a capacitor C04, a resistor R01 and a light emitting diode LED1;
[0023] The SCL pin of the storage IC3 is electrically connected to the P61 pin of the processing chip IC1;
[0024] The GND pin of the storage IC3 is grounded;
[0025] The SDA pin of the storage IC3 is electrically connected to the P62 pin of the processing chip IC1;
[0026] One end of the resistor R05 is electrically connected to the SDA pin of the storage IC3, and the other end of the resistor R05 is electrically connected to the 3V terminal;
[0027] One end of the capacitor C04 is electrically connected to the VCC pin of the storage IC3, and the other end of the capacitor C04 is grounded;
[0028] The WP pin of the storage IC3 is grounded;
[0029] One end of the resistor R01 is electrically connected to the P67 pin of the processing chip IC1;
[0030] The other end of the resistor R01 is electrically connected to one end of the light emitting diode LED1 , and the other end of the light emitting diode LED1 is grounded.
[0031] Further, the wireless signal transmission circuit includes a crystal oscillator X1, a capacitor C01, a capacitor C2, a capacitor C03, a resistor R02, a resistor R03, a transistor Q1 and a transistor Q2;
[0032] One end of the resistor R03 is electrically connected to the P50 pin of the processing chip IC1, and the other end of the resistor R03 is electrically connected to the base of the transistor Q1;
[0033] The emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is electrically connected to the emitter of the transistor Q2;
[0034] One end of the capacitor C2 and one end of the capacitor C03 are electrically connected to the collector of the transistor Q1 respectively;
[0035] The other end of the capacitor C2 and the other end of the capacitor C03 are electrically connected to the collector of the transistor Q2 respectively;
[0036] One end of the resistor R02 is electrically connected to the collector of the transistor Q2, and the other end of the resistor R02 is electrically connected to the base of the transistor Q2;
[0037] One end of the crystal oscillator X1 is electrically connected to the other end of the resistor R02;
[0038] The other end of the crystal oscillator X1 is electrically connected to the 3V terminal;
[0039] One end of the capacitor C01 is electrically connected to the 3V terminal.
[0040] Further, the MCU2 circuit includes a processing chip U6, a capacitor C13, a capacitor C14, a capacitor C15 and a crystal oscillator X3;
[0041] One end of the capacitor C14 and one end of the capacitor C15 are grounded respectively;
[0042] The other end of the capacitor C14 and one end of the crystal oscillator X3 are electrically connected to the PA7 pin of the processing chip U6;
[0043] The other end of the capacitor C15 and the other end of the crystal oscillator X3 are electrically connected to the PA6 pin of the processing chip U6;
[0044] The VDD terminal of the processing chip U6 and one end of the capacitor C13 are electrically connected to the 5V terminal;
[0045] The GND terminal of the processing chip U6 and the other end of the capacitor C13 are grounded.
[0046] Further, the storage circuit includes a storage U5, a capacitor C1, a resistor R2 and a resistor R4;
[0047] The A0 pin, the A1 pin, the A2 pin, the GND pin of the storage U5 and one end of the capacitor C1 are grounded;
[0048] The VCC pin of the storage U5, the other end of the capacitor C1, one end of the resistor R2, and one end of the resistor R4 are electrically connected to the 5V terminal;
[0049] The WP pin of the storage U5 is grounded;
[0050] The SCL pin of the storage U5 and the other end of the resistor R2 are electrically connected to the PA3 pin of the processing chip U6;
[0051] The SDA pin of the storage device U5 and the other end of the resistor R4 are electrically connected to the PB3 pin of the processing chip U6.
[0052] Further, the WiFi module circuit includes a chip U2, a resistor R1, a resistor R3, a resistor R5, a resistor R6, a resistor R7, a resistor R12, a capacitor C3, a capacitor C4 and a reset button K2;
[0053] One end of the resistor R1, one end of the resistor R3, one end of the capacitor C4, one end of the capacitor C3 and the VCC end of the chip U2 are electrically connected to the 3.3V end;
[0054] The other end of the resistor R1 is electrically connected to the EN pin of the chip U2;
[0055] The other end of the resistor R3 is connected to one end of the light emitting diode LED2, and the other end of the light emitting diode LED2 is electrically connected to the IO14 pin of the chip U2;
[0056] The other end of the capacitor C4 and the other end of the capacitor C3 are grounded;
[0057] The GND pin of the chip U2, one end of the resistor R6 and one end of the reset button K2 are grounded;
[0058] The other end of the resistor R6 is electrically connected to the IO15 pin of the chip U2;
[0059] One end of the resistor R5, the other end of the reset button K2 and the PB1 pin of the processing chip U6 are electrically connected to the IO0 pin of the chip U2;
[0060] The other end of the resistor R5 is electrically connected to the 3.3V terminal;
[0061] One end of the resistor R12 is electrically connected to the TXD pin of the chip U2;
[0062] The other end of the resistor R12 is electrically connected to the PA0 pin of the processing chip U6;
[0063] One end of the resistor R7 is electrically connected to the RXD pin of the chip U2;
[0064] The other end of the resistor R7 is electrically connected to the PA4 pin of the processing chip U6.
[0065] According to the above content, the present invention proposes a lamp state adjustment system, which can simultaneously realize WiFi adjustment and remote control adjustment of the lamp state without changing the original WiFi module circuit function. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a principle block diagram of one embodiment of the present invention;
[0067] Figure 2 is a schematic diagram of a key circuit of one embodiment of the present invention;
[0068] Figure 3 is a schematic diagram of an MCU1 circuit according to one embodiment of the present invention;
[0069] Figure 4 is a schematic diagram of a storage IC3 according to one embodiment of the present invention;
[0070] Figure 5 is a schematic diagram of a wireless signal transmitting circuit according to one embodiment of the present invention;
[0071] Figure 6 is a schematic diagram of an MCU2 circuit according to one embodiment of the present invention;
[0072] Figure 7 is a schematic diagram of a storage circuit according to one embodiment of the present invention;
[0073] Figure 8 is a partial schematic diagram of a WiFi module circuit according to one embodiment of the present invention;
[0074] Fig. 9 It is a partial schematic diagram of a WiFi module circuit according to one embodiment of the present invention.
[0075] in:
[0076] Remote control circuit 1, key circuit 11, key K1, key K02, key K3, key K4, key K5, key K6, key K7, key K8, key K9, key K10, key K11, key K12, key K13, key K14, MCU1 circuit 12, processing chip IC1, resistor R06, capacitor C11, storage IC3, resistor R05, capacitor C04, resistor R01, light emitting diode LED1, wireless signal transmission circuit 13, crystal oscillator X1, capacitor C01, capacitor C2, capacitor C03, resistor R02, resistor R03, transistor Q1 and transistor Q2, control circuit 2, wireless signal receiving circuit 21, MCU2 circuit 22, processing chip U6, capacitor C13, capacitor C14, capacitor C15, crystal oscillator X3, WiFi module circuit 23, chip U2, resistor R1, resistor R3, resistor R5, resistor R6, resistor R7, resistor R12, capacitor C3, capacitor C4, reset button K2 storage circuit 24, storage U5, capacitor C1, resistor R2 and resistor R4. DETAILED DESCRIPTION
[0077] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0078] like Figure 1-9 As shown, a lamp state adjustment system includes a remote control circuit 1 and a control circuit 2; the remote control circuit 1 includes a key circuit 11, an MCU1 circuit 12 and a wireless signal transmission circuit 13;
[0079] The control circuit 2 includes a wireless signal receiving circuit 21, an MCU2 circuit 22, a WiFi module circuit 23 and a storage circuit 24;
[0080] The button circuit 11 is electrically connected to the MCU1 circuit 12, the MCU1 circuit 12 is electrically connected to the wireless signal transmitting circuit 13, the wireless signal transmitting circuit 13 is communicatively connected to the wireless signal receiving circuit 21, the wireless signal receiving circuit 21 is also electrically connected to the MCU2 circuit 22, and the WiFi module circuit 23 and the storage circuit 24 are electrically connected to the MCU2 circuit 22 respectively.
[0081] The wireless signal transmitting circuit 13 of this embodiment transmits 2.4G signals, and the wireless signal receiving circuit 21 receives 2.4G signals; in other embodiments, the wireless signal transmitting circuit 13 can transmit 315M signals, 433M signals, infrared signals, etc.; in this embodiment, the remote control circuit 1 is arranged in the remote control, and the control circuit 2 is arranged in the lamp.
[0082] The WiFi module circuit 23 receives the signal sent from the mobile phone APP. The adjustment signal can be an adjustment signal for adjusting the color temperature of the lamp, adjusting the brightness of the lamp, or adjusting the on / off state of the lamp. The MCU2 circuit 22 receives the adjustment signal sent from the mobile phone APP and outputs the adjustment signal to the lamp to adjust the state of the lamp.
[0083] When the mobile phone is not with the user, the state of the lamp can be adjusted through the remote control circuit 1, and the signal for adjusting the state of the lamp is sent to the MCU1 circuit 12 through the key circuit 11. The MCU1 circuit 12 processes the adjustment signal and outputs it to the wireless signal transmitting circuit 13. The wireless signal transmitting circuit 13 sends the signal processed by the MCU1 circuit 12 to the wireless signal receiving circuit 21. After receiving the signal, the wireless signal receiving circuit 21 sends it to the MCU2 circuit 22. The MCU2 circuit 22 outputs the adjustment signal to the lamp to adjust the state of the lamp.
[0084] In order to prevent the signal received by the WiFi module circuit 23 and the signal received by the wireless signal receiving circuit 21 from interfering with each other, the signal module parts in the circuit are independent of each other.
[0085] In order to control synchronization, the communication data I / O port of the processing chip U6 in the MCU2 circuit 22 is used to directly communicate and read the signal with the communication data I / O port of the chip U2 in the WiFi module circuit 23. When the 2.4G remote control signal and the WiFi control signal are received, the signal received by the MCU2 circuit 22 is prioritized through identification, thereby realizing the function of synchronous output signal control. When combined with the storage circuit 24, the memory function can be realized to remember the last state.
[0086] Based on this method, the WiFi adjustment and the remote control adjustment of the lamp status can be realized at the same time without changing the original function of the WiFi module circuit 23.
[0087] Further, the key circuit 11 includes a key K1, a key K02, a key K3, a key K4, a key K5, a key K6, a key K7, a key K8, a key K9, a key K10, a key K11, a key K12, a key K13 and a key K14;
[0088] One end of the button K1, one end of the button K02, one end of the button K3 and one end of the button K4 are electrically connected to the DRV1 end of the MCU1 circuit 12 respectively;
[0089] One end of the button K5, one end of the button K6, one end of the button K7 and one end of the button K8 are electrically connected to the DRV2 end of the MCU1 circuit 12 respectively;
[0090] One end of the button K9, one end of the button K10, one end of the button K11 and one end of the button K12 are electrically connected to the DRV3 end of the MCU1 circuit 12 respectively;
[0091] One end of the button K13 and one end of the button K14 are electrically connected to the DRV4 end of the MCU1 circuit respectively;
[0092] The other end of the button K1, the other end of the button K5, the other end of the button K9 and the other end of the button K13 are electrically connected to the RD1 end of the MCU1 circuit respectively;
[0093] The other end of the button K02, the other end of the button K6, the other end of the button K10 and the other end of the button K14 are electrically connected to the RD2 end of the MCU1 circuit 12 respectively;
[0094] The other end of the button K3, the other end of the button K7 and the other end of the button K11 are electrically connected to the RD3 end of the MCU1 circuit 12 respectively;
[0095] The other end of the button K4 , the other end of the button K9 and the other end of the button K12 are electrically connected to the RD4 end of the MCU1 circuit 12 , respectively.
[0096] Some buttons support long press and short press, and the code values they generate are also different.
[0097] Further, the MCU1 circuit 12 includes a processing chip IC1, a resistor R06 and a capacitor C11; wherein the model of the processing chip IC1 is EM78P173N;
[0098] The VDD pin of the processing chip IC1 is electrically connected to the 3V terminal;
[0099] One end of the resistor R06 is electrically connected to the P63 pin of the processing chip IC1, and the other end of the resistor R06 is electrically connected to the 3V terminal;
[0100] The VSS pin of the processing chip IC1 is grounded;
[0101] One end of the capacitor C11 is electrically connected to the 3V terminal, and the other end of the capacitor C11 is grounded.
[0102] The processing chip IC1 will write the corresponding program in advance according to the preset button functions of the remote control circuit 1.
[0103] Furthermore, it also includes a storage IC3, a resistor R05, a capacitor C04, a resistor R01 and a light emitting diode LED1;
[0104] The SCL pin of the storage IC3 is electrically connected to the P61 pin of the processing chip IC1;
[0105] The GND pin of the storage IC3 is grounded;
[0106] The SDA pin of the storage IC3 is electrically connected to the P62 pin of the processing chip IC1;
[0107] One end of the resistor R05 is electrically connected to the SDA pin of the storage IC3, and the other end of the resistor R05 is electrically connected to the 3V terminal;
[0108] One end of the capacitor C04 is electrically connected to the VCC pin of the storage IC3, and the other end of the capacitor C04 is grounded;
[0109] The WP pin of the storage IC3 is grounded;
[0110] One end of the resistor R01 is electrically connected to the P67 pin of the processing chip IC1;
[0111] The other end of the resistor R01 is electrically connected to one end of the light emitting diode LED1 , and the other end of the light emitting diode LED1 is grounded.
[0112] The purpose of the storage IC3 is to allow the remote control to store the wireless receiving module matched with the last time after the battery is removed. The resistor R1 and the light-emitting diode LED1 form an indication circuit. The purpose is to light up the indicator light when the remote control button is pressed, and also to indicate the current status of the remote control. For example, when the remote control button is pressed, the indicator light is on. At this time, the I / O of the processing chip IC1 detects that the button has been pressed, and the written program generates the corresponding code value signal and transmits the signal through the transmitting circuit.
[0113] Further, the wireless signal transmitting circuit 13 includes a crystal oscillator X1, a capacitor C01, a capacitor C2, a capacitor C03, a resistor R02, a resistor R03, a transistor Q1 and a transistor Q2;
[0114] One end of the resistor R03 is electrically connected to the P50 pin of the processing chip IC1, and the other end of the resistor R03 is electrically connected to the base of the transistor Q1;
[0115] The emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is electrically connected to the emitter of the transistor Q2;
[0116] One end of the capacitor C2 and one end of the capacitor C03 are electrically connected to the collector of the transistor Q1 respectively;
[0117] The other end of the capacitor C2 and the other end of the capacitor C03 are electrically connected to the collector of the transistor Q2 respectively;
[0118] One end of the resistor R02 is electrically connected to the collector of the transistor Q2, and the other end of the resistor R02 is electrically connected to the base of the transistor Q2;
[0119] One end of the crystal oscillator X1 is electrically connected to the other end of the resistor R02;
[0120] The other end of the crystal oscillator X1 is electrically connected to the 3V terminal;
[0121] One end of the capacitor C01 is electrically connected to the 3V terminal;
[0122] The wireless signal receiving circuit 21 is an existing radio frequency module, so its specific circuit structure is not described in detail in this application;
[0123] Further, the MCU2 circuit 22 includes a processing chip U6, a capacitor C13, a capacitor C14, a capacitor C15 and a crystal oscillator X3;
[0124] One end of the capacitor C14 and one end of the capacitor C15 are grounded respectively;
[0125] The other end of the capacitor C14 and one end of the crystal oscillator X3 are electrically connected to the PA7 pin of the processing chip U6;
[0126] The other end of the capacitor C15 and the other end of the crystal oscillator X3 are electrically connected to the PA6 pin of the processing chip U6;
[0127] The VDD terminal of the processing chip U6 and one end of the capacitor C13 are electrically connected to the 5V terminal;
[0128] The GND terminal of the processing chip U6 and the other end of the capacitor C13 are grounded.
[0129] Further, the storage circuit 24 includes a storage U5, a capacitor C1, a resistor R2 and a resistor R4;
[0130] The A0 pin, the A1 pin, the A2 pin, the GND pin of the storage U5 and one end of the capacitor C1 are grounded;
[0131] The VCC pin of the storage U5, the other end of the capacitor C1, one end of the resistor R2, and one end of the resistor R4 are electrically connected to the 5V terminal;
[0132] The WP pin of the storage U5 is grounded;
[0133] The SCL pin of the storage U5 and the other end of the resistor R2 are electrically connected to the PA3 pin of the processing chip U6;
[0134] The SDA pin of the storage device U5 and the other end of the resistor R4 are electrically connected to the PB3 pin of the processing chip U6.
[0135] Further, the WiFi module circuit 23 includes a chip U2, a resistor R1, a resistor R3, a resistor R5, a resistor R6, a resistor R7, a resistor R12, a capacitor C3, a capacitor C4 and a reset button K2, wherein the model of the chip U2 is TYWE3S;
[0136] One end of the resistor R1, one end of the resistor R3, one end of the capacitor C4, one end of the capacitor C3 and the VCC end of the chip U2 are electrically connected to the 3.3V end;
[0137] The other end of the resistor R1 is electrically connected to the EN pin of the chip U2;
[0138] The other end of the resistor R3 is connected to one end of the light emitting diode LED2, and the other end of the light emitting diode LED2 is electrically connected to the IO14 pin of the chip U2;
[0139] The other end of the capacitor C4 and the other end of the capacitor C3 are grounded;
[0140] The GND pin of the chip U2, one end of the resistor R6 and one end of the reset button K2 are grounded;
[0141] The other end of the resistor R6 is electrically connected to the IO15 pin of the chip U2;
[0142] One end of the resistor R5, the other end of the reset button K2 and the PB1 pin of the processing chip U6 are electrically connected to the IO0 pin of the chip U2;
[0143] The other end of the resistor R5 is electrically connected to the 3.3V terminal;
[0144] One end of the resistor R12 is electrically connected to the TXD pin of the chip U2;
[0145] The other end of the resistor R12 is electrically connected to the PA0 pin of the processing chip U6;
[0146] One end of the resistor R7 is electrically connected to the RXD pin of the chip U2;
[0147] The other end of the resistor R7 is electrically connected to the PA4 pin of the processing chip U6.
[0148] The wireless signal receiving circuit 21 is used to receive the matching wireless signal, and the WiFi module circuit 23 can control the corresponding product after receiving the control signal generated by the matching mobile phone APP. The product in this embodiment is a lamp.
[0149] The processing chip U6 will preset a program to be responsible for communication and output signals. Its data I / O port is connected to the data I / O port of the chip U2, communicates with each other, and reads data. The memory U5 is used to record the last state and memorize some pairing information and data after turning off the power. The resistor R3 and the light-emitting diode LED2 form an indication circuit for the operation of U2. This circuit can also be omitted to save power consumption. The button K02 is the hardware reset of the circuit and can also be ignored. In order to ensure the privacy of the remote control, the remote control circuit 1 and the control circuit 2 need to be paired before the first use. If the remote control is not needed, the pairing can be canceled. For example, the wireless signal receiving circuit 21 receives a matching control signal and transmits it to the processing chip U6. The processing chip U6 will be connected to the data I / O port of the chip U2 at this time, read the current state, update the control state information of the APP in its mobile phone at this time, and output the corresponding control signal at the same time. In this way, the misoperation of the signal is avoided, thereby realizing the synchronization function of the remote control operation and the mobile phone APP operation.
[0150] When the remote control transmits the network configuration signal through the wireless signal transmitting circuit 13, the wireless signal receiving circuit 21 receives the network configuration signal and processes it through the MCU2 circuit 22, and puts the WiFi module circuit 23 into the network configuration state, so that the network configuration can be quickly achieved without detecting the number of external switches.
[0151] The technical principle of the present invention is described above in conjunction with specific embodiments. These descriptions are only for explaining the principle of the present invention and cannot be interpreted as limiting the scope of protection of the present invention in any way. Based on the explanations herein, those skilled in the art can associate other specific implementations of the present invention without paying creative labor, and these methods will fall within the scope of protection of the present invention.
Claims
1. A lamp state adjustment system, characterized in that: It includes a remote control circuit and a control circuit; the remote control circuit includes a key circuit, an MCU1 circuit and a wireless signal transmission circuit; The control circuit includes a wireless signal receiving circuit, an MCU2 circuit, a WiFi module circuit and a storage circuit. The key circuit is electrically connected to the MCU1 circuit, the MCU1 circuit is electrically connected to the wireless signal transmitting circuit, the wireless signal transmitting circuit is communicatively connected to the wireless signal receiving circuit, the wireless signal receiving circuit is also electrically connected to the MCU2 circuit, and the WiFi module circuit and the storage circuit are electrically connected to the MCU2 circuit respectively; The key circuit includes a key K1, a key K02, a key K3, a key K4, a key K5, a key K6, a key K7, a key K8, a key K9, a key K10, a key K11, a key K12, a key K13 and a key K14; One end of the button K1, one end of the button K02, one end of the button K3 and one end of the button K4 are electrically connected to the DRV1 end of the MCU1 circuit respectively; One end of the button K5, one end of the button K6, one end of the button K7 and one end of the button K8 are electrically connected to the DRV2 end of the MCU1 circuit respectively; One end of the button K9, one end of the button K10, one end of the button K11 and one end of the button K12 are electrically connected to the DRV3 end of the MCU1 circuit respectively; One end of the button K13 and one end of the button K14 are electrically connected to the DRV4 end of the MCU1 circuit respectively; the other end of the button K1, the other end of the button K5, the other end of the button K9 and the other end of the button K13 are electrically connected to the RD1 end of the MCU1 circuit respectively; The other end of the button K02, the other end of the button K6, the other end of the button K10 and the other end of the button K14 are electrically connected to the RD2 end of the MCU1 circuit respectively; The other end of the button K3, the other end of the button K7 and the other end of the button K11 are electrically connected to the RD3 end of the MCU1 circuit respectively; The other end of the button K4, the other end of the button K8 and the other end of the button K12 are electrically connected to the RD4 end of the MCU1 circuit respectively; The MCU1 circuit includes a processing chip IC1, a resistor R06 and a capacitor C11; the VDD pin of the processing chip IC1 is electrically connected to the 3V terminal; One end of the resistor R06 is electrically connected to the P63 pin of the processing chip IC1, and the other end of the resistor R06 is electrically connected to the 3V terminal; The VSS pin of the processing chip IC1 is grounded; One end of the capacitor C11 is electrically connected to the 3V terminal, and the other end of the capacitor C11 is grounded; it also includes a storage IC3, a resistor R05, a capacitor C04, a resistor R01 and a light emitting diode LED1; the SCL pin of the storage IC3 is electrically connected to the P61 pin of the processing chip IC1; the GND pin of the storage IC3 is grounded; The SDA pin of the storage IC3 is electrically connected to the P62 pin of the processing chip IC1; One end of the resistor R05 is electrically connected to the SDA pin of the storage IC3, and the other end of the resistor R05 is electrically connected to the 3V terminal; One end of the capacitor C04 is electrically connected to the VCC pin of the storage IC3, and the other end of the capacitor C04 is grounded; The WP pin of the storage IC3 is grounded; One end of the resistor R01 is electrically connected to the P67 pin of the processing chip IC1; the other end of the resistor R01 is electrically connected to one end of the light emitting diode LED1, and the other end of the light emitting diode LED1 is grounded; The wireless signal transmission circuit includes a crystal oscillator X1, a capacitor C01, a capacitor C2, a capacitor C03, a resistor R02, a resistor R03, a transistor Q1 and a transistor Q2; One end of the resistor R03 is electrically connected to the P50 pin of the processing chip IC1, and the other end of the resistor R03 is electrically connected to the base of the transistor Q1; The emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is electrically connected to the emitter of the transistor Q2; One end of the capacitor C2 and one end of the capacitor C03 are electrically connected to the collector of the transistor Q1 respectively; The other end of the capacitor C2 and the other end of the capacitor C03 are electrically connected to the collector of the transistor Q2 respectively; One end of the resistor R02 is electrically connected to the collector of the transistor Q2, and the other end of the resistor R02 is electrically connected to the base of the transistor Q2; One end of the crystal oscillator X1 is electrically connected to the other end of the resistor R02; The other end of the crystal oscillator X1 is electrically connected to the 3V terminal; One end of the capacitor C01 is electrically connected to the 3V terminal, and the other end of the capacitor C01 is electrically connected to TX1. The MCU2 circuit includes a processing chip U6, a capacitor C13, a capacitor C14, a capacitor C15 and a crystal oscillator X3; one end of the capacitor C14 and one end of the capacitor C15 are grounded respectively; The other end of the capacitor C14 and one end of the crystal oscillator X3 are electrically connected to the PA7 pin of the processing chip U6; the other end of the capacitor C15 and the other end of the crystal oscillator X3 are electrically connected to the PA6 pin of the processing chip U6; The VDD terminal of the processing chip U6 and one end of the capacitor C13 are electrically connected to the 5V terminal; the GND terminal of the processing chip U6 and the other end of the capacitor C13 are grounded; the storage circuit includes a storage device U5, a capacitor C1, a resistor R2 and a resistor R4; the A0 pin, the A1 pin, the A2 pin, the GND pin of the storage device U5 and one end of the capacitor C1 are grounded; The VCC pin of the storage U5, the other end of the capacitor C1, one end of the resistor R2, and one end of the resistor R4 are electrically connected to the 5V terminal; The WP pin of the storage U5 is grounded; The SCL pin of the storage device U5 and the other end of the resistor R2 are electrically connected to the PA3 pin of the processing chip U6; The SDA pin of the storage device U5 and the other end of the resistor R4 are electrically connected to the PB3 pin of the processing chip U6; The WiFi module circuit includes a chip U2, a resistor R1, a resistor R3, a resistor R5, a resistor R6, a resistor R7, a resistor R12, a capacitor C3, a capacitor C4 and a reset button K2; One end of the resistor R1, one end of the resistor R3, one end of the capacitor C4, one end of the capacitor C3 and the VCC end of the chip U2 are electrically connected to the 3.3V end; The other end of the resistor R1 is electrically connected to the EN pin of the chip U2; The other end of the resistor R3 is connected to one end of the light emitting diode LED2, and the other end of the light emitting diode LED2 is electrically connected to the I014 pin of the chip U2; The other end of the capacitor C4 and the other end of the capacitor C3 are grounded; The GND pin of the chip U2, one end of the resistor R6 and one end of the reset key K2 are grounded; the other end of the resistor R6 is electrically connected to the I015 pin of the chip U2; One end of the resistor R5, the other end of the reset button K2 and the PB1 pin of the processing chip U6 are electrically connected to the I00 pin of the chip U2; The other end of the resistor R5 is electrically connected to the 3.3V terminal; One end of the resistor R12 is electrically connected to the TXD pin of the chip U2; the other end of the resistor R12 is electrically connected to the PA0 pin of the processing chip U6; One end of the resistor R7 is electrically connected to the RXD pin of the chip U2; The other end of the resistor R7 is electrically connected to the PA4 pin of the processing chip U6. The model of chip U2 is TYWE3S, and the model of processing chip IC1 is EM78P173N.
Citation Information
Patent Citations
Lamp state adjusting system
CN210574263U