Smart home control system
By integrating pressure sensing, infrared sensing, temperature and humidity sensing, smoke detection and other modules into the smart home control system, and using the STM32F030C6 chip, the problem of the existing system's inability to achieve multi-device linkage control and poor stability is solved, improving the convenience of the system. performance, stability and security, enhancing competitiveness.
Patent Information
- Application Number
- CN202420709068.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-04-08
AI Technical Summary
Existing mid-priced smart home systems cannot achieve linkage control of multiple devices, and have poor operational stability and are prone to malfunctions and crashes, which hinders the development of smart home control systems.
A smart home control system is designed, including the connection between the main control module and the pressure sensing module, infrared sensing module, temperature and humidity sensing module, smoke detection and alarm module, intelligent light control module, air conditioning control module, door and window control module and WIFI communication module , through the comprehensive use of these modules, the control of smart lights, air conditioners, doors and windows is realized, and the STM32F030C6 chip is used to reduce costs and improve stability.
It realizes the control of multiple terminal devices, improves the operational convenience, stability and security of the system, reduces product costs, and enhances product competitiveness.
Smart Images

Figure CN221860874U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of intelligent home control, in particular to an intelligent home control system. Background Art
[0002] Smart home systems are becoming one of the hottest trends that young people are pursuing. They use intelligent devices and Internet technology to achieve intelligent management and control of the home environment, providing users with a more convenient, comfortable and safe living experience. However, most of the existing mid-priced smart home systems can only control one terminal device, and cannot achieve linkage control of multiple devices; at the same time, mid-priced smart home systems have poor operating stability and are prone to malfunctions and freezes, which greatly hinders the development of smart home control systems. Utility Model Content
[0003] In order to solve the shortcomings and deficiencies of the prior art, a smart home control system is provided, thereby solving the problem that the existing medium-priced smart home systems cannot realize the linkage control of multiple devices and have unstable operation.
[0004] A smart home control system provided to achieve the purpose of the utility model includes a main control module, which is connected to a pressure sensing module and an infrared sensing module to sense the dynamics of personnel. The main control module is connected to a temperature and humidity sensing module, a smoke detection alarm module, an intelligent light control module, an air conditioning control module and a door and window control module to control the opening and closing of intelligent lights, air conditioners and doors and windows through feedback of temperature, humidity and smoke signals. The main control module is also connected to a time setting module to control the opening and closing of intelligent lights, air conditioners and doors and windows through time setting. The main control module is connected to a WIFI communication module to achieve remote control and debugging.
[0005] As a further improvement of the above scheme, the circuit of the main control module includes a chip U1, resistors R1-R3, capacitors C1-C3, a crystal oscillator Y1 and a micro switch S1. Pins 10-17, 29-33, and 38 of the chip U2 are respectively connected to PA0-PA12 and PA15, and pins 18-20, 39-42, and 45-46 are respectively connected to PB0-PB6 and PB8-PB9. Pin 34 is connected to one end of the resistor R1, pin 37 is connected to one end of the resistor R2, and pin 5 is connected to one end of the capacitor C1. , one end of the crystal oscillator Y1, pin 6 is connected to one end of the capacitor C2 and the other end of the crystal oscillator Y1, pin 7 is connected to one end of the resistor R3, one end of the microswitch S1, and one end of the capacitor C3, pins 1, 9, 24, and 48 are all connected to the VCC power supply and the other end of the resistor R3, pins 8, 23, 44, and 47 are all grounded, the other ends of the resistors R1-R2 are all connected to the VCC power supply, the other ends of the capacitors C1-C3 and the other end of the microswitch S1 are all grounded; wherein the chip U1 selects the STM32F030C6 chip.
[0006] As a further improvement of the above scheme, the circuit of the pressure sensing module includes a chip U2, a toggle switch S2-S3, resistors R4-R23 and a dual operational amplifier U1A-U4A, wherein pin 1 of the chip U2 is connected to PA4, pin 3 is connected to pins 1-4 of the toggle switch S2, pin 4 is grounded, pins 5-6 are connected to PA6, pin 7 is connected to PA5, pin 8 is connected to the VCC power supply, and pin 5 of the toggle switch S2 is connected to pin 1-4 of the dual operational amplifier U1A. Pin 1 is connected to one end of resistor R20, pin 6 is connected to contact point 1 of dual operational amplifier U2A and one end of resistor R21, pin 7 is connected to contact point 1 of dual operational amplifier U3A and one end of resistor R22, pin 8 is connected to contact point 1 of dual operational amplifier U4A and one end of resistor R23, contact point 2 of dual operational amplifier U1A is connected to the other end of resistor R20 and one end of resistors R4-R7, contact point 2 of dual operational amplifier U2A is connected to the other end of resistor R21 and resistor R 8-R11, the contact 2 of the dual operational amplifier U3A is connected to the other end of the resistor R22 and one end of the resistors R12-R15, the contact 2 of the dual operational amplifier U4A is connected to the other end of the resistor R23 and one end of the resistors R16-R19, the contact 3 of the dual operational amplifiers U1A-U4A is grounded, the contact 8 of the dual operational amplifiers U1A and U4A and the contact 4 of the dual operational amplifiers U2A and U3A are connected to the VCC power supply, the resistor R4 The other ends of the resistors R5, R9, R13, R17 are connected to pin 6 of the 1 / 4 toggle switch S3, the other ends of the resistors R6, R10, R14, R18 are connected to pin 7 of the 1 / 4 toggle switch S3, the other ends of the resistors R7, R11, R15, R19 are connected to pin 8 of the 1 / 4 toggle switch S3 are connected to the VCC power supply.
[0007] As a further improvement of the above scheme, the circuit of the infrared sensing module includes chips U3-U4 and capacitor C4, pin 1 of the chip U3 is connected to the VCC power supply, pin 2 is connected to PB8, pin 3 is connected to pin 3 of chip U4 and one end of capacitor C4, pin 4 is grounded, pins 1-2 of the chip U4 are all grounded, pin 4 is connected to the other end of capacitor C4 and then grounded, and pins 5-6 are connected to PA10 and PA9 respectively.
[0008] As a further improvement of the above scheme, the circuit of the temperature and humidity sensing module includes a chip U5 and a resistor R24, pin 1 of the chip U5 is connected to one end of the resistor R24 and then connected to the VCC power supply, pin 2 is connected to the other end of the resistor R24 and PA7, and pin 4 is grounded.
[0009] As a further improvement of the above scheme, the circuit of the smoke detection alarm module includes a chip U6, a smoke sensor MQ, an NPN transistor Q1, a buzzer BZ1, resistors R25-R26, R31-R32 and capacitors C5, C8-C9, pin 1 of the chip U6 is connected to PA15, pin 2 is connected to one end of the capacitor C5, one end of the resistor R26 and contacts 4 and 6 of the smoke sensor MQ, pin 4 is grounded, pins 5-6 are connected to PA1, pin 7 is connected to PA0, pin 8 is connected to the VCC power supply, and contacts 1-3 of the smoke sensor MQ are connected to the VCC power supply. The contact 5 is connected to one end of the resistor R25, the other ends of the resistors R25-R26 and the other end of the capacitor C5 are grounded, one end of the buzzer BZ1 is connected to the collector of the NPN transistor Q1 and one end of the capacitor C9, and the other end is connected to one end of the capacitor C8, the other end of the capacitor C9 and the VCC power supply, the base of the NPN transistor Q1 is connected to one end of the capacitor C10 and one end of the resistors R31-R32, the emitter is connected to the other end of the capacitor C10 and the other end of the resistor R32 and then grounded, the other end of the resistor R31 is connected to PB6, and the other end of the capacitor C8 is grounded.
[0010] As a further improvement of the above scheme, the circuit of the intelligent light control module includes a relay K1, a light bulb D, a battery pack H1 and switches S4-S5, wherein pin 1 of the relay K1 is connected to the VCC power supply, pin 2 is grounded, pin 3 is connected to one end of the switch S5, pin 4 is connected to contact 1 of the switch S4, pin 5 is connected to one end of the light bulb D, pin 6 is connected to contact 2 of the switch S4, the other end of the switch S5 is connected to PB4, the other end of the light bulb D is connected to the positive electrode of the battery pack H1, and the negative electrode of the battery pack H1 is connected to contact 3 of the switch S4. The circuit of the air-conditioning control module includes a relay K2, an air-conditioning motor M0, a battery pack H2 and a switch S6-S7, wherein pin 1 of the relay K2 is connected to the VCC power supply, pin 2 is grounded, pin 3 is connected to one end of the switch S7, pin 4 is connected to contact 3 of the switch S6, pin 5 is connected to pin 1 of the switch S6, pin 6 is connected to contact 1 of the air-conditioning motor M0, the other end of the switch S7 is connected to PB5, contact 2 of the switch S6 is connected to the positive electrode of the battery pack H2, and the negative electrode of the battery pack H2 is connected to contact 2 of the air-conditioning motor M0.
[0011] As a further improvement of the above scheme, the circuit of the door and window control module includes a chip U7, diodes D1-D8 and motors M1-M2, pin 2 of the chip U7 is connected to the positive electrode of the diode D1, the negative electrode of the diode D3 and the contact 2 of the motor M1, pin 3 is connected to the positive electrode of the diode D2, the negative electrode of the diode D4 and the contact 1 of the motor M1, pins 4, 6, 9 and 11 are all connected to the VCC power supply, pins 5, 7, 12 and 10 are respectively connected to PB0-PB3, pin 13 is connected to the positive electrode of the diode D6, the negative electrode of the diode D8 and the contact 1 of the motor M2, pin 14 is connected to the positive electrode of the diode D5, the negative electrode of the diode D7 and the contact 2 of the motor M2, pins 1, 8 and 15 are all grounded, the negative electrodes of the diodes D1-D2 and D5-D6 are connected to the VCC power supply, and the positive electrodes of the diodes D3-D4 and D7-D8 are all grounded.
[0012] As a further improvement of the above scheme, the circuit of the time setting module includes a chip U8, a crystal oscillator Y2 and capacitors C6-C7, pin 1 of the chip U8 is connected to the VCC power supply, pin 2 is connected to one end of the crystal oscillator Y2 and one end of the capacitor C6, pin 3 is connected to the other end of the crystal oscillator Y2 and one end of the capacitor C7, pin 4 is grounded, pins 5-7 are respectively connected to PA12, PA11, and PA8, and the other end of the capacitor C6-C7 is grounded.
[0013] As a further improvement of the above scheme, the circuit of the WIFI communication module includes a chip U9 and resistors R27-R30, pin 1 of the chip U9 is connected to one end of the resistor R27, pin 3 is connected to one end of the resistor R28, pin 8 is connected to the other end of the resistor R27, pin 15 is connected to one end of the resistor R30 and then grounded, pin 16 is connected to the other end of the resistor R30, pin 18 is connected to one end of the resistor R29, pins 21-22 are respectively connected to PA2-PA3, the other end of the resistor R28 is connected to PB9, and the other end of the resistor R29 is connected to the VCC power supply.
[0014] The beneficial effects of the utility model are:
[0015] Compared with the prior art, the utility model provides a smart home control system, which comprehensively determines the number of people in the room through a pressure sensing module and an infrared sensing module, and controls the smart light control module, the air-conditioning control module and the door and window control module in combination with the indoor temperature and humidity signals collected by the temperature and humidity sensing module and the time information provided by the clock module to realize the opening and closing of the smart lights, air conditioners, doors and windows; at the same time, the handheld mobile terminal sets the working time interval of the smart light control module, the air-conditioning control module and the door and window control module to automatically work through the WIFI communication module to realize the automatic opening and closing of the smart lights, air conditioners, doors and windows; in addition, the main control module adopts the STM32F030C6 chip, which reduces the overall cost, and the STM32F030C6 chip can be burned with programs at any time, which improves the convenience of adding home appliances. The STM32F030C6 chip has low maintenance cost and high stability, which can improve the stability of home appliance control under the premise of reducing product cost, and effectively improve the competitiveness of the product; finally, the smoke detection alarm module works around the clock, detects the indoor smoke concentration in real time, and effectively improves safety.
[0016] In summary, this smart home control system realizes the control of multiple terminal devices and improves the convenience, stability and security of system operation while effectively reducing product costs, making it more competitive than mid-priced smart home control systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the principle of the utility model;
[0018] Figure 2 This is a circuit connection diagram of the main control module in the utility model;
[0019] Figure 3 This is a circuit connection diagram of the pressure sensing module in the utility model;
[0020] Figure 4 This is a circuit connection diagram of the infrared sensing module of the utility model;
[0021] Figure 5 This is a circuit connection diagram of the temperature and humidity sensing module of the utility model;
[0022] Figure 6 This is the circuit connection diagram of the smoke detection alarm module in this utility model
[0023] Figure 7 This is a circuit connection diagram of the intelligent light control module in the utility model;
[0024] Figure 8 This is a circuit connection diagram of the air conditioning control module in the utility model;
[0025] Fig. 9This is a circuit connection diagram of the door and window control module in the utility model;
[0026] Fig.10 This is a circuit connection diagram of the time setting module in the utility model;
[0027] Fig.11 This is a circuit connection diagram of the WIFI communication module in the utility model. DETAILED DESCRIPTION
[0028] The following is a further detailed description of the specific implementation of the utility model in conjunction with the accompanying drawings:
[0029] according to Figure 1 As shown, the utility model provides a smart home control system, including a main control module, the main control module is connected to a pressure sensing module and an infrared sensing module, and is used to sense the dynamics of personnel, the main control module is connected to a temperature and humidity sensing module, a smoke detection alarm module, an intelligent light control module, an air conditioning control module, and a door and window control module, and is used to control the opening and closing of intelligent lights, air conditioners, and doors and windows through feedback of temperature, humidity, and smoke signals, the main control module is also connected to a time setting module, and is used to control the opening and closing of intelligent lights, air conditioners, and doors and windows through time setting, and the main control module is connected to a WIFI communication module to realize remote control and debugging.
[0030] according to Figure 2 As shown, the circuit of the main control module includes a chip U1, resistors R1-R3, capacitors C1-C3, a crystal oscillator Y1 and a micro switch S1. Pins 10-17, 29-33, and 38 of the chip U2 are connected to PA0-PA12 and PA15 respectively, pins 18-20, 39-42, and 45-46 are connected to PB0-PB6 and PB8-PB9 respectively, pin 34 is connected to one end of the resistor R1, pin 37 is connected to one end of the resistor R2, and pin 5 is connected to One end of capacitor C1 is connected to one end of crystal oscillator Y1, pin 6 is connected to one end of capacitor C2 and the other end of crystal oscillator Y1, pin 7 is connected to one end of resistor R3, one end of micro switch S1, and one end of capacitor C3, pins 1, 9, 24, and 48 are all connected to the VCC power supply and the other end of resistor R3, pins 8, 23, 44, and 47 are all grounded, the other ends of the resistors R1-R2 are all connected to the VCC power supply, and the other ends of the capacitors C1-C3 and the other end of the micro switch S1 are all grounded.
[0031] according to Figure 3As shown, the circuit of the pressure sensing module includes a chip U2, a toggle switch S2-S3, resistors R4-R23 and a dual operational amplifier U1A-U4A, wherein pin 1 of the chip U2 is connected to PA4, pin 3 is connected to pins 1-4 of the toggle switch S2, pin 4 is grounded, pins 5-6 are connected to PA6, pin 7 is connected to PA5, pin 8 is connected to the VCC power supply, pin 5 of the toggle switch S2 is connected to contact 1 of the dual operational amplifier U1A, resistor R2 0, pin 6 is connected to the contact 1 of the dual operational amplifier U2A and one end of the resistor R21, pin 7 is connected to the contact 1 of the dual operational amplifier U3A and one end of the resistor R22, pin 8 is connected to the contact 1 of the dual operational amplifier U4A and one end of the resistor R23, the contact 2 of the dual operational amplifier U1A is connected to the other end of the resistor R20 and one end of the resistors R4-R7, the contact 2 of the dual operational amplifier U2A is connected to the other end of the resistor R21 and the resistors R8-R11 The contact point 2 of the dual operational amplifier U3A is connected to the other end of the resistor R22 and one end of the resistors R12-R15. The contact point 2 of the dual operational amplifier U4A is connected to the other end of the resistor R23 and one end of the resistors R16-R19. The contact points 3 of the dual operational amplifiers U1A-U4A are all grounded. The contact points 8 of the dual operational amplifiers U1A and U4A and the contact points 4 of the dual operational amplifiers U2A and U3A are all connected to the VCC power supply. The resistors R4, R The other ends of the resistors R8, R12 and R16 are connected to the pin 5 of the 10-way toggle switch S3, the other ends of the resistors R5, R9, R13 and R17 are connected to the pin 6 of the 10-way toggle switch S3, the other ends of the resistors R6, R10, R14 and R18 are connected to the pin 7 of the 10-way toggle switch S3, the other ends of the resistors R7, R11, R15 and R19 are connected to the pin 8 of the 10-way toggle switch S3, and the pins 1-4 of the 10-way toggle switch S3 are connected to the VCC power supply.
[0032] according to Figure 4 As shown, the circuit of the infrared sensing module includes chips U3-U4 and capacitor C4, pin 1 of the chip U3 is connected to the VCC power supply, pin 2 is connected to PB8, pin 3 is connected to pin 3 of chip U4 and one end of capacitor C4, pin 4 is grounded, pins 1-2 of the chip U4 are all grounded, pin 4 is connected to the other end of capacitor C4 and then grounded, and pins 5-6 are connected to PA10 and PA9 respectively.
[0033] according to Figure 5 As shown, the circuit of the temperature and humidity sensing module includes a chip U5 and a resistor R24, wherein the pin 1 of the chip U5 is connected to one end of the resistor R24 and then to the VCC power supply, the pin 2 is connected to the other end of the resistor R24 and PA7, and the pin 4 is grounded.
[0034] according to Figure 6 As shown, the circuit of the smoke detection alarm module includes a chip U6, a smoke sensor MQ, an NPN transistor Q1, a buzzer BZ1, resistors R25-R26, R31-R32 and capacitors C5, C8-C10, pin 1 of the chip U6 is connected to PA15, pin 2 is connected to one end of the capacitor C5, one end of the resistor R26 and contacts 4 and 6 of the smoke sensor MQ, pin 4 is grounded, pins 5-6 are connected to PA1, pin 7 is connected to PA0, pin 8 is connected to the VCC power supply, contacts 1-3 of the smoke sensor MQ are connected to the VCC power supply, and contact 5 is connected to the ground. It is connected to one end of the resistor R25, the other ends of the resistors R25-R26 and the other end of the capacitor C5 are all grounded, one end of the buzzer BZ1 is connected to the collector of the NPN transistor Q1 and one end of the capacitor C9, and the other end is connected to one end of the capacitor C8, the other end of the capacitor C9 and the VCC power supply, the base of the NPN transistor Q1 is connected to one end of the capacitor C10 and one end of the resistors R31-R32, the emitter is connected to the other end of the capacitor C10 and the other end of the resistor R32 and then grounded, the other end of the resistor R31 is connected to PB6, and the other end of the capacitor C8 is grounded.
[0035] according to Figure 7 As shown, the circuit of the smart light control module includes a relay K1, a light bulb D, a battery pack H1 and switches S4-S5, wherein pin 1 of the relay K1 is connected to the VCC power supply, pin 2 is grounded, pin 3 is connected to one end of the switch S5, pin 4 is connected to the contact 1 of the switch S4, pin 5 is connected to one end of the light bulb D, pin 6 is connected to the contact 2 of the switch S4, the other end of the switch S5 is connected to PB4, the other end of the light bulb D is connected to the positive electrode of the battery pack H1, and the negative electrode of the battery pack H1 is connected to the contact 3 of the switch S4; according to Figure 8 As shown, the circuit of the air-conditioning control module includes a relay K2, an air-conditioning motor M0, a battery pack H2 and switches S6-S7, wherein pin 1 of the relay K2 is connected to the VCC power supply, pin 2 is grounded, pin 3 is connected to one end of the switch S7, pin 4 is connected to contact 3 of the switch S6, pin 5 is connected to pin 1 of the switch S6, pin 6 is connected to contact 1 of the air-conditioning motor M0, the other end of the switch S7 is connected to PB5, contact 2 of the switch S6 is connected to the positive electrode of the battery pack H2, and the negative electrode of the battery pack H2 is connected to contact 2 of the air-conditioning motor M0.
[0036] according to Fig. 9As shown, the circuit of the door and window control module includes a chip U7, diodes D1-D8 and motors M1-M2, pin 2 of the chip U7 is connected to the positive electrode of the diode D1, the negative electrode of the diode D3 and the contact 2 of the motor M1, pin 3 is connected to the positive electrode of the diode D2, the negative electrode of the diode D4 and the contact 1 of the motor M1, pins 4, 6, 9 and 11 are all connected to the VCC power supply, pins 5, 7, 12 and 10 are respectively connected to PB0-PB3, pin 13 is connected to the positive electrode of the diode D6, the negative electrode of the diode D8 and the contact 1 of the motor M2, pin 14 is connected to the positive electrode of the diode D5, the negative electrode of the diode D7 and the contact 2 of the motor M2, pins 1, 8 and 15 are all grounded, the negative electrodes of the diodes D1-D2 and D5-D6 are connected to the VCC power supply, and the positive electrodes of the diodes D3-D4 and D7-D8 are all grounded.
[0037] according to Fig.10 As shown, the circuit of the time setting module includes a chip U8, a crystal oscillator Y2 and capacitors C6-C7, pin 1 of the chip U8 is connected to the VCC power supply, pin 2 is connected to one end of the crystal oscillator Y2 and one end of the capacitor C6, pin 3 is connected to the other end of the crystal oscillator Y2 and one end of the capacitor C7, pin 4 is grounded, pins 5-7 are respectively connected to PA12, PA11, and PA8, and the other end of the capacitors C6-C7 is grounded.
[0038] according to Fig.11 As shown, the circuit of the WIFI communication module includes a chip U9 and resistors R27-R30, pin 1 of the chip U9 is connected to one end of the resistor R27, pin 3 is connected to one end of the resistor R28, pin 8 is connected to the other end of the resistor R27, pin 15 is connected to one end of the resistor R30 and then grounded, pin 16 is connected to the other end of the resistor R30, pin 18 is connected to one end of the resistor R29, pins 21-22 are respectively connected to PA2-PA3, the other end of the resistor R28 is connected to PB9, and the other end of the resistor R29 is connected to the VCC power supply.
[0039] The chip U1 in the main control module is STM32F030C6, and its internal circuits are reset circuit and crystal oscillator circuit. The reset circuit is reset by opening and closing the buttons in the circuit, and the crystal oscillator circuit is used to provide accurate clock signals; the chip U2 of the pressure sensing module uses a flexible array piezoresistive sensor; the infrared sensing module uses the WTU201F2 B004 infrared ranging sensor and the BSP452 power management module; the chip U5 of the temperature and humidity sensing module uses DHT11; the chip U6 in the smoke detection alarm module uses ESP8266, and the smoke sensor MQ uses MQ-2; the chip U8 in the clock module uses DS1302; the chip U9 in the WIFI communication module uses ESP8266, which is used to communicate with handheld mobile terminals and control the working hours and control conditions of smart lights, air conditioners, doors and windows.
[0040] The utility model provides an intelligent home control system. After starting, a pressure sensing module, a temperature and humidity sensing module, a smoke detection alarm module and a clock module are powered on.
[0041] The first mode is to use a handheld mobile terminal to set the minimum pressure value of the pressure sensing module through the WIFI communication module. When the pressure sensing module senses a pressure signal greater than the minimum pressure value, it sends a signal to the main control module, which turns on the power of the infrared sensing module. The infrared sensing module measures whether the distance to the person is close or far away, and transmits the signal back to the main control module. The pressure signal and the distance to the person are combined to determine the entry and exit of the person; by judging the number of changes in the pressure signal rise and fall detected by the pressure sensing module and the number of times the infrared sensing module determines whether the distance to the person is close or far away, the main control module calculates the number of times, and the main control module counts when entering and decreases when leaving, and finally determines the number of people in the room. The purpose of combining the pressure signal and the distance to the person to determine the entry and exit of the person is to avoid the influence of unknown factors such as pets on the smart home control system, reduce interference with the main control module count, and thus ensure the accuracy of the entire system.
[0042] When there is someone in the room, the main control module determines whether to start the air conditioner, smart lights, doors and windows based on the indoor temperature and humidity conditions collected by the temperature and humidity sensing module and the time signal provided by the clock module; when there is no one in the room, the air conditioner, smart lights, doors and windows are automatically turned off.
[0043] The second mode is to use a handheld mobile terminal to set the automatic working time of the smart light control module, air conditioning control module and door and window control module through the WIFI communication module. When the set working time is reached, the smart light control module, air conditioning control module and door and window control module automatically turn on the smart lights, air conditioners and doors and windows.
[0044] The third mode is to use a handheld mobile terminal to directly control the smart light control module, air conditioning control module and door and window control module through the WIFI communication module to turn on the smart lights, air conditioning and doors and windows.
[0045] In the above three modes, the main control module will transmit the indoor environment signals and appliance startup status to the handheld mobile terminal through the WIFI communication module for easy viewing and control; at the same time, the smoke detection alarm module works all day. When the smoke concentration is higher than the normal value, an alarm will be issued and the windows and doors will be opened through the door and window control module to improve safety.
[0046] The above embodiments are not limited to the technical solutions of the embodiments themselves, and the embodiments can be combined with each other to form new embodiments. The above embodiments are only used to illustrate the technical solutions of the utility model and are not intended to limit them. Any modification or equivalent replacement that does not deviate from the spirit and scope of the utility model shall be included in the scope of the technical solution of the utility model.
Claims
1. A smart home control system, characterized in that: The system includes a main control module, which is connected to a pressure sensing module and an infrared sensing module to sense the dynamics of personnel. The main control module is connected to a temperature and humidity sensing module, a smoke detection alarm module, an intelligent light control module, an air conditioning control module and a door and window control module to control the opening and closing of intelligent lights, air conditioning and doors and windows through feedback of temperature, humidity and smoke signals. The main control module is also connected to a time setting module to control the opening and closing of intelligent lights, air conditioning and doors and windows through time setting. The main control module is connected to a WIFI communication module to realize remote control and debugging.
2. A smart home control system according to claim 1, characterized in that: The circuit of the main control module includes a chip U1, resistors R1-R3, capacitors C1-C3, a crystal oscillator Y1 and a micro switch S1. Pins 10-17, 29-33 and 38 of the chip U2 are connected to PA0-PA12 and PA15 respectively, pins 18-20, 39-42 and 45-46 are connected to PB0-PB6 and PB8-PB9 respectively, pin 34 is connected to one end of the resistor R1, pin 37 is connected to one end of the resistor R2, pin 5 is connected to one end of the capacitor C1 and one end of the crystal oscillator Y1. The first end is connected to the second end, the second end is connected to the third end, the second end is connected to the fourth end, the second end is connected to the fifth end, the second end is connected to the fifth end, the second end is connected to the sixth end, the second end is connected to the sixth end, the second end is connected to the seventh end, and the second end is connected to the eighth end. The first end is connected to the fifth end, the second end is connected to the eighth end, and the second end is connected to the eighth end.
3. The smart home control system according to claim 1, characterized in that: The circuit of the pressure sensing module includes a chip U2, a toggle switch S2-S3, resistors R4-R23 and a dual operational amplifier U1A-U4A. Pin 1 of the chip U2 is connected to PA4, pin 3 is connected to pins 1-4 of the toggle switch S2, pin 4 is grounded, pins 5-6 are connected to PA6, pin 7 is connected to PA5, pin 8 is connected to the VCC power supply, pin 5 of the toggle switch S2 is connected to contact 1 of the dual operational amplifier U1A, and resistor R20 is connected to the ground. One end is connected, pin 6 is connected to the contact 1 of the dual operational amplifier U2A and one end of the resistor R21, pin 7 is connected to the contact 1 of the dual operational amplifier U3A and one end of the resistor R22, pin 8 is connected to the contact 1 of the dual operational amplifier U4A and one end of the resistor R23, the contact 2 of the dual operational amplifier U1A is connected to the other end of the resistor R20 and one end of the resistors R4-R7, the contact 2 of the dual operational amplifier U2A is connected to the other end of the resistor R21 and one end of the resistors R8-R11 One end is connected, the contact 2 of the dual operational amplifier U3A is connected to the other end of the resistor R22 and one end of the resistors R12-R15, the contact 2 of the dual operational amplifier U4A is connected to the other end of the resistor R23 and one end of the resistors R16-R19, the contact 3 of the dual operational amplifiers U1A-U4A is grounded, the contact 8 of the dual operational amplifiers U1A and U4A and the contact 4 of the dual operational amplifiers U2A and U3A are connected to the VCC power supply, the resistors R4, R8 The other ends of the resistors R5, R9, R13, and R17 are connected to pin 6 of the 1 / 4 toggle switch S3, the other ends of the resistors R6, R10, R14, and R18 are connected to pin 7 of the 1 / 4 toggle switch S3, the other ends of the resistors R7, R11, R15, and R19 are connected to pin 8 of the 1 / 4 toggle switch S3 are connected to the VCC power supply.
4. The smart home control system according to claim 1, characterized in that: The circuit of the infrared sensing module includes chips U3-U4 and capacitor C4. Pin 1 of the chip U3 is connected to the VCC power supply, pin 2 is connected to PB8, pin 3 is connected to pin 3 of chip U4 and one end of capacitor C4, pin 4 is grounded, pins 1-2 of the chip U4 are all grounded, pin 4 is connected to the other end of capacitor C4 and then grounded, and pins 5-6 are connected to PA10 and PA9 respectively.
5. The smart home control system according to claim 1, characterized in that: The circuit of the temperature and humidity sensing module includes a chip U5 and a resistor R24. Pin 1 of the chip U5 is connected to one end of the resistor R24 and then to a VCC power supply. Pin 2 is connected to the other end of the resistor R24 and PA7. Pin 4 is grounded.
6. The smart home control system according to claim 1, characterized in that: The circuit of the smoke detection alarm module includes a chip U6, a smoke sensor MQ, an NPN transistor Q1, a buzzer BZ1, resistors R25-R26, R31-R32 and capacitors C5, C8-C9. Pin 1 of the chip U6 is connected to PA15, pin 2 is connected to one end of the capacitor C5, one end of the resistor R26 and contacts 4 and 6 of the smoke sensor MQ, pin 4 is grounded, pins 5-6 are connected to PA1, pin 7 is connected to PA0, pin 8 is connected to the VCC power supply, contacts 1-3 of the smoke sensor MQ are connected to the VCC power supply, and contact 5 is connected to the power supply. One end of the buzzer BZ1 is connected to the collector of the NPN transistor Q1 and one end of the capacitor C9, and the other end is connected to one end of the capacitor C8, the other end of the capacitor C9 and the VCC power supply. The base of the NPN transistor Q1 is connected to one end of the capacitor C10 and one end of the resistors R31-R32, and the emitter is connected to the other end of the capacitor C10 and the other end of the resistor R32 and then grounded. The other end of the resistor R31 is connected to PB6, and the other end of the capacitor C8 is grounded.
7. The smart home control system according to claim 1, characterized in that: The circuit of the intelligent light control module includes a relay K1, a light bulb D, a battery pack H1 and a switch S4-S5, wherein the pin 1 of the relay K1 is connected to the VCC power supply, the pin 2 is grounded, the pin 3 is connected to one end of the switch S5, the pin 4 is connected to the contact 1 of the switch S4, the pin 5 is connected to one end of the light bulb D, the pin 6 is connected to the contact 2 of the switch S4, the other end of the switch S5 is connected to PB4, the other end of the light bulb D is connected to the positive electrode of the battery pack H1, and the negative electrode of the battery pack H1 is connected to the contact 3 of the switch S4; the air conditioner The circuit of the control module includes a relay K2, an air-conditioning motor M0, a battery pack H2 and switches S6-S7. Pin 1 of the relay K2 is connected to the VCC power supply, pin 2 is grounded, pin 3 is connected to one end of the switch S7, pin 4 is connected to contact 3 of the switch S6, pin 5 is connected to pin 1 of the switch S6, pin 6 is connected to contact 1 of the air-conditioning motor M0, the other end of the switch S7 is connected to PB5, contact 2 of the switch S6 is connected to the positive pole of the battery pack H2, and the negative pole of the battery pack H2 is connected to contact 2 of the air-conditioning motor M0.
8. The smart home control system according to claim 1, characterized in that: The circuit of the door and window control module includes a chip U7, diodes D1-D8 and motors M1-M2. Pin 2 of the chip U7 is connected to the positive electrode of the diode D1, the negative electrode of the diode D3 and the contact 2 of the motor M1, pin 3 is connected to the positive electrode of the diode D2, the negative electrode of the diode D4 and the contact 1 of the motor M1, pins 4, 6, 9 and 11 are all connected to the VCC power supply, pins 5, 7, 12 and 10 are respectively connected to PB0-PB3, pin 13 is connected to the positive electrode of the diode D6, the negative electrode of the diode D8 and the contact 1 of the motor M2, pin 14 is connected to the positive electrode of the diode D5, the negative electrode of the diode D7 and the contact 2 of the motor M2, pins 1, 8 and 15 are all grounded, the negative electrodes of the diodes D1-D2 and D5-D6 are connected to the VCC power supply, and the positive electrodes of the diodes D3-D4 and D7-D8 are all grounded.
9. The smart home control system according to claim 1, characterized in that: The circuit of the time setting module includes a chip U8, a crystal oscillator Y2 and capacitors C6-C7. Pin 1 of the chip U8 is connected to the VCC power supply, pin 2 is connected to one end of the crystal oscillator Y2 and one end of the capacitor C6, pin 3 is connected to the other end of the crystal oscillator Y2 and one end of the capacitor C7, pin 4 is grounded, pins 5-7 are connected to PA12, PA11 and PA8 respectively, and the other end of the capacitors C6-C7 is grounded.
10. The smart home control system according to claim 1, characterized in that: The circuit of the WIFI communication module includes a chip U9 and resistors R27-R30, wherein pin 1 of the chip U9 is connected to one end of the resistor R27, pin 3 is connected to one end of the resistor R28, pin 8 is connected to the other end of the resistor R27, pin 15 is connected to one end of the resistor R30 and then grounded, pin 16 is connected to the other end of the resistor R30, pin 18 is connected to one end of the resistor R29, pins 21-22 are connected to PA2-PA3 respectively, the other end of the resistor R28 is connected to PB9, and the other end of the resistor R29 is connected to the VCC power supply.
