Realization of smart home control system based on Internet of Things technology
[ad_1]
With the improvement of people’s living standards and the development of technology, home intelligence has become an inevitable trend and penetrates into thousands of households. Home intelligence is Smart Home, also known as Digital Family, Home Automation, E-home, Intelligent Home, and Network Home , Wise House (WH), Intelligent Building (Intelligent Building), etc. It is a system that uses technologies such as computers, communications, networks, power automation, information, structured wiring, and wireless to interconnect all different equipment applications and integrated functions. It uses residential as a platform, and combines functions such as construction, network appliances, communications, home appliance equipment automation, telemedicine, home office, and entertainment. It integrates security, convenience, comfort, energy saving, entertainment, and efficiency with system, structure, service, and management. , Environmentally friendly living environment. It is divided from the control level, generally composed of the central control center, the home intelligent control terminal, the community intelligent control system, the home gateway and the external network.
1 Smart home system architecture
The home system is mainly composed of smart lighting control, smart home appliance control, smart security alarm, smart entertainment system, video intercom system, remote monitoring system, remote medical monitoring system, etc. The block diagram is shown in Figure 1.
2 The main module design of the system
2.1 Lighting and equipment control
The overall goal of the smart home control system is to establish a comprehensive information service and management system from the family to the community and even the entire city through the use of computers, networks, automatic control and integration technologies. The lighting and equipment control in the system can be controlled by smart bus switches. This system mainly adopts interactive communication control mode, which is divided into two major modules: master and slave. When the master is triggered, the signal is sent through the CPU, encoded and then transmitted to the slave module through the bus, and decoded and then the response module is triggered by the CPU. Because the master module and the slave module are exactly the same, the slave module can also perform the opposite operation to control the master module to realize interactive communication. The main block diagram of the system is shown in Figure 2, and the program flow chart of the system’s master-slave modules is shown in Figure 3. The host is equivalent to the server of the network and is mainly responsible for the coordination of the entire system.
For lighting control, different lighting scenarios can be formed to create a comfortable and elegant environment. In order to improve the maintainability and reliability of the system, the system should be designed with intelligent status feedback function, automatic fault alarm function, and soft start function. The system can automatically check the load status, check broken lights, missing lights, protection device status, etc.; it can also make intelligent processing according to the season, weather, time, and personnel activity detection to achieve energy-saving purposes.
For other home appliances and curtain control, similar to lighting control, both manual and automatic control methods can be used.
2.2 Design of intelligent security and remote monitoring system
The intelligent security system is mainly composed of various alarm sensors (human infrared, smoke, combustible gas, etc.) and its detection and processing modules. The intrusion detection alarm circuit is similar to other fire and gas leakage alarm circuits. The block diagram and circuit of the intrusion detection alarm are shown in Figure 4.
In Figure 4, the DTMF (Dual Tone Multi-Frequency) transceiver circuit is shown in Figure 5(a). Its core chip is MT8880, which can receive and send all 16 DTMF signals. It has the functions of receiving call tones and band-pass filtering, and The microprocessor is directly connected. The automatic pick-up and hang-up can control the switch of a relay through the I/O port of the single-chip microcomputer, and the control end of the relay is connected to the two ends of the telephone line to complete the simulation pick-up and hang-up.
GPRS communication module-The TC35 module is mainly connected to the single-chip microcomputer through the serial port to realize the control of the TC35 module by the single-chip microcomputer, so as to realize the remote control function. The circuit is shown in Figure 5(b).
2.3 Telemedicine system design
[ad_2]