Intelligent temperature and humidity controller
By designing the circuit structure of an intelligent temperature and humidity controller, and combining optocoupler isolation and microcontroller control, the shortcomings of existing temperature and humidity controllers in terms of anti-interference performance and cost are solved, achieving high-precision and low-cost temperature and humidity control, which is suitable for automatic and remote control in indoor and outdoor locations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- HANGZHOU WANXIANG POLYTECHNIC
- Filing Date
- 2025-10-23
- Publication Date
- 2026-07-24
AI Technical Summary
Existing intelligent temperature and humidity controllers are inadequate in terms of anti-interference performance and cost, and their level of intelligence is not high, making it difficult to meet the high-precision control requirements of indoor and outdoor locations.
An intelligent temperature and humidity controller was designed, comprising a power supply circuit, a signal sampling interface circuit, a main control circuit, a human-machine interface circuit, a signal isolation drive circuit, and a communication circuit. Signal isolation is achieved using optocoupler isolation and drive circuits, and a single-chip microcomputer controller is used for comprehensive analysis. It supports automatic and remote control and has an alarm function.
It achieves high-precision temperature and humidity control, has strong anti-interference capabilities, high cost performance, is suitable for indoor and outdoor locations, has automatic and remote control functions, and the system is safe and reliable.
Smart Images

