Networked lamp control hardware circuit controlled by environment
By designing the STM32 chip and multi-module networked light control hardware circuit, the problems of dim light and automatic control failure in the corridor lighting system are solved, remote network control is realized, and the safety and convenience of corridor lighting are improved.
Patent Information
- Application Number
- CN202420253384.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2034-02-02
AI Technical Summary
The existing corridor lighting system has problems of dim lights and automatic control failures, which lead to travel troubles and safety hazards for residents, and inconvenient management.
A networked light control hardware circuit including STM32 chip, photosensitive module, infrared module, wireless module and relay module is designed. Signal processing and control are performed through the STM32 chip to realize automatic adjustment of light and remote network control.
It effectively solves the problems of dim lights in the corridor and automatic control failures, realizes remote control of the lighting, and improves the safety and convenience of corridor lighting.
Smart Images

Figure CN222030108U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of embedded technology, in particular to a lighting control hardware circuit which is networked and controlled by the environment. Background Art
[0002] Corridor lighting is an important part of public places and is crucial to the safety and convenience of residents' lives. However, there are still some problems with corridor lighting;
[0003] 1. The lighting in some corridors is dim and the lighting effect is poor;
[0004] 2. Most of the corridor lighting can only be automatically controlled by infrared sensing. When the lighting fails, the light will be on or off all the time.
[0005] The above problems not only bring troubles and safety hazards to residents' travel, but also bring inconvenience to managers in supervising the corridor lighting. Utility Model Content
[0006] The purpose of the utility model is to provide a lighting control hardware circuit which is networked and controlled by the environment, so as to solve the problems raised in the above-mentioned background technology.
[0007] In order to solve the above technical problems, the utility model provides the following technical solutions:
[0008] A networked and environment-controlled lighting control hardware circuit comprises a power input module, a main control module, a photosensitive module, an infrared module, a wireless module, a relay module and an output module; the main control module comprises an STM32 chip circuit, a power circuit, a filter circuit, a reset circuit, a photosensitive module circuit, an infrared module circuit and a burning port circuit; the wireless module comprises a WIFI circuit; and the relay module comprises a relay circuit;
[0009] The power input module is connected to the power circuit;
[0010] The photosensitive module is connected to the photosensitive module circuit;
[0011] The infrared module is connected to the infrared module circuit;
[0012] The output module is connected to the relay circuit;
[0013] The power supply circuit, filter circuit, reset circuit, photosensor module circuit, infrared module circuit and burning port circuit are all connected to the STM32 chip circuit.
[0014] According to the above technical solution, the STM32 chip circuit includes a chip U1, a crystal oscillator X1, a capacitor C1, a capacitor C1 and a resistor R3, and the chip U1 includes pin 1, pin 5, pin 6, pin 23, pin 8, pin 9, pin 11, pin 18, pin 23, pin 24, pin 29, pin 30, pin 31, pin 34, pin 35, pin 36, pin 37, pin 44, pin 47 and pin 48;
[0015] Pin 1, pin 9, pin 24, pin 36 and pin 48 of the chip U1 are all electrically connected to the VCC3.3 terminal;
[0016] The pin 5 and the first end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C2;
[0017] The pin 6 and the second end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C1;
[0018] The second end of the capacitor C1, the second end of the capacitor C2, the pin 8 and the pin 23 are all electrically connected to the ground line;
[0019] The pin 35, the first end of the resistor R3 and the pin 47 are all connected to the ground line;
[0020] The second end of the resistor R3 is electrically connected to the pin 44;
[0021] The power supply circuit is electrically connected to the VCC3.3 terminal;
[0022] The relay circuit is electrically connected to pin 29 in the STM32 chip circuit;
[0023] The filter circuit is electrically connected to the VCC3.3 terminal;
[0024] The reset circuit is electrically connected to pin 7 in the STM32 chip circuit;
[0025] The WIFI circuit is electrically connected to pins 30 and 31 in the STM32 chip circuit;
[0026] The photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit;
[0027] The infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit;
[0028] The programming port circuit is electrically connected to pins 34 and 37 in the STM32 chip circuit;
[0029] The STM32 series microcontrollers provide high-performance processing capabilities and support a variety of low-power modes, making them suitable for wireless sensor networks.
[0030] According to the above technical solution, the power supply circuit includes a USB interface USB1, a voltage regulator U4, a capacitor C6, a capacitor C7, a capacitor C8 and a capacitor C9, the USB interface USB1 includes a pin A12, a pin A9, a pin B9 and a pin B12, and the voltage regulator U4 includes a pin 1, a pin 2 and a pin 3;
[0031] Pin A12 in the USB interface USB1, pin B12 in the USB interface USB1, a first end of capacitor C6, a first end of capacitor C7, a first end of capacitor C8, a first end of capacitor C9 and pin 1 in the voltage regulator U4 are all electrically connected to the ground line;
[0032] Pin A9 in the USB interface USB1, pin B9 in the USB interface USB1, the second end of the capacitor C7 and pin 3 in the voltage regulator U4 are all electrically connected to the 5V power supply;
[0033] Pin 2 of the voltage regulator U4, the second end of the capacitor C8 and the second end of the capacitor C9 are electrically connected to the VCC3.3 terminal;
[0034] The power supply circuit uses TYPE-C as the power input port, and the step-down circuit converts the voltage to 3.3V. The power supply circuit provides corresponding power support for the STM32 chip and other circuits.
[0035] According to the above technical solution, the relay circuit includes a resistor R2, a resistor R4, a resistor R5, a resistor R6, a transistor Q1, a transistor Q2, a diode U2, a relay RELAY1 and an output port H3, the relay RELAY1 includes a pin 1, a pin 2, a pin 3, a pin 4 and a pin 5, and the output port H3 includes a pin 1 and a pin 2;
[0036] Pin 1 of the relay RELAY1 and the first end of the diode U2 are both electrically connected to a 5V power supply;
[0037] Pin 2 of the relay RELAY1 is electrically connected to pin 2 of the output port H3;
[0038] Pin 3 of the relay RELAY1 is electrically connected to pin 5 of the relay RELAY1;
[0039] The pin 5 of the relay RELAY1 and the second end of the diode U2 are both electrically connected to the first end of the transistor Q2;
[0040] Pin 1 of the output port H3 is electrically connected to the ground wire;
[0041] The second end of the transistor Q2 is electrically connected to the first end of the resistor R5 and the first end of the transistor Q1 through the resistor R6;
[0042] The third end of the transistor Q2 and the second end of the resistor R5 are both electrically connected to the ground line;
[0043] The second end of the transistor Q1 is electrically connected to the third end of the transistor Q1 and the 5V power supply through the resistor R4, and the second end of the transistor Q1 is electrically connected to the pin 29 in the STM32 chip circuit through the resistor R2;
[0044] The relay circuit is used to control the switch state of the output port H3, and at the same time, is used to amplify the signal in the circuit so that the signal controls a load with higher power; the output port H3 is used for an external lamp, and outputs relevant control signals to control the switch and brightness of the lamp.
[0045] According to the above technical solution, the filter circuit includes capacitor C4, capacitor C5, capacitor C10 and capacitor C11;
[0046] The first end of the capacitor C4, the first end of the capacitor C5, the first end of the capacitor C10 and the first end of the capacitor C11 are all electrically connected to the VCC3.3 terminal;
[0047] The second end of the capacitor C4, the second end of the capacitor C5, the second end of the capacitor C10 and the second end of the capacitor C11 are all electrically connected to a 5V power supply;
[0048] The filter circuit is used to remove noise signals in the circuit and improve the signal-to-noise ratio of the system.
[0049] According to the above technical solution, the reset circuit includes a resistor R1, a switch SW2 and a capacitor C3;
[0050] The first end of the switch SW2 and the first end of the capacitor C3 are both electrically connected to the ground line;
[0051] The second end of the switch SW2 is electrically connected to the VCC3.3 terminal through the resistor R1, and the second end of the switch SW2 and the second end of the capacitor C3 are both electrically connected to the pin 7 in the STM32 chip circuit.
[0052] According to the above technical solution, the WIFI circuit includes pin 1, pin 4, pin 5, pin 6 and pin 8;
[0053] Pin 1 in the WIFI circuit is electrically connected to the ground wire;
[0054] Pin 4 in the WIFI circuit is electrically connected to pin 30 in the STM32 chip circuit;
[0055] Pin 5 in the WIFI circuit is electrically connected to pin 31 in the STM32 chip circuit;
[0056] Pins 6 and 8 in the WIFI circuit are both electrically connected to the VCC3.3 terminal.
[0057] According to the above technical solution, the photosensitive module circuit includes pin 1, pin 2 and pin 3, the infrared module circuit includes pin 1, pin 2 and pin 3, and the burning port circuit includes pin 1, pin 2, pin 3 and pin 4;
[0058] Pin 1 in the photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit;
[0059] Pin 2 in the photosensitive module circuit is electrically connected to the ground wire;
[0060] Pin 3 in the photosensitive module circuit is electrically connected to the VCC3.3 terminal;
[0061] Pin 1 in the infrared module circuit is electrically connected to the ground wire;
[0062] Pin 2 in the infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit;
[0063] Pin 3 in the infrared module circuit is electrically connected to the VCC3.3 terminal;
[0064] Pin 1 in the programming port circuit is electrically connected to the VCC3.3 terminal;
[0065] Pin 2 in the programming port circuit is electrically connected to pin 37 in the STM32 chip circuit;
[0066] Pin 3 in the programming port circuit is electrically connected to pin 34 in the STM32 chip circuit;
[0067] Pin 4 in the programming port circuit is electrically connected to the ground wire;
[0068] The photosensitive module circuit is used to connect the photosensitive module, and transmit the light information in the corridor obtained by the photosensitive module to the STM32 chip through the photosensitive module circuit for corresponding signal processing;
[0069] The infrared module circuit is used to connect the infrared module, and transmit the information of people passing through the corridor obtained by the infrared module to the STM32 chip through the infrared module circuit for corresponding signal processing;
[0070] The programming port circuit is used to load the program into the interface of the STM32 chip.
[0071] Compared with the prior art, the beneficial effects achieved by the utility model are:
[0072] The present invention can control the switch state of the lamp through the infrared transmission module and control the brightness of the lamp through the photosensitive module. At the same time, the present invention performs networking control through the wireless module to realize remote control of the lamp, which not only solves the problem of dim corridor lighting, but also realizes remote control of the lamp, making the corridor lighting safer and more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0074] Figure 1 This is a system structure diagram of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0075] Figure 2 It is a schematic diagram of an STM32 chip circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0076] Figure 3 It is a schematic diagram of a power supply circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0077] Figure 4 It is a schematic diagram of a relay circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0078] Figure 5 It is a schematic diagram of a filter circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0079] Figure 6 It is a schematic diagram of a reset circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0080] Figure 7 It is a schematic diagram of a WIFI circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0081] Figure 8 It is a schematic diagram of a photosensitive module circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0082] Fig. 9 It is a schematic diagram of an infrared module circuit of a lighting control hardware circuit that is networked and controlled by the environment in the utility model;
[0083] Fig.10 The utility model is a schematic diagram of a programming port circuit of a lighting control hardware circuit which is networked and controlled by the environment. DETAILED DESCRIPTION
[0084] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0085] See also Figure 1 , the utility model provides a technical solution:
[0086] A networked and environment-controlled lighting control hardware circuit comprises a power input module, a main control module, a photosensitive module, an infrared module, a wireless module, a relay module and an output module; the main control module comprises an STM32 chip circuit, a power circuit, a filter circuit, a reset circuit, a photosensitive module circuit, an infrared module circuit and a burning port circuit; the wireless module comprises a WIFI circuit; and the relay module comprises a relay circuit;
[0087] The power input module is connected to the power circuit;
[0088] The photosensitive module is connected to the photosensitive module circuit;
[0089] The infrared module is connected to the infrared module circuit;
[0090] The output module is connected to the relay circuit;
[0091] The power supply circuit, filter circuit, reset circuit, photosensor module circuit, infrared module circuit and burning port circuit are all connected to the STM32 chip circuit.
[0092] See also Figure 2 , the STM32 chip circuit includes a chip U1, a crystal oscillator X1, a capacitor C1=30pF, a capacitor C1=30pF and a resistor R3=10KΩ, and the chip U1 includes pin 1, pin 5, pin 6, pin 23, pin 8, pin 9, pin 11, pin 18, pin 23, pin 24, pin 29, pin 30, pin 31, pin 34, pin 35, pin 36, pin 37, pin 44, pin 47 and pin 48;
[0093] Pin 1, pin 9, pin 24, pin 36 and pin 48 of the chip U1 are all electrically connected to the VCC3.3 terminal;
[0094] The pin 5 and the first end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C2;
[0095] The pin 6 and the second end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C1;
[0096] The second end of the capacitor C1, the second end of the capacitor C2, the pin 8 and the pin 23 are all electrically connected to the ground line;
[0097] The pin 35, the first end of the resistor R3 and the pin 47 are all connected to the ground line;
[0098] The second end of the resistor R3 is electrically connected to the pin 44;
[0099] The power supply circuit is electrically connected to the VCC3.3 terminal;
[0100] The relay circuit is electrically connected to pin 29 in the STM32 chip circuit;
[0101] The filter circuit is electrically connected to the VCC3.3 terminal;
[0102] The reset circuit is electrically connected to pin 7 in the STM32 chip circuit;
[0103] The WIFI circuit is electrically connected to pins 30 and 31 in the STM32 chip circuit;
[0104] The photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit;
[0105] The infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit;
[0106] The programming port circuit is electrically connected to pins 34 and 37 in the STM32 chip circuit;
[0107] The STM32 series microcontrollers provide high-performance processing capabilities and support a variety of low-power modes, making them suitable for wireless sensor networks.
[0108] See also Figure 3 , the power supply circuit includes a USB interface USB1, a voltage regulator U4, a capacitor C6=10uF, a capacitor C7=100nF, a capacitor C8=100nF and a capacitor C9=10uF, the USB interface USB1 includes a pin A12, a pin A9, a pin B9 and a pin B12, and the voltage regulator U4 includes a pin 1, a pin 2 and a pin 3;
[0109] Pin A12 in the USB interface USB1, pin B12 in the USB interface USB1, a first end of capacitor C6, a first end of capacitor C7, a first end of capacitor C8, a first end of capacitor C9 and pin 1 in the voltage regulator U4 are all electrically connected to the ground line;
[0110] Pin A9 in the USB interface USB1, pin B9 in the USB interface USB1, the second end of the capacitor C7 and pin 3 in the voltage regulator U4 are all electrically connected to the 5V power supply;
[0111] Pin 2 of the voltage regulator U4, the second end of the capacitor C8 and the second end of the capacitor C9 are electrically connected to the VCC3.3 terminal;
[0112] The power supply circuit uses TYPE-C as the power input port, and the step-down circuit converts the voltage to 3.3V. The power supply circuit provides corresponding power support for the STM32 chip and other circuits.
[0113] See also Figure 4 , the relay circuit includes a resistor R2=1KΩ, a resistor R4=10KΩ, a resistor R5=10KΩ, a resistor R6=1KΩ, a transistor Q1, a transistor Q2, a diode U2, a relay RELAY1 and an output port H3, the relay RELAY1 includes a pin 1, a pin 2, a pin 3, a pin 4 and a pin 5, and the output port H3 includes a pin 1 and a pin 2;
[0114] Pin 1 of the relay RELAY1 and the first end of the diode U2 are both electrically connected to a 5V power supply;
[0115] Pin 2 of the relay RELAY1 is electrically connected to pin 2 of the output port H3;
[0116] Pin 3 of the relay RELAY1 is electrically connected to pin 5 of the relay RELAY1;
[0117] The pin 5 of the relay RELAY1 and the second end of the diode U2 are both electrically connected to the first end of the transistor Q2;
[0118] Pin 1 of the output port H3 is electrically connected to the ground wire;
[0119] The second end of the transistor Q2 is electrically connected to the first end of the resistor R5 and the first end of the transistor Q1 through the resistor R6;
[0120] The third end of the transistor Q2 and the second end of the resistor R5 are both electrically connected to the ground line;
[0121] The second end of the transistor Q1 is electrically connected to the third end of the transistor Q1 and the 5V power supply through the resistor R4, and the second end of the transistor Q1 is electrically connected to the pin 29 in the STM32 chip circuit through the resistor R2;
[0122] The relay circuit is used to control the switch state of the output port H3, and at the same time, is used to amplify the signal in the circuit so that the signal controls a load with higher power; the output port H3 is used for an external lamp, and outputs relevant control signals to control the switch and brightness of the lamp.
[0123] See also Figure 5 , the filter circuit includes a capacitor C4 = 100nF, a capacitor C5 = 100nF, a capacitor C10 = 100nF and a capacitor C11 = 100nF;
[0124] The first end of the capacitor C4, the first end of the capacitor C5, the first end of the capacitor C10 and the first end of the capacitor C11 are all electrically connected to the VCC3.3 terminal;
[0125] The second end of the capacitor C4, the second end of the capacitor C5, the second end of the capacitor C10 and the second end of the capacitor C11 are all electrically connected to a 5V power supply;
[0126] The filter circuit is used to remove noise signals in the circuit and improve the signal-to-noise ratio of the system.
[0127] See also Figure 6 , the reset circuit includes a resistor R1=10KΩ, a switch SW2 and a capacitor C3=100nF;
[0128] The first end of the switch SW2 and the first end of the capacitor C3 are both electrically connected to the ground line;
[0129] The second end of the switch SW2 is electrically connected to the VCC3.3 terminal through the resistor R1, and the second end of the switch SW2 and the second end of the capacitor C3 are both electrically connected to the pin 7 in the STM32 chip circuit.
[0130] See also Figure 7 , the WIFI circuit includes pin 1, pin 4, pin 5, pin 6 and pin 8;
[0131] Pin 1 in the WIFI circuit is electrically connected to the ground wire;
[0132] Pin 4 in the WIFI circuit is electrically connected to pin 30 in the STM32 chip circuit;
[0133] Pin 5 in the WIFI circuit is electrically connected to pin 31 in the STM32 chip circuit;
[0134] Pins 6 and 8 in the WIFI circuit are both electrically connected to the VCC3.3 terminal.
[0135] See also Figure 8 The photosensitive module circuit includes pin 1, pin 2 and pin 3, please refer to Fig. 9The infrared module circuit includes pin 1, pin 2 and pin 3, please refer to Fig.10 , the programming port circuit includes pin 1, pin 2, pin 3 and pin 4;
[0136] Pin 1 in the photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit;
[0137] Pin 2 in the photosensitive module circuit is electrically connected to the ground wire;
[0138] Pin 3 in the photosensitive module circuit is electrically connected to the VCC3.3 terminal;
[0139] Pin 1 in the infrared module circuit is electrically connected to the ground wire;
[0140] Pin 2 in the infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit;
[0141] Pin 3 in the infrared module circuit is electrically connected to the VCC3.3 terminal;
[0142] Pin 1 in the programming port circuit is electrically connected to the VCC3.3 terminal;
[0143] Pin 2 in the programming port circuit is electrically connected to pin 37 in the STM32 chip circuit;
[0144] Pin 3 in the programming port circuit is electrically connected to pin 34 in the STM32 chip circuit;
[0145] Pin 4 in the programming port circuit is electrically connected to the ground wire;
[0146] The photosensitive module circuit is used to connect the photosensitive module, and transmit the light information in the corridor obtained by the photosensitive module to the STM32 chip through the photosensitive module circuit for corresponding signal processing;
[0147] The infrared module circuit is used to connect the infrared module, and transmit the information of people passing through the corridor obtained by the infrared module to the STM32 chip through the infrared module circuit for corresponding signal processing;
[0148] The programming port circuit is used to load the program into the interface of the STM32 chip.
[0149] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0150] Finally, it should be noted that the above description is only a preferred embodiment of the utility model and is not intended to limit the utility model. Although the utility model is described in detail with reference to the above embodiments, those skilled in the art can still modify the technical solutions recorded in the above embodiments or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.
Claims
1. A lighting control hardware circuit connected to the Internet and controlled by the environment, characterized in that: It includes a power input module, a main control module, a photosensor module, an infrared module, a wireless module, a relay module and an output module; the main control module includes an STM32 chip circuit, a power circuit, a filter circuit, a reset circuit, a photosensor module circuit, an infrared module circuit and a burning port circuit, the wireless module includes a WIFI circuit, and the relay module includes a relay circuit; The power input module is connected to the power circuit; The photosensitive module is connected to the photosensitive module circuit; The infrared module is connected to the infrared module circuit; The output module is connected to the relay circuit; The power supply circuit, filter circuit, reset circuit, photosensor module circuit, infrared module circuit and burning port circuit are all connected to the STM32 chip circuit.
2. A lighting control hardware circuit connected to a network and controlled by the environment according to claim 1, characterized in that: The STM32 chip circuit includes a chip U1, a crystal oscillator X1, a capacitor C1, a capacitor C1 and a resistor R3, and the chip U1 includes pin 1, pin 5, pin 6, pin 23, pin 8, pin 9, pin 11, pin 18, pin 23, pin 24, pin 29, pin 30, pin 31, pin 34, pin 35, pin 36, pin 37, pin 44, pin 47 and pin 48; Pin 1, pin 9, pin 24, pin 36 and pin 48 of the chip U1 are all electrically connected to the VCC3.3 terminal; The pin 5 and the first end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C2; The pin 6 and the second end of the crystal oscillator X1 are both electrically connected to the first end of the capacitor C1; The second end of the capacitor C1, the second end of the capacitor C2, the pin 8 and the pin 23 are all electrically connected to the ground line; The pin 35, the first end of the resistor R3 and the pin 47 are all connected to the ground line; The second end of the resistor R3 is electrically connected to the pin 44; The power supply circuit is electrically connected to the VCC3.3 terminal; The relay circuit is electrically connected to pin 29 in the STM32 chip circuit; The filter circuit is electrically connected to the VCC3.3 terminal; The reset circuit is electrically connected to pin 7 in the STM32 chip circuit; The WIFI circuit is electrically connected to pins 30 and 31 in the STM32 chip circuit; The photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit; The infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit; The programming port circuit is electrically connected to pins 34 and 37 in the STM32 chip circuit.
3. A networked and environment-controlled lighting control hardware circuit according to claim 2, characterized in that: The power supply circuit includes a USB interface USB1, a voltage regulator U4, a capacitor C6, a capacitor C7, a capacitor C8 and a capacitor C9, the USB interface USB1 includes a pin A12, a pin A9, a pin B9 and a pin B12, and the voltage regulator U4 includes a pin 1, a pin 2 and a pin 3; Pin A12 in the USB interface USB1, pin B12 in the USB interface USB1, a first end of capacitor C6, a first end of capacitor C7, a first end of capacitor C8, a first end of capacitor C9 and pin 1 in the voltage regulator U4 are all electrically connected to the ground line; Pin A9 in the USB interface USB1, pin B9 in the USB interface USB1, the second end of the capacitor C7 and pin 3 in the voltage regulator U4 are all electrically connected to the 5V power supply; Pin 2 of the voltage regulator U4, the second end of the capacitor C8, and the second end of the capacitor C9 are electrically connected to the VCC3.3 terminal.
4. The lighting control hardware circuit connected to the network and controlled by the environment according to claim 2, characterized in that: The relay circuit includes a resistor R2, a resistor R4, a resistor R5, a resistor R6, a transistor Q1, a transistor Q2, a diode U2, a relay RELAY1 and an output port H3, the relay RELAY1 includes a pin 1, a pin 2, a pin 3, a pin 4 and a pin 5, and the output port H3 includes a pin 1 and a pin 2; Pin 1 of the relay RELAY1 and the first end of the diode U2 are both electrically connected to a 5V power supply; Pin 2 of the relay RELAY1 is electrically connected to pin 2 of the output port H3; Pin 3 of the relay RELAY1 is electrically connected to pin 5 of the relay RELAY1; The pin 5 of the relay RELAY1 and the second end of the diode U2 are both electrically connected to the first end of the transistor Q2; Pin 1 of the output port H3 is electrically connected to the ground wire; The second end of the transistor Q2 is electrically connected to the first end of the resistor R5 and the first end of the transistor Q1 through the resistor R6; The third end of the transistor Q2 and the second end of the resistor R5 are both electrically connected to the ground line; The second end of the transistor Q1 is electrically connected to the third end of the transistor Q1 and a 5V power supply through a resistor R4, and the second end of the transistor Q1 is electrically connected to a pin 29 in the STM32 chip circuit through a resistor R2.
5. The lighting control hardware circuit connected to the network and controlled by the environment according to claim 2, characterized in that: The filter circuit includes capacitor C4, capacitor C5, capacitor C10 and capacitor C11; The first end of the capacitor C4, the first end of the capacitor C5, the first end of the capacitor C10 and the first end of the capacitor C11 are all electrically connected to the VCC3.3 terminal; The second end of the capacitor C4 , the second end of the capacitor C5 , the second end of the capacitor C10 , and the second end of the capacitor C11 are all electrically connected to a 5V power source.
6. A networked and environment-controlled lighting control hardware circuit according to claim 2, characterized in that: The reset circuit includes a resistor R1, a switch SW2 and a capacitor C3; The first end of the switch SW2 and the first end of the capacitor C3 are both electrically connected to the ground line; The second end of the switch SW2 is electrically connected to the VCC3.3 terminal through the resistor R1, and the second end of the switch SW2 and the second end of the capacitor C3 are both electrically connected to the pin 7 in the STM32 chip circuit.
7. The lighting control hardware circuit connected to the network and controlled by the environment according to claim 2, characterized in that: The WIFI circuit includes pin 1, pin 4, pin 5, pin 6 and pin 8; Pin 1 in the WIFI circuit is electrically connected to the ground wire; Pin 4 in the WIFI circuit is electrically connected to pin 30 in the STM32 chip circuit; Pin 5 in the WIFI circuit is electrically connected to pin 31 in the STM32 chip circuit; Pins 6 and 8 in the WIFI circuit are both electrically connected to the VCC3.3 terminal.
8. The lighting control hardware circuit connected to the network and controlled by the environment according to claim 1, characterized in that: The photosensitive module circuit includes pin 1, pin 2 and pin 3, the infrared module circuit includes pin 1, pin 2 and pin 3, and the programming port circuit includes pin 1, pin 2, pin 3 and pin 4; Pin 1 in the photosensitive module circuit is electrically connected to pin 11 in the STM32 chip circuit; Pin 2 in the photosensitive module circuit is electrically connected to the ground wire; Pin 3 in the photosensitive module circuit is electrically connected to the VCC3.3 terminal; Pin 1 in the infrared module circuit is electrically connected to the ground wire; Pin 2 in the infrared module circuit is electrically connected to pin 18 in the STM32 chip circuit; Pin 3 in the infrared module circuit is electrically connected to the VCC3.3 terminal; Pin 1 in the programming port circuit is electrically connected to the VCC3.3 terminal; Pin 2 in the programming port circuit is electrically connected to pin 37 in the STM32 chip circuit; Pin 3 in the programming port circuit is electrically connected to pin 34 in the STM32 chip circuit; The pin 4 in the programming port circuit is electrically connected to the ground wire.
