Integrated switch control device
Through the integrated switch control device, the use of temperature and humidity sensors and WIFI modules to upload data, the existing freezer cannot collect temperature and humidity and record the switch status is solved, and the intelligent control and real-time monitoring of the freezer is realized, and the shelf life of the food is extended.
Patent Information
- Application Number
- CN201810907804.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-08-10
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2038-08-10
AI Technical Summary
The existing fresh-keeping refrigerator cannot collect temperature and humidity information in the cabinet body under the rental and sale state, and the cabinet door cannot be uploaded and recorded, which lacks intelligent control functions.
An integrated switch control device is designed, including mains input protection circuit, voltage stabilization switch power module, power output control module, WIFI module, microprocessor and electric lock switch, and the temperature and humidity sensor is used to obtain temperature and humidity data, and Upload it to the cloud through the WIFI module, collect the freezer door switch signal, and control the electric lock suction and connection.
It realizes the upload of freezer temperature and humidity information and switch information in real time, and has the advantages of simple structure and low cost. It can monitor the freezer status in real time and control the power supply, extending the shelf life of fresh food.
Smart Images

Figure CN108844287B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of circuit control, and in particular relates to an integrated switch control device. Background Art
[0002] The doors of existing fresh-keeping freezers can only play a physical technical opening and closing role during daily opening and closing. However, when the fresh-keeping freezer is in a rental or sale state, the temperature and humidity inside the cabinet cannot be collected, and the door opening and closing status cannot be uploaded and recorded. Summary of the invention
[0003] The purpose of the invention is: in order to overcome the technical defects in the prior art, the present invention proposes an integrated switch control device, which can control the switch power supply, obtain temperature and humidity data using temperature and humidity sensors, report the information to the cloud, and collect freezer door switch signals.
[0004] The technical solution of the present invention is: an integrated switch control device, comprising a mains input protection circuit, a voltage-stabilizing switch power supply module, a power output control module, a WIFI module, a microprocessor and an electric locking switch arranged on a PCB board; the microprocessor is respectively connected to the mains input protection circuit, the voltage-stabilizing switch power supply module, the power output control module, the WIFI module, and the electric locking switch.
[0005] Furthermore, in the AC input protection circuit, the varistor ZNR101 is connected in parallel with the safety capacitor CX101, the resistor R101, the inductor L101, the high-voltage ceramic safety capacitor CY101 and the high-voltage ceramic safety capacitor CY102 connected in series, and the safety capacitor CX102, respectively. The connection ends of the high-voltage ceramic safety capacitor CY101 and the high-voltage ceramic safety capacitor CY102 are grounded, one end of the varistor ZNR101 is connected to the AC live wire terminal ACL through the fuse F101, and the other end is connected to the AC neutral wire terminal ACN, and both ends of the safety capacitor CX102 are connected to the wiring port J101.
[0006] Furthermore, in the voltage-stabilizing switching power supply module, pin 8 of the voltage-stabilizing chip U101 is connected to pin 1 through capacitor C102, pin 1 is connected to the power supply through inductor L102, one end of the inductor L102 is grounded through diode D101, and the other end is grounded through parallel chip capacitor EC102 and capacitor C103, pin 7 of the voltage-stabilizing chip U1 is connected to pin 2 through resistor R104, and is also connected to wiring port J2 through parallel chip capacitor EC101 and capacitor C101, one end of the capacitor C101 is connected to the power supply, and the other end is grounded, pin 2 is also grounded through resistor R106, pin 6 of the voltage-stabilizing chip U1 is grounded through resistor R103, pin 5 is grounded, pin 4 is connected to the power supply through resistor R108, and is also grounded through resistor R107, and pin 3 of the voltage-stabilizing chip U1 is grounded through capacitor C104 and resistor R8105.
[0007] Further, in the power output control module, one input end of the chip U301 is connected to the output end OUT1 through a diode D305, the other input end is connected to the output end OUT2 through a resistor R301 and a resistor R302, one output end is connected to the power supply through a photosensitive diode LED301 and a resistor R313, and at the same time, the output end is connected to the power supply and grounded through a capacitor C301, and the other output end is grounded, and an adjustable resistor VR301 is connected in series between the output end OUT1 and the output end OUT2 and is respectively connected to the two ends of the non-polar capacitor CX102. The adjustable resistor VR301 is connected to the non-polar capacitor CX102, and a switch K301 is connected in series between the adjustable resistor VR301 and the non-polar capacitor CX102. The switch K301 is connected in parallel with the diode D301, one end of which is connected to the power supply, and the other end is connected to the wiring socket CN301 through a resistor R314. The other end of the resistor R314 is grounded through resistors R315 and R316. The positive electrode of the diode D301 is connected to the collector of the transistor Q301, the emitter of the transistor Q301 is grounded, and the base is grounded through a resistor R308 and connected to the resistor R304.
[0008] Furthermore, the power output control module also includes multiple other power output control units, in which the switch K302 is connected in parallel with the adjustable resistor VR302 and connected to the wiring port J301, and is also connected in parallel with the diode D302, one end of which is connected to the power supply and the other end is connected to the transistor Q302. The two ends of the diode D302 are also connected in parallel with the series-connected resistor R312 and the photosensitive diode LED302. The emitter of the transistor Q302 is grounded, the base is grounded through the resistor R309, and is connected to the resistor R305.
[0009] Furthermore, in the WIFI module, pins 3 and 8 of chip U202 are connected to the power supply, pins 9 and 17 are grounded, pin 16 is respectively connected to MOS tube Q202 and resistor R202, the other end of resistor R202 is connected to the power supply, the gate of MOS tube Q202 is connected to the power supply, and the source is connected to the power supply through resistor R201, and pin 15 of chip U202 is respectively connected to MOS tube Q203 and resistor R204, the other end of resistor R204 is connected to the power supply, the gate of MOS tube Q203 is connected to the power supply, and the source is connected to the power supply through resistor R203.
[0010] Furthermore, in the electric locking switch, the positive and negative electrodes of the diode D401 are respectively connected to the wiring socket CN401, the negative electrode is connected to the power supply, and the positive electrode is connected to the drain of the MOS tube Q401. The source of the MOS tube Q401 is grounded, and the gate is grounded through the resistor R407 and connected to the resistor R401.
[0011] Further, in the microprocessor, pins 1 and 32 of chip U201 are connected to the program burning port J0, pin 2 is connected to the power indicator light, pins 3 and 4 are connected to the key switch, pins 5, 6 and 8 are connected to the temperature and humidity sensor, pin 7 is connected to the power supply and grounded through capacitor C205, pins 9, 10, 11, 12, 13 and 14 are connected to the electric lock switch, pin 15 is connected to the wiring socket CN203, pins 16 and 17 are connected to the WIFI module, pins 18, 19 and 20 are connected to the clock IC, pin 21 is grounded and connected to pin 23 through parallel capacitors C204 and C202, pin 22 is connected to the USB interface, pin 23 is connected to the power supply, pins 24 and 25 are connected to the microcontroller serial port, and pins 26, 27 and 28 are connected to the power output control module.
[0012] The beneficial effects of the present invention are as follows: the present invention obtains temperature and humidity information through a temperature and humidity sensor, and uploads the information to the cloud through a WIFI module; and collects freezer door switch signals to control the electric suction lock to close. It has the advantages of simple structure, low cost, and the ability to collect freezer temperature and humidity information and switch information in real time. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a schematic structural diagram of an integrated switch control device of the present invention;
[0014] Figure 2 Schematic diagram of a mains input protection circuit in an embodiment of the present invention;
[0015] Figure 3 is a schematic diagram of a voltage-stabilizing switching power supply module in an embodiment of the present invention;
[0016] Figure 4 Schematic diagram of a power output control module and other power output control units in an embodiment of the present invention;
[0017] Figure 5 is a schematic diagram of a WIFI module in an embodiment of the present invention;
[0018] Figure 6 Schematic diagram of a microprocessor in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0020] like Figure 1 The figure is a schematic diagram of the structure of the integrated switch control device of the present invention. An integrated switch control device includes a mains input protection circuit, a voltage-stabilizing switch power supply module, a power output control module, a WIFI module, a microprocessor and an electric lock switch arranged on a PCB board; the microprocessor is respectively connected to the mains input protection circuit, the voltage-stabilizing switch power supply module, the power output control module, the WIFI module, and the electric lock switch.
[0021] In an optional embodiment of the present invention, in the above-mentioned AC input protection circuit, the varistor ZNR101 is connected in parallel with the safety capacitor CX101, the metal oxide film resistor R101, the inductor L101, two series-connected high-voltage ceramic safety capacitors CY101 and CY102, and the safety capacitor CX102, the connection end of the high-voltage ceramic safety capacitor CY101 and the high-voltage ceramic safety capacitor CY102 is grounded, one end of the varistor ZNR101 is connected to the AC live wire terminal ACL through the self-resetting fuse F101, and the other end is connected to the AC neutral wire terminal ACN, and the two ends of the safety capacitor CX102 are respectively connected to the interface 1 and the interface 2 of the wiring port J101. Figure 2 FIG. 1 is a schematic diagram of a mains input protection circuit in an embodiment of the present invention.
[0022] The mains input protection circuit of the present invention is used to protect the voltage and current safety of subsequent circuits and provide stable voltage and current environmental conditions for subsequent circuit modules; the self-resetting fuse F101 is used to prevent the circuit board from short-circuiting due to external factors to form excessive current, and plays a role of insurance to prevent subsequent electronic components from burning out due to excessive current; two safety capacitors (CX101 0.68uF / 275V, CX102 0.47uF / 275V) are used for filtering, filtering out the clutter in the mains and retaining only the sine wave; the varistor ZNR101 is a varistor that is a voltage-limiting overvoltage protection device with fast response speed, strong surge absorption capacity, and good surge protection effect; two high-voltage ceramic safety capacitors (CY101 4700pF, CY102 4700pF) are connected to the ground in the middle; PE is the protective grounding in the power supply system, which is mainly used for lightning protection grounding and safety grounding.
[0023] In an optional embodiment of the present invention, in the above-mentioned voltage-stabilizing switching power supply module, pin 8 of the voltage-stabilizing chip U101 is connected to pin 1 through capacitor C102, pin 1 is connected to a 5V power supply through inductor L102, one end of the inductor L102 is grounded through diode D101, and the other end is grounded through parallel chip capacitor EC102 and capacitor C103, pin 7 of the voltage-stabilizing chip U1 is connected to pin 2 through resistor R104, and is also connected to interface 1 and interface 2 of the wiring port J2 respectively through parallel chip capacitor EC101 and capacitor C101, one end of capacitor C101 is connected to a 12V power supply, and the other end is grounded, pin 2 is also grounded through resistor R106, pin 6 of the voltage-stabilizing chip U1 is grounded through resistor R103, pin 5 is grounded, pin 4 is connected to a 5V power supply through resistor R108, and is also grounded through resistor R107, and pin 3 of the voltage-stabilizing chip U1 is grounded through capacitor C104 and resistor R8105. Figure 3 FIG. 1 is a schematic diagram of a voltage-stabilizing switching power supply module in an embodiment of the present invention.
[0024] The voltage-stabilizing switch power supply module of the present invention adopts the MP1584 switch power supply chip, reduces the external input 12V voltage to 5V, provides it to the single-chip microcomputer, adopts an independent external mode, and is connected to the control board through a wire.
[0025] In an optional embodiment of the present invention, in the above-mentioned power output control module, one input end of the chip U301 is connected to the output end OUT1 through a diode D305, and the other input end is connected to the output end OUT2 through a resistor R301 and a resistor R302. One output end is connected to a 5V power supply through a photosensitive diode LED301 and a resistor R313. At the same time, the output end is connected to the 5V power supply and grounded through a capacitor C301. The other output end is grounded. An adjustable resistor VR301 is connected in series between the output end OUT1 and the output end OUT2 and is respectively connected to the two ends of the safety capacitor CX102. A switch K301 is connected in series between the resistor VR301 and the safety regulator CX102. The switch K301 is connected in parallel with the diode D301. One end of the switch is connected to the 12V power supply, and the other end is connected to the interface 2 of the wiring socket CN301 through the resistor R314. The interface 1 of the wiring socket CN301 is connected to the 12V power supply, and the interface 3 is grounded. The other end of the resistor R314 is grounded through the resistor R315 and the resistor R316. The positive electrode of the diode D301 is connected to the collector of the transistor Q301. The emitter of the transistor Q301 is grounded, and the base is grounded through the resistor R308 and connected to the resistor R304. Figure 4 FIG. 1 is a schematic diagram of a power output control module and other power output control units in an embodiment of the present invention.
[0026] The power output control module of the present invention further includes three other power output control units, specifically a first other power output control unit, a second other power output control unit and a third other power output control unit.
[0027] In the first other power output control unit, the switch K302 is connected in parallel with the adjustable resistor VR302 and connected to the wiring port J301, and is also connected in parallel with the diode D302. Both ends of the diode D302 are also connected in parallel with the resistor R312 and the photosensitive diode LED302 connected in series. The cathode of the diode D302 is connected to the 12V power supply and to one end of the resistor R312, the anode is connected to the collector of the transistor Q302 and to the cathode of the photosensitive diode LED302, the emitter of the transistor Q302 is grounded, the base is grounded through the resistor R309, and is connected to the resistor R305;
[0028] In the second other power output control unit, the switch K303 is connected in parallel with the adjustable resistor VR303, one end of the adjustable resistor VR303 is connected to one end of the safety capacitor CX102, and the other end is connected to the interface 1 of the wiring port J302, and the interface 2 of the wiring port J302 is connected to the other end of the safety capacitor CX102. The switch K303 is also connected in parallel with the diode D303, the cathode of the diode D303 is connected to the 12V power supply, the anode is connected to the collector of the transistor Q303, the emitter of the transistor Q303 is grounded, the base is grounded through the resistor R309, and is connected to the resistor R305;
[0029] In the third other power output control unit, the switch K304 is connected in parallel with the adjustable resistor VR304, one end of the adjustable resistor VR304 is connected to one end of the safety capacitor CX102, and the other end is connected to the interface 1 of the wiring port J303, and the interface 2 of the wiring port J303 is connected to the other end of the safety capacitor CX102. The switch K304 is also connected in parallel with the diode D304, the cathode of the diode D304 is connected to the 12V power supply, the anode is connected to the collector of the transistor Q304, the emitter of the transistor Q304 is grounded, the base is grounded through the resistor R311, and is connected to the resistor R307;
[0030] The power output control module of the present invention is controlled by a microprocessor, and the power supply of the fresh-keeping device and the power supply of the advertising board can be turned on or off by the microprocessor. The control principle adopted is to control the relay switch through the input and output ports of the microprocessor, which is a low-voltage control high-voltage method and is safe and reliable.
[0031] In an optional embodiment of the present invention, in the above-mentioned WIFI module, chip U202 adopts ESP-12SWIFI chip, whose pins 3 and 8 are connected to 3.3V power supply, pins 9 and 17 are grounded, pin 16 is respectively connected to the drain of MOS tube Q202 and one end of resistor R202, the other end of resistor R202 is connected to 3V power supply, the gate of MOS tube Q202 is connected to 3.3V power supply, and the source is connected to 5V power supply through resistor R201, and pin 15 of chip U202 is respectively connected to the drain of MOS tube Q203 and one end of resistor R204, the other end of resistor R204 is connected to 3.3V power supply, the gate of MOS tube Q203 is connected to 3.3V power supply, and the source is connected to 5V power supply through resistor R203. Figure 5 FIG. 1 is a schematic diagram of a WIFI module in an embodiment of the present invention.
[0032] The WIFI module of the present invention also includes a step-down module. In the step-down module, chip U204 adopts an SPX1117 step-down chip, whose pin 3 is connected to a 5V power supply, pin 1 is grounded, pins 2 and 4 are connected to a 3.3V power supply, and are grounded through parallel capacitors C201 and C203.
[0033] The WIFI module of the present invention uses a step-down chip to reduce the 5V voltage output by the switching power supply module to 3.3V for use by the ESP-12S WIFI module; the ESP-12S WIFI module can report the temperature and humidity information obtained by the temperature and humidity sensor and the freezer door switch signal to the cloud, and can also remotely control the switch of the fresh-keeping device. The connection with the Internet can be connected to the tenant's existing WIFI, or a 4G router module can be installed. The control board provides a 5V output of the USB interface, which can power the 4G router module.
[0034] In an optional embodiment of the present invention, the above-mentioned electric locking switches are set to six, specifically a first electric locking switch, a second electric locking switch, a third electric locking switch, a fourth electric locking switch, a fifth electric locking switch, and a sixth electric locking switch.
[0035] In the first electric locking switch, the cathode of the diode D401 is connected to the interface 1 of the wiring socket CN401 and is also connected to a 12V power supply, the anode is connected to the interface 2 of the wiring socket CN401 and is also connected to the drain of the MOS tube Q401, the source of the MOS tube Q401 is grounded, the gate is grounded through the resistor R407 and is connected to the resistor R401.
[0036] In the second electric locking switch, the cathode of diode D402 is connected to interface 1 of wiring socket CN402 and is also connected to a 12V power supply, the anode is connected to interface 2 of wiring socket CN402 and is also connected to the drain of MOS tube Q402, the source of MOS tube Q402 is grounded, the gate is grounded through resistor R408 and is connected to resistor R402.
[0037] In the third electric locking switch, the cathode of the diode D403 is connected to the interface 1 of the wiring socket CN403, and is also connected to the 12V power supply, the anode is connected to the interface 2 of the wiring socket CN403, and is also connected to the drain of the MOS tube Q403, the source of the MOS tube Q403 is grounded, the gate is grounded through the resistor R409, and is connected to the resistor R403.
[0038] In the fourth electric locking switch, the cathode of diode D404 is connected to interface 1 of wiring socket CN404 and is also connected to a 12V power supply, the anode is connected to interface 2 of wiring socket CN404 and is also connected to the drain of MOS tube Q404, the source of MOS tube Q404 is grounded, the gate is grounded through resistor R410 and is connected to resistor R404.
[0039] In the fifth electric locking switch, the cathode of diode D405 is connected to interface 1 of wiring socket CN405, and is also connected to a 12V power supply, the anode is connected to interface 2 of wiring socket CN405, and is also connected to the drain of MOS tube Q405, the source of MOS tube Q405 is grounded, the gate is grounded through resistor R411, and is connected to resistor R405.
[0040] In the sixth electric locking switch, the cathode of diode D406 is connected to interface 1 of wiring socket CN406 and is also connected to a 12V power supply, the anode is connected to interface 2 of wiring socket CN406 and is also connected to the drain of MOS tube Q406, the source of MOS tube Q406 is grounded, the gate is grounded through resistor R412 and is connected to resistor R406.
[0041] In an optional embodiment of the present invention, Figure 6 As shown, it is a schematic diagram of a microprocessor in an embodiment of the present invention. In the above microprocessor, pin 1 of chip U201 is connected to interface 3 of program burning port J0, pin 32 is connected to interface 2 of program burning port J0, interface 1 of program burning port J0 is grounded, and interface 4 is connected to a 5V power supply;
[0042] Pin 2 of chip U201 is connected to the power indicator light. In the power indicator light, the positive electrode of the photodiode is connected to a 5V voltage through a resistor R207, and the negative electrode is connected to pin 2 of chip U201.
[0043] Pin 3 and pin 4 of chip U201 are connected to the key switch. In the key switch, one end of key switch SW201 and key switch SW202 are both grounded, and the other end is respectively connected to pin 3 and pin 4 of chip U201.
[0044] Pins 5, 6 and 8 of chip U201 are all connected to the temperature and humidity sensor. Among the temperature and humidity sensors, chip AN201 uses humidity sensor AM2301, whose pin 1 is connected to a 5V power supply, grounded through capacitor C208, and connected to pin 2 through resistor R205. Pin 2 of chip AN201 is connected to pin 6 of chip U201, pin 3 is grounded, and pin 4 is connected to pin 8 of chip U201. The temperature and humidity sensor can obtain temperature and humidity data in the freezer and upload the data to the cloud platform.
[0045] Pin 7 of chip U201 is connected to the power supply and grounded through capacitor C205, pin 9 is connected to the other end of resistor R401 in the first electric locking switch, pin 10 is connected to the other end of resistor R402 in the second electric locking switch, pin 11 is connected to the other end of resistor R403 in the third electric locking switch, pin 12 is connected to the other end of resistor R404 in the fourth electric locking switch, pin 13 is connected to the other end of resistor R405 in the fifth electric locking switch, and pin 14 is connected to the other end of resistor R406 in the sixth electric locking switch.
[0046] Pin 15 of chip U201 is connected to interface 1 of wiring socket CN203, and interface 2 of wiring socket CN203 is grounded.
[0047] Pin 16 of chip U201 is connected to the source of MOS tube Q202 in the WIFI module, and pin 17 is connected to the source of MOS tube Q203 in the WIFI module.
[0048] Pins 18, 19 and 20 of chip U201 are all connected to the clock IC. In the clock IC, chip U203 uses clock chip DS1302, whose pin 8 is grounded through battery BT201, pin 7 is connected to pin 20 of chip U201, pin 6 is connected to pin 19 of chip U201, pin 5 is connected to pin 18 of chip U201, pin 4 is grounded, pin 3 is connected to pin 2 through crystal oscillator Y201, and pin 1 is connected to a 5V power supply and grounded through capacitor C206.
[0049] Pin 21 of chip U201 is grounded and connected to pin 23 through parallel capacitors C204 and C202, pin 22 is connected to the USB interface, and pin 23 is connected to a 5V power supply; in the USB interface, the emitter of transistor Q201 is connected to a 5V power supply, the base is connected to pin 22 of chip U201 through resistor R208, the collector is connected to interface 1 of the USB type-a interface USB201, and is also connected to the Vusb end, and interface 4 of the USB type-a interface USB201 is grounded.
[0050] Pin 24 of chip U201 is connected to pin 2 of the microcontroller serial port, pin 25 is connected to pin 3 of the microcontroller serial port, pin 1 of the microcontroller serial port is grounded, and pin 4 is connected to a 5V power supply.
[0051] Pin 26 of chip U201 is connected to the connection end of resistor R316 and resistor R315 in the power output control module, pin 27 is connected to the other end of resistor 304 in the power output control module, pin 28 is connected to an output end of chip U301 in the power output control module, pin 29 is connected to the other end of resistor R306 in the second other power output control unit, pin 30 is connected to the other end of resistor R307 in the third other power output control unit, and pin 31 is connected to the other end of resistor R305 in the first other power output control unit.
[0052] The present invention uses the temperature and humidity sensor in the integrated switch control of the fresh food ice-cold ultra-long preservation freezer door to obtain temperature and humidity information, report the information to the cloud, collect the freezer door switch signal, and turn on the power of the fresh-keeping machine only when the freezer door is closed and within the valid lease period. The lease period can be updated in the cloud, and the power supply of the fresh-keeping machine can be manually cut off. Up to 6 electric suction locks can be connected. After the lease period ends, the electric suction lock is controlled to be sucked in. At this time, the tenant cannot open the freezer door. After the power is turned off, the electric suction lock fails and the freezer door opens. The control panel integrates a real-time clock module, which can accurately calculate the lease period. Due to the button battery, the lease period can also be calculated when the power is off.
[0053] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. An integrated switch control device, It is characterized in that It includes a mains input protection circuit, a voltage-stabilizing switch power supply module, a power output control module, a WIFI module, a microprocessor and an electric lock switch arranged on a PCB board; the microprocessor is respectively connected to the mains input protection circuit, the voltage-stabilizing switch power supply module, the power output control module, the WIFI module, and the electric lock switch; In the voltage stabilizing switch power supply module, pin 8 of the voltage stabilizing chip U101 is connected to pin 1 through capacitor C102, pin 1 is connected to the power supply through inductor L102, one end of the inductor L102 is grounded through diode D101, and the other end is grounded through parallel patch capacitor EC102 and capacitor C103, pin 7 of the voltage stabilizing chip U1 is connected to pin 2 through resistor R104, and is also connected to wiring port J2 through parallel patch capacitor EC101 and capacitor C101, one end of the capacitor C101 is connected to the power supply, and the other end is grounded, pin 2 is also grounded through resistor R106, pin 6 of the voltage stabilizing chip U1 is grounded through resistor R103, pin 5 is grounded, pin 4 is connected to the power supply through resistor R108, and is also grounded through resistor R107, and pin 3 of the voltage stabilizing chip U1 is grounded through capacitor C104 and resistor R8105; The voltage-stabilizing switching power supply module adopts the mp1584 switching power supply chip to reduce the external input voltage and provide it to the single-chip microcomputer for use. It adopts an independent external mode and is connected to the control board through a wire. In the WIFI module, pins 3 and 8 of chip U202 are connected to the power supply, pins 9 and 17 are grounded, pin 16 is connected to MOS tube Q202 and resistor R202 respectively, the other end of resistor R202 is connected to the power supply, the gate of MOS tube Q202 is connected to the power supply, and the source is connected to the power supply through resistor R201, and pin 15 of chip U202 is connected to MOS tube Q203 and resistor R204 respectively, the other end of resistor R204 is connected to the power supply, the gate of MOS tube Q203 is connected to the power supply, and the source is connected to the power supply through resistor R203; The WIFI module also includes a step-down module. In the step-down module, chip U204 adopts an SPX1117 step-down chip, whose pin 3 is connected to the power supply, pin 1 is grounded, pins 2 and 4 are connected to the power supply, and are grounded through parallel capacitors C201 and C203.
2. The integrated switch control device according to claim 1, It is characterized in that In the AC input protection circuit, the varistor ZNR101 is connected in parallel with the safety capacitor CX101, the resistor R101, the inductor L101, the high-voltage ceramic safety capacitor CY101 and the high-voltage ceramic safety capacitor CY102 connected in series, and the safety capacitor CX102, respectively. The connection ends of the high-voltage ceramic safety capacitor CY101 and the high-voltage ceramic safety capacitor CY102 are grounded, one end of the varistor ZNR101 is connected to the AC live wire terminal ACL through the fuse F101, and the other end is connected to the AC neutral wire terminal ACN, and both ends of the safety capacitor CX102 are connected to the wiring port J101.
3. The integrated switch control device according to claim 2, It is characterized in that In the power output control module, one input end of the chip U301 is connected to the output end OUT1 through a diode D305, the other input end is connected to the output end OUT2 through a resistor R301 and a resistor R302, one output end is connected to the power supply through a photosensitive diode LED301 and a resistor R313, and at the same time, the output end is connected to the power supply and grounded through a capacitor C301, and the other output end is grounded, and an adjustable resistor VR301 is connected in series between the output end OUT1 and the output end OUT2 and is respectively connected to the two ends of the non-polar capacitor CX102. A switch K301 is connected in series between the adjustable resistor VR301 and the non-polar capacitor CX102. The switch K301 is connected in parallel with the diode D301, one end of which is connected to the power supply, and the other end is connected to the wiring socket CN301 through a resistor R314. The other end of the resistor R314 is grounded through resistors R315 and R316. The positive electrode of the diode D301 is connected to the collector of the transistor Q301. The emitter of the transistor Q301 is grounded, and the base is grounded through a resistor R308 and connected to the resistor R304.
4. The integrated switch control device according to claim 3, It is characterized in that The power output control module also includes multiple other power output control units, in which the switch K302 is connected in parallel with the adjustable resistor VR302 and connected to the wiring port J301, and is also connected in parallel with the diode D302, one end of which is connected to the power supply and the other end is connected to the transistor Q302. The two ends of the diode D302 are also connected in parallel with the series-connected resistor R312 and the photosensitive diode LED302. The emitter of the transistor Q302 is grounded, the base is grounded through the resistor R309, and is connected to the resistor R305.
5. The integrated switch control device according to claim 4, It is characterized in that In the electric locking switch, the positive and negative electrodes of the diode D401 are respectively connected to the wiring socket CN401, the negative electrode is connected to the power supply, and the positive electrode is connected to the drain of the MOS tube Q401. The source of the MOS tube Q401 is grounded, and the gate is grounded through the resistor R407 and connected to the resistor R401.
6. The integrated switch control device according to claim 5, It is characterized in that In the microprocessor, pins 1 and 32 of chip U201 are connected to program burning port J0, pin 2 is connected to the power indicator light, pins 3 and 4 are connected to the key switch, pins 5, 6 and 8 are connected to the temperature and humidity sensor, pin 7 is connected to the power supply and grounded through capacitor C205, pins 9, 10, 11, 12, 13 and 14 are connected to the electric lock switch, pin 15 is connected to the wiring socket CN203, pins 16 and 17 are connected to the WIFI module, pins 18, 19 and 20 are connected to the clock IC, pin 21 is grounded and connected to pin 23 through parallel capacitors C204 and C202, pin 22 is connected to the USB interface, pin 23 is connected to the power supply, pins 24 and 25 are connected to the microcontroller serial port, and pins 26, 27 and 28 are connected to the power output control module.