Figure CN224553702U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of temperature and humidity control, specifically relating to a simple and practical intelligent temperature and humidity controller. Background Technology
[0002] Intelligent temperature and humidity controllers emerged in the mid-1990s. They integrate microelectronics, computer technology, and automatic testing technology. Currently, various intelligent temperature and humidity controller products have been designed and developed on the market, each containing a temperature and humidity sensor, an A / D converter, a signal processor, and a signal sampling interface circuit. Looking at the current market, there are numerous types of temperature and humidity controllers, and a dazzling array of related products. However, products that are truly suitable for indoor and outdoor environments, offering high temperature and humidity control accuracy, strong anti-interference capabilities, and a high cost-performance ratio are relatively few. Overall, domestically produced temperature and humidity controllers have the following shortcomings: low anti-interference performance, insufficient for adapting to strong interference in outdoor environments; relatively complex hardware circuit structure, resulting in high cost; and low level of intelligence, with products tending towards conservative and traditional designs.
[0003] To address the above problems, this utility model proposes a simple, practical, and novel intelligent temperature and humidity controller. This controller has a simple circuit structure, low cost, stable operation, strong anti-interference ability, and is suitable for both indoor and outdoor use. It has good cost performance and practical value, can realize automatic and remote control, has an alarm function, and the system is safe and reliable. Summary of the Invention
[0004] In view of the above-mentioned technical problems existing in the prior art, the present invention provides an intelligent temperature controller.
[0005] The intelligent temperature and humidity controller includes: a power supply circuit, a signal sampling interface circuit, a main control circuit, a human-machine interface circuit, a signal isolation drive circuit, and a communication circuit;
[0006] The power supply circuit is used to generate the 5V and 3.3V power required by the system.
[0007] The signal isolation drive circuit is connected to the main control circuit and the power supply circuit. It is used to receive the execution signal of the main control circuit and start the external actuator to regulate temperature and humidity through optocoupler isolation and drive circuit.
[0008] The main control circuit is connected to the power supply circuit, signal sampling interface circuit, human-machine dialogue circuit, signal isolation drive circuit and communication circuit. It is used to receive the sampled signal, perform comprehensive analysis, and then send control signals to control the stable operation of the system.
[0009] The human-machine dialogue circuit is connected to the main control circuit and the power supply circuit. It is used to send key request signals to the main control circuit and receive display signals from the main control board to realize human-machine dialogue.
[0010] The signal sampling interface circuit is connected to the main control circuit and the power supply circuit. It is used to receive dew point temperature, remote control, exhaust signal and refrigerant fault signal and transmit them to the main control circuit.
[0011] The communication circuit is connected to the main control circuit and the power supply circuit, and is used for signal communication with external devices.
[0012] The power supply circuit includes diodes D1 and D2, capacitors C1 to C8, inductor L1, power modules N1 and N2, LED VD1, resistor R1, and ground; wherein: the anode of diode D1 is connected to the IN terminal of the 12V input, and the other end of the 12V input is connected to ground; the cathode of diode D1 is connected to the anode of capacitor C1, one end of capacitor C5, and pin 1 of power module N1 at 12V; pin 2 of power module N1 is connected to one end of inductor L1 and the cathode of diode D2; the other end of inductor L1 is connected to the ground. One end of capacitors C6 and C7, the positive terminals of capacitors C2 and C3, pin 3 of power modules N1 and N2, and the positive terminal of LED VD1 are connected to a 5V power supply. The negative terminal of LED VD1 is connected to one end of resistor R1. Pin 2 of power module N2, one end of capacitor C8, and the positive terminal of capacitor C4 are connected to a 3.3V power supply. Pins 4 to 8 of power module N1, the positive terminal of diode D2, the negative terminals of capacitors C1 to C4, the other ends of capacitors C5 to C8, pin 1 of power module N2, and the other end of resistor R1 are connected to ground.
[0013] The signal sampling interface circuit includes capacitors C12-C15, resistor R6, resistor array RN1, connectors S1-S4, and ground; wherein: one end of capacitors C12-C15 and pin 2 of connectors S1-S4 are connected to ground; the other end of capacitor C12 is connected to pin 7 of resistor array RN1; the other ends of capacitors C13-C15 are connected to pins 2, 4, and 6 of resistor array RN1 respectively; pins 2, 4, and 6 of resistor array RN1 are connected to pins 1 of connectors S4, S3, and S2 respectively; one end of resistor R6 is connected to 3.3V; the other end of resistor R6 is connected to pin 8 of resistor array RN1 and pin 1 of connector S1; pins 1, 3, 5, and 7 of resistor array RN1 are connected to signals PB10, PB1, PB11, and PA3 respectively.
[0014] The main control circuit includes resistors R2-R5, crystal oscillator CY1, capacitors C9-C11, LED VD2, controller N3, programming interface X1, and ground. Specifically: pins 1, 9, 24, 36, and 48 of controller N3, pin 1 of programming interface X1, and one end of resistor R4 are connected to 3.3V; pins 8, 23, 35, and 47 of controller N3, one end of capacitors C9-C11, one end of resistor R5, and pin 4 of programming interface X1 are connected to ground; the other end of resistor R4 and capacitor C11 are connected to pin 7 of controller N3 for signal NRST; one end of resistor R2, one end of crystal oscillator CY1, and the other end of capacitor C9 are connected to pin 5 of controller N3 for signal OSCIN; crystal oscillator CY1, capacitor C10, and the other end of resistor R2 are connected to pin 6 of controller N3 for signal OSCOUT; and LED VD2... The positive terminal of VD2 is connected to 5V. The negative terminal of LED VD2 is connected to one end of resistor R3. The other end of resistor R3 is connected to pin 4 of controller N3 to signal PC15. The other end of resistor R5 is connected to pin 44 of controller N3 to signal BOOT0. Pins 2 and 3 of programming interface X1 are connected to pins 34 and 37 of controller N3 to signals SWDIO and SWCLK, respectively. Pins 2-4, 10-17, 19, 21, 22, 25-28, 29, 30, 31, 32, 38, 39, 40, 41, 42, and 43 of controller N3 are connected to signals PC13-PC15, PA0-PA7, PB1, PB10, PB11, KEY1-KEY4, PA8, TXD, RXD, COM-KZ, PA15, PB3, PB4, FMQK, CLK, and DIO, respectively.
[0015] The human-machine interface circuit includes a display module DIS1, a digital driver N4, resistors R7 and R8, capacitors C16 and C17, buttons KW1 to KW4, a resistor array RN2, and ground. Specifically: one end of resistor R7, pin 16 of digital driver N4, one end of capacitors C16 and C17, and pins 2, 4, 6, and 8 of resistor array RN2 are connected to 3.3V; one end of resistor R8, the other end of capacitors C16 and C17, one end of buttons KW1 to KW4, and pin 1 of digital driver N4 are connected to ground. The display module DIS1... Pins 1 to 4 of S1 are connected to signals DIG1 to DIG4 respectively. Pins 5 to 12 of display module DIS1 are connected to pins 2 to 9 of digital driver N4 to signals SEG1 to SEG8 respectively. Pins 12 to 15 of digital driver N4 are connected to signals DIG1 to DIG4. Pins 17 and 18 of digital driver N4 are connected to the other ends of resistors R8 and R7 to signals DIO and CLK respectively. The other ends of buttons KW1 to KW4 are connected to pins 1, 3, 5, and 7 of resistor array RN2 to signals KEY1 to KEY4 respectively.
[0016] The signal isolation drive circuit includes resistors R9-R11, optocoupler N5, driver N6, buzzer Y1, relays JK1-JK3, inserts J1-J6, plug-in JK4, and ground. Specifically: pin 8 of driver N6 and pin 4 of plug-in JK4 are connected to ground; one end of the buzzer and pins 12, 14, and 16 of optocoupler N5 are connected to 5V; pin 9 of driver N6 and pin 1 of relays JK1-JK3 are connected to 12V; one end of resistors R9-R11 is connected to signals PB4, PC14, and PA15 respectively; the other end of resistors R9-R11 is connected to pins 2, 4, and 6 of optocoupler N5 respectively; pins 1, 3, and 5 of optocoupler N5 are connected to signals PB3, PC13, and PA8 respectively; and pins 15, 13, and 11 of optocoupler N5 are connected to pins 1-3 of driver N6 to signals QD1K and QD1K respectively. Pin 4 of driver N6 (D2K, QD3K) is connected to signal FMQK. Pin 13 of driver N6 is connected to the other end of buzzer Y1 to signal FMQ. Pins 14 to 16 of driver N6 are connected to pins 2 of relays JK1 to JK3 to signals JDQ3K, JDQ2K, and JDQ1K, respectively. Pin 3 of relay JK3 is connected to pins 1 and 2 of plug-in J4. Pins 4 of relays JK2 and JK3, and pins 1 and 2 of plug-in J5 are connected to pin 1 of plug-in JK4 to power supply N. Pin 3 of relay JK2 is connected to pins 1 and 2 of plug-in J3. Pin 3 of relay JK1 is connected to pins 1 and 2 of plug-in J1. Pin 4 of relay JK1 is connected to pins 1 and 2 of plug-in J2. Pins 1 and 2 of plug-in J6 are connected to pin 2 of plug-in JK4 to power supply L. Pin 3 of plug-in JK4 is connected to signal IN.
[0017] The communication circuit includes plug-in S5, diodes D3-D5, resistors R12 and R13, capacitor C18, communication chip N7, and ground; wherein: the anodes of diodes D3 and D5, pin 5 of communication chip N7, and one end of capacitor C18 are connected to ground; the other end of capacitor C18 and pin 8 of communication chip N7 are connected to 3.3V; pin 1 of plug-in S5 is connected to the positive terminal of diode D4, the negative terminal of diode D5, and one end of resistor R13 to signal RS485B; the other end of resistor R13 is connected to pin 7 of communication chip N7; pin 2 of plug-in S5 is connected to the negative terminals of diodes D3 and D4 and one end of resistor R12 to signal RS485A; the other end of resistor R12 is connected to pin 6 of communication chip N7; pin 1 of communication chip N7 is connected to signal RXD; pins 2 and 3 of communication chip N7 are connected to signal COM-KZ; and pin 4 of communication chip N7 is connected to signal TXD.
[0018] This utility model discloses an intelligent temperature and humidity controller, comprising: a power supply circuit, a signal sampling interface circuit, a main control circuit, a human-machine interface circuit, a signal isolation drive circuit, and a communication circuit. The circuit utilizes sensors to sample external environmental temperature and humidity signals and transmits them to the main control circuit. The main control circuit uses a program to calculate and analyze the signals, issuing heating or airflow control signals to control the external environmental temperature and humidity. This controller has a simple circuit structure, low cost, stable operation, strong anti-interference capability, and is suitable for both indoor and outdoor use. It offers excellent cost-effectiveness and practical value, enabling automatic and remote control, and features an alarm function, ensuring system safety and reliability. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the overall structure of this utility model.
[0020] Figure 2 This is a schematic diagram of the power supply circuit.
[0021] Figure 3 This is a schematic diagram of the main control circuit.
[0022] Figure 4 This is a schematic diagram of a human-computer interaction circuit.
[0023] Figure 5 This is a schematic diagram of a signal isolation drive circuit.
[0024] Figure 6 This is a schematic diagram of the signal sampling interface circuit.
[0025] Figure 7 This is a schematic diagram of a communication circuit. Detailed Implementation
[0026] To describe the present invention in more detail, the technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] like Figure 1 As shown, the intelligent temperature and humidity controller includes: a power supply circuit, a signal sampling interface circuit, a main control circuit, a human-machine interface circuit, a signal isolation drive circuit, and a communication circuit.
[0028] The power supply circuit generates the 5V and 3.3V power required by the system. In this embodiment, the power supply circuit includes diodes D1 and D2, capacitors C1 to C8, inductor L1, power modules N1 and N2, light-emitting diode VD1, resistor R1, and ground. Figure 2As shown; wherein: the positive terminal of diode D1 is connected to the IN terminal of the 12V input, and the other end of the 12V input is connected to ground; the negative terminal of diode D1 is connected to the positive terminal of capacitor C1, one end of capacitor C5, and pin 1 of power module N1 to 12V; pin 2 of power module N1 is connected to one end of inductor L1 and the negative terminal of diode D2; the other end of inductor L1, one end of capacitors C6 and C7, the positive terminals of capacitors C2 and C3, pin 3 of power modules N1 and N2, and the positive terminal of LED VD1 are connected to a 5V power supply; the negative terminal of LED VD1 is connected to one end of resistor R1; pin 2 of power module N2, one end of capacitor C8, and the positive terminal of capacitor C4 are connected to 3.3V; pins 4 to 8 of power module N1, the positive terminal of diode D2, the negative terminals of capacitors C1 to C4, the other ends of capacitors C5 to C8, pin 1 of power module N2, and the other end of resistor R1 are connected to ground. This power supply circuit obtains 5V and 3.3V DC power to supply the system circuit through power module conversion and capacitor and inductor filtering.
[0029] The signal sampling interface circuit is connected to the main control circuit and the power supply circuit. It is used to receive dew point temperature, remote control, exhaust signal, and refrigerant fault signal and transmit them to the main control circuit. In this embodiment, the signal sampling interface circuit includes capacitors C12-15, resistor R6, resistor array RN1, connectors S1-S4, and ground. Figure 6 As shown; where: one end of capacitors C12-C15 and pin 2 of connectors S1-S4 are connected to ground; the other end of capacitor C12 is connected to pin 7 of resistor array RN1; the other ends of capacitors C13-C15 are connected to pins 2, 4, and 6 of resistor array RN1 respectively; pins 2, 4, and 6 of resistor array RN1 are connected to pins 1 of connectors S4, S3, and S2 respectively; one end of resistor R6 is connected to 3.3V; the other end of resistor R6 is connected to pin 8 of resistor array RN1 and pin 1 of connector S1; pins 1, 3, 5, and 7 of resistor array RN1 are connected to signals PB10, PB1, PB11, and PA3 respectively. The signal sampling interface circuit is used for external connection, sampling dew point temperature, remote control, exhaust, and refrigerant fault signals and feeding them back to the main controller.
[0030] The main control circuit is connected to the power supply circuit, signal sampling interface circuit, human-machine interface circuit, signal isolation drive circuit, and communication circuit. It is used to sample external environmental signals and transmit them to the main control circuit. In this embodiment, the main control circuit includes resistors R2-R5, crystal oscillator CY1, capacitors C9-C11, light-emitting diode VD2, controller N3, programming interface X1, and ground. Figure 3As shown; wherein: pins 1, 9, 24, 36, and 48 of controller N3, pin 1 of programming interface X1, and one end of resistor R4 are connected to 3.3V; pins 8, 23, 35, and 47 of controller N3, one end of capacitors C9-C11, one end of resistor R5, and pin 4 of programming interface X1 are connected to ground; the other end of resistor R4 and the other end of capacitor C11 are connected to pin 7 of controller N3 for signal NRST; one end of resistor R2, one end of crystal oscillator CY1, and the other end of capacitor C9 are connected to pin 5 of controller N3 for signal OSCIN; the other end of crystal oscillator CY1, capacitor C10, and resistor R2 are connected to pin 6 of controller N3 for signal OSCOUT; the positive terminal of LED VD2 is connected to 5V; the negative terminal of LED VD2 is connected to resistor R... One end of resistor R3 is connected to pin 4 of controller N3 to signal PC15. The other end of resistor R5 is connected to pin 44 of controller N3 to signal BOOT0. Pins 2 and 3 of programming interface X1 are connected to pins 34 and 37 of controller N3 to signals SWDIO and SWCLK, respectively. Pins 2-4, 10-17, 19, 21, 22, 25-28, 29, 30, 31, 32, 38, 39, 40, 41, 42, and 43 of controller N3 are connected to signals PC13-PC15, PA0-PA7, PB1, PB10, PB11, KEY1-KEY4, PA8, TXD, RXD, COM-KZ, PA15, PB3, PB4, FMQK, CLK, and DIO, respectively. The main control circuit uses a microcontroller to sample external temperature, humidity, refrigerant, and fault signals for comprehensive analysis. Then, it sends control signals to control the stable and reliable operation of the system and controls the airflow or heating level to achieve control of indoor and outdoor temperature and humidity.
[0031] The human-machine interface circuit is connected to the main control circuit and the power supply circuit. It sends button request signals to the main control circuit and receives display signals from the main control board to achieve human-machine interaction. In this embodiment, the human-machine interface circuit includes a display module DIS1, a digital driver N4, resistors R7 and R8, capacitors C16 and C17, buttons KW1 to KW4, a resistor array RN2, and ground. Figure 4As shown; wherein: one end of resistor R7, pin 16 of digital driver N4, one end of capacitors C16 and C17, and pins 2, 4, 6, and 8 of resistor array RN2 are connected to 3.3V; one end of resistor R8, the other end of capacitors C16 and C17, one end of buttons KW1 to KW4, and pin 1 of digital driver N4 are connected to ground; pins 1 to 4 of display module DIS1 are connected to signals DIG1 to DIG4 respectively; pins 5 to 12 of display module DIS1 are connected to pins 2 to 9 of digital driver N4 to signals SEG1 to SEG8 respectively; pins 12 to 15 of digital driver N4 are connected to signals DIG1 to DIG4; pins 17 and 18 of digital driver N4 are connected to the other end of resistors R8 and R7 to signals DIO and CLK respectively; and the other ends of buttons KW1 to KW4 are connected to pins 1, 3, 5, and 7 of resistor array RN2 to signals KEY1 to KEY4 respectively. The human-computer interaction circuit consists of two parts: buttons and a display. Buttons are used to send commands to the system, and the display is used by the system to show the user the system's operating status, thus realizing human-computer interaction.
[0032] The signal isolation drive circuit is connected to the main control circuit and the power supply circuit. It receives execution signals from the main control circuit and activates an external actuator for temperature and humidity regulation via optocoupler isolation and the drive circuit. In this embodiment, the signal isolation drive circuit includes resistors R9-R11, optocoupler N5, driver N6, buzzer Y1, relays JK1-JK3, inserts J1-J6, plug-in JK4, and ground. Figure 5As shown; wherein: pin 8 of driver N6 and pin 4 of plug-in JK4 are connected to ground; one end of the buzzer and pins 12, 14, and 16 of optocoupler N5 are connected to 5V; pin 9 of driver N6 and pin 1 of relays JK1-JK3 are connected to 12V; one end of resistors R9-R11 is connected to signals PB4, PC14, and PA15 respectively; the other end of resistors R9-R11 is connected to pins 2, 4, and 6 of optocoupler N5 respectively; pins 1, 3, and 5 of optocoupler N5 are connected to signals PB3, PC13, and PA8 respectively; pins 15, 13, and 11 of optocoupler N5 are connected to pins 1-3 of driver N6 to signals QD1K, QD2K, and QD3K respectively; pin 4 of driver N6 is connected to signal FMQK; driver N6... Pin 13 is connected to the other end of buzzer Y1 to signal FMQ. Pins 14-16 of driver N6 are connected to pins 2 of relays JK1-JK3 to signals JDQ3K, JDQ2K, and JDQ1K, respectively. Pin 3 of relay JK3 is connected to pins 1 and 2 of connector J4. Pins 4 of relays JK2 and JK3, and pins 1 and 2 of connector J5 are connected to pin 1 of connector JK4 to power supply N. Pin 3 of relay JK2 is connected to pins 1 and 2 of connector J3. Pin 3 of relay JK1 is connected to pins 1 and 2 of connector J1. Pin 4 of relay JK1 is connected to pins 1 and 2 of connector J2. Pins 1 and 2 of connector J6 are connected to pin 2 of connector JK4 to power supply L. Pin 3 of connector JK4 is connected to signal IN. The signal isolation drive circuit mainly consists of two parts: an optocoupler for signal isolation and anti-interference, and a drive circuit for amplifying current to drive external relays.
[0033] The communication circuit is connected to the main control circuit and the power supply circuit, and is used for signal communication with external devices. In this embodiment, the communication circuit includes plug-in S5, diodes D3-D5, resistors R12 and R13, capacitor C18, communication chip N7, and ground. Figure 7 As shown; where: the anodes of diodes D3 and D5, pin 5 of communication chip N7, and one end of capacitor C18 are connected to ground; the other end of capacitor C18 and pin 8 of communication chip N7 are connected to 3.3V; pin 1 of connector S5 is connected to the positive terminal of diode D4, the negative terminal of diode D5, and one end of resistor R13 to signal RS485B; the other end of resistor R13 is connected to pin 7 of communication chip N7; pin 2 of connector S5 is connected to the negative terminals of diodes D3 and D4 and one end of resistor R12 to signal RS485A; the other end of resistor R12 is connected to pin 6 of communication chip N7; pin 1 of communication chip N7 is connected to signal RXD; pins 2 and 3 of communication chip N7 are connected to signal COM-KZ; and pin 4 of communication chip N7 is connected to signal TXD. The communication circuit uses an RS485 communication interface to enable communication between the system and external devices, realizing remote control of the system.
[0034] This implementation utilizes external sensors to sample ambient temperature and humidity signals, feeding them back to the main control circuit. The main control circuit then uses a program to calculate and analyze the signals, issuing heating or ventilation control signals to control indoor and outdoor temperature and humidity. Simultaneously, the controller connects to an external handheld server via a communication circuit, enabling remote monitoring and control of the system. This device features a simple circuit structure, low cost, energy efficiency, strong anti-interference capabilities, and excellent cost-effectiveness and practical value. It enables automatic and remote control, has an alarm function, and is safe and reliable. It is suitable for indoor and outdoor residences, factories, restaurants, airports, and other public and private locations, with wide applications.
Claims
1. Intelligent temperature and humidity controller, including: The circuit comprises a power supply circuit, a signal sampling interface circuit, a main control circuit, a human-machine interface circuit, a signal isolation drive circuit, and a communication circuit; its features are: The power supply circuit is used to generate the 5V and 3.3V power required by the system. The signal sampling interface circuit is connected to the main control circuit and the power supply circuit. It is used to receive dew point temperature, remote control, exhaust signal and refrigerant fault signal and transmit them to the main control circuit. The main control circuit is connected to the power supply circuit, signal sampling interface circuit, human-machine dialogue circuit, signal isolation drive circuit and communication circuit. It is used to receive the sampled signal, perform comprehensive analysis, and then send control signals to control the stable operation of the system. The human-machine dialogue circuit is connected to the main control circuit and the power supply circuit. It is used to send key request signals to the main control circuit and receive display signals from the main control board to realize human-machine dialogue. The signal isolation drive circuit is connected to the main control circuit and the power supply circuit. It is used to receive the execution signal of the main control circuit and start the external actuator to regulate temperature and humidity through optocoupler isolation and drive circuit. The communication circuit is connected to the main control circuit and the power supply circuit, and is used for signal communication with external devices.
2. The intelligent temperature and humidity controller according to claim 1, characterized in that: The power supply circuit includes diodes D1 and D2, capacitors C1 to C8, inductor L1, power modules N1 and N2, LED VD1, resistor R1, and ground; wherein: the anode of diode D1 is connected to the IN terminal of the 12V input, and the other end of the 12V input is connected to ground; the cathode of diode D1 is connected to the anode of capacitor C1, one end of capacitor C5, and pin 1 of power module N1 at 12V; pin 2 of power module N1 is connected to one end of inductor L1 and the cathode of diode D2; the other end of inductor L1 is connected to the ground. One end of capacitors C6 and C7, the positive terminals of capacitors C2 and C3, pin 3 of power modules N1 and N2, and the positive terminal of LED VD1 are connected to a 5V power supply. The negative terminal of LED VD1 is connected to one end of resistor R1. Pin 2 of power module N2, one end of capacitor C8, and the positive terminal of capacitor C4 are connected to a 3.3V power supply. Pins 4 to 8 of power module N1, the positive terminal of diode D2, the negative terminals of capacitors C1 to C4, the other ends of capacitors C5 to C8, pin 1 of power module N2, and the other end of resistor R1 are connected to ground.
3. The intelligent temperature and humidity controller according to claim 1, characterized in that: The signal sampling interface circuit includes capacitors C12-C15, resistor R6, resistor array RN1, connectors S1-S4, and ground; wherein: one end of capacitors C12-C15 and pin 2 of connectors S1-S4 are connected to ground; the other end of capacitor C12 is connected to pin 7 of resistor array RN1; the other ends of capacitors C13-C15 are connected to pins 2, 4, and 6 of resistor array RN1 respectively; pins 2, 4, and 6 of resistor array RN1 are connected to pins 1 of connectors S4, S3, and S2 respectively; one end of resistor R6 is connected to 3.3V; the other end of resistor R6 is connected to pin 8 of resistor array RN1 and pin 1 of connector S1; pins 1, 3, 5, and 7 of resistor array RN1 are connected to signals PB10, PB1, PB11, and PA3 respectively.
4. The intelligent temperature and humidity controller according to claim 1, characterized in that: The main control circuit includes resistors R2-R5, crystal oscillator CY1, capacitors C9-C11, LED VD2, controller N3, programming interface X1, and ground. Specifically: pins 1, 9, 24, 36, and 48 of controller N3, pin 1 of programming interface X1, and one end of resistor R4 are connected to 3.3V; pins 8, 23, 35, and 47 of controller N3, one end of capacitors C9-C11, one end of resistor R5, and pin 4 of programming interface X1 are connected to ground; the other end of resistor R4 and capacitor C11 are connected to pin 7 of controller N3 for signal NRST; one end of resistor R2, one end of crystal oscillator CY1, and the other end of capacitor C9 are connected to pin 5 of controller N3 for signal OSCIN; crystal oscillator CY1, capacitor C10, and the other end of resistor R2 are connected to pin 6 of controller N3 for signal OSCOUT; and LED VD2... The positive terminal of VD2 is connected to 5V. The negative terminal of LED VD2 is connected to one end of resistor R3. The other end of resistor R3 is connected to pin 4 of controller N3 to signal PC15. The other end of resistor R5 is connected to pin 44 of controller N3 to signal BOOT0. Pins 2 and 3 of programming interface X1 are connected to pins 34 and 37 of controller N3 to signals SWDIO and SWCLK, respectively. Pins 2-4, 10-17, 19, 21, 22, 25-28, 29, 30, 31, 32, 38, 39, 40, 41, 42, and 43 of controller N3 are connected to signals PC13-PC15, PA0-PA7, PB1, PB10, PB11, KEY1-KEY4, PA8, TXD, RXD, COM-KZ, PA15, PB3, PB4, FMQK, CLK, and DIO, respectively.
5. The intelligent temperature and humidity controller according to claim 1, characterized in that: The human-machine interface circuit includes a display module DIS1, a digital driver N4, resistors R7 and R8, capacitors C16 and C17, buttons KW1 to KW4, a resistor array RN2, and ground. Specifically: one end of resistor R7, pin 16 of digital driver N4, one end of capacitors C16 and C17, and pins 2, 4, 6, and 8 of resistor array RN2 are connected to 3.3V; one end of resistor R8, the other end of capacitors C16 and C17, one end of buttons KW1 to KW4, and pin 1 of digital driver N4 are connected to ground. The display module DIS1... Pins 1 to 4 of S1 are connected to signals DIG1 to DIG4 respectively. Pins 5 to 12 of display module DIS1 are connected to pins 2 to 9 of digital driver N4 to signals SEG1 to SEG8 respectively. Pins 12 to 15 of digital driver N4 are connected to signals DIG1 to DIG4. Pins 17 and 18 of digital driver N4 are connected to the other ends of resistors R8 and R7 to signals DIO and CLK respectively. The other ends of buttons KW1 to KW4 are connected to pins 1, 3, 5, and 7 of resistor array RN2 to signals KEY1 to KEY4 respectively.
6. The intelligent temperature and humidity controller according to claim 1, characterized in that: The signal isolation drive circuit includes resistors R9-R11, optocoupler N5, driver N6, buzzer Y1, relays JK1-JK3, inserts J1-J6, plug-in JK4, and ground. Specifically: pin 8 of driver N6 and pin 4 of plug-in JK4 are connected to ground; one end of the buzzer and pins 12, 14, and 16 of optocoupler N5 are connected to 5V; pin 9 of driver N6 and pin 1 of relays JK1-JK3 are connected to 12V; one end of resistors R9-R11 is connected to signals PB4, PC14, and PA15 respectively; the other end of resistors R9-R11 is connected to pins 2, 4, and 6 of optocoupler N5 respectively; pins 1, 3, and 5 of optocoupler N5 are connected to signals PB3, PC13, and PA8 respectively; and pins 15, 13, and 11 of optocoupler N5 are connected to pins 1-3 of driver N6 to signals QD1K and QD1K respectively. Pin 4 of driver N6 (D2K, QD3K) is connected to signal FMQK. Pin 13 of driver N6 is connected to the other end of buzzer Y1 to signal FMQ. Pins 14 to 16 of driver N6 are connected to pins 2 of relays JK1 to JK3 to signals JDQ3K, JDQ2K, and JDQ1K, respectively. Pin 3 of relay JK3 is connected to pins 1 and 2 of plug-in J4. Pins 4 of relays JK2 and JK3, and pins 1 and 2 of plug-in J5 are connected to pin 1 of plug-in JK4 to power supply N. Pin 3 of relay JK2 is connected to pins 1 and 2 of plug-in J3. Pin 3 of relay JK1 is connected to pins 1 and 2 of plug-in J1. Pin 4 of relay JK1 is connected to pins 1 and 2 of plug-in J2. Pins 1 and 2 of plug-in J6 are connected to pin 2 of plug-in JK4 to power supply L. Pin 3 of plug-in JK4 is connected to signal IN.
7. The intelligent temperature and humidity controller according to claim 1, characterized in that: The communication circuit includes plug-in S5, diodes D3-D5, resistors R12 and R13, capacitor C18, communication chip N7, and ground; wherein: the anodes of diodes D3 and D5, pin 5 of communication chip N7, and one end of capacitor C18 are connected to ground; the other end of capacitor C18 and pin 8 of communication chip N7 are connected to 3.3V; pin 1 of plug-in S5 is connected to the positive terminal of diode D4, the negative terminal of diode D5, and one end of resistor R13 to signal RS485B; the other end of resistor R13 is connected to pin 7 of communication chip N7; pin 2 of plug-in S5 is connected to the negative terminals of diodes D3 and D4 and one end of resistor R12 to signal RS485A; the other end of resistor R12 is connected to pin 6 of communication chip N7; pin 1 of communication chip N7 is connected to signal RXD; pins 2 and 3 of communication chip N7 are connected to signal COM-KZ; and pin 4 of communication chip N7 is connected to signal TXD.