Abstract: This paper introduces a design and implementation of a home security system between GSM terminals (mobile phones) and short message service (SMS) through DTMF public telephone network nodes. The smart home security system integrates fire prevention, anti-theft and anti-gas, and can realize automatic detection and automatic voice dialing alarm. The system structure, DTMF transceiver circuit, and SMS transmission circuit design are introduced in detail. The experimental results show that the system is functional and reliable, and the information transmission is real-time and reliable. It is suitable for security systems in home security or other places. This article refers to the address: http:// 0 Preface With the continuous promotion of the concept of intelligent home and the rapid penetration of the electronic information industry into the living field, the realization of home information, networking and intelligence has become a new trend in the development of home systems. The home intelligent anti-theft alarm system can monitor the safety environment of the home in real time, such as fire prevention, anti-theft, etc. Once a safety accident occurs, it will issue corresponding alarm information, so that the head of the household can urgently deal with the accident. This article is based on the design concept of easy implementation, convenient operation and close to use. The MSP430 MCU is used as the control core and control terminal, and the external device Song simulation including infrared remote control, GSM module, voice module and corresponding sensor is used to realize the home intelligent burglar alarm. . 1 system overall composition The hardware part of the smart home control system is mainly composed of four parts, namely the control unit, the sensor data acquisition system, the GSMTC35 module, and the interface and power supply parts. The sensor data acquisition system, GSM TC35 module and control unit complete the processing and transmission of alarm and other signals; the power supply part provides working power for each part. The software design part mainly consists of five parts: data acquisition and data analysis part, electric intelligent home control system, telephone switching network program-controlled exchange signaling identification and analysis part, GSM TC35 module interface program part, analysis control part. The data acquisition and data analysis part and the telephone exchange network program-controlled exchange signaling identification need to be processed in real time; the GSM TC35 module interface program part and the analysis control part are based on the collection and telephone exchange network exchange signaling to perform the branching operation, which is beneficial to improve the system. effectiveness. The system block diagram is shown in Figure 1. The single chip computer controls the DTMF transceiver circuit, the digital voice circuit, and the hook control circuit. The detector can quickly and accurately monitor the abnormal condition of the house, notify the controller in time after confirmation, and then control the telephone interface circuit by the single chip microcomputer to realize the analog off-hook, automatically dial the preset telephone number for voice alarm and notify the management center. . When the other party's response is detected, the alert state is automatically restored. 2 hardware design The main control part of the system uses AT89S52 microcontroller, no need to expand the external memory. The watchdog circuit uses a programmable serial EEPROM-X25045. The X25045 stores data information such as flag fields, phone numbers, alarm codes, and system settings. 2.1 system power supply Since the control system unit circuit has many requirements and the requirement of 5V power supply is relatively high, wherein the sudden current consumption current of the TC35 module can reach 2.5A, the external voltage regulator device must meet the conditions for providing the rated current of the TC35 and other circuits. . In this system, the switching power supply chip LM2576 is used to complete the conversion from 12V to 5V, as power supply to the TC35 terminal and other 5V units. It must be noted that, as shown in Figure 2, the conversion of the switching power supply by the LM2576 chip requires a high-power inductor of 100 μH and a capacitor to improve the energy storage capability and achieve the power consumption requirements of the unit circuit. The LM2576 is a 5.0V3A switching power supply regulator. 2.2 TC35 short message module interface circuit The TC35 short message module is the RS-232C standard interface, and the full name of the RS-232C standard (protocol) is the EIA-RS-232C standard. It specifies the connection cable and mechanical, electrical characteristics, signal functions and transmission processes. Currently, the COM1 and COM2 interfaces on the PC are RS-232C interfaces. In normal operation mode, if the chip does not detect a valid signal on the receiving and transmitting pins within about 30s, it will automatically enter Powerdown mode, which consumes 1μA. If the FORCEON and /FORCEOFF pins are both high, the Auto-Powerdown Plus function is disabled. When the Auto-Powerdown Plus function is enabled, if a signal input is detected on the receiving or transmitting pin, the chip is automatically activated and goes into normal operation. If the input voltage of any of the receive channels is higher than 2.7V or less than 2.7V, or the time between -0.3V and 0.3V is less than 30μs, the /INVALID (15-pin) pin is high (data valid). If the input voltage of all receive channels is between -0.3V and 0.3V for more than 30 μs, the /INVALID (15-pin) pin is low (data is invalid). The above characteristics of the chip satisfy the connection requirements of the TC35 as a receiving and transmitting circuit of the mobile terminal. 2.3 buzzer alarm circuit The triode 8050 is used to drive the buzzer to work. When the processor detects the alarm signal, it will give the buzzer signal to make it work, and the alarm sounds at home. As shown in Figure 4. 3 system software design The software is written in C language and developed in the keil environment. The core is the SHT11 temperature and humidity value reading and conversion, display subroutine. The main program flow block diagram is shown in Figure 5. The realization of the function as shown in Figure 5 of the software flow chart, the specific implementation process description: 1) button to call the corresponding phone, test use; 2) button to send short messages, test use; 3) single-chip detection of glass break detector signal, decided Whether to alarm, send a short message and call the home owner: 4) The home owner text message controls the equipment in the home, here only the LED light and off demonstration. 4 system implementation and analysis 4.1 Communication module implementation The GPRS communication module realizes the control of the TC35 module by the single-chip microcomputer or the zigbee wireless communication technology, thereby realizing the remote control function. FIG. 6 shows the working of the communication module, and FIG. 7 is the working of the short message module. 4.2 Smart home security system implementation GPRS can send alarm information to the owner under the detection of the detector, and the owner can remotely control the home, and can communicate with the owner's mobile phone through two independent buttons of the system, as shown in FIG. 8 . The advantage is that there are two functions of short message and incoming call, which can reduce unnecessary trouble for the owner to miss the short message at the remote end; the disadvantage is that the detector is too sensitive, and the information of the error alarm can be displayed, which can show the state of the home. 5 Conclusion This paper introduces a simple intelligent home monitoring system based on single-chip microcomputer. The system hardware control uses single-chip microcomputer as the microprocessor, collects the temperature and humidity signals through the temperature sensor, and displays the current temperature, humidity and dew point through the liquid crystal display SO12864-14C; Compilation of function modules in C language. Compared with the traditional home monitoring system, the system is low in cost, practical and convenient, and can provide a safety guarantee for home life. If the system is combined with communication, the alarm function is reflected in the mobile phone information prompt, and the system design is more perfect. Disposable Vape,Best Disposable Vape,Mini Puff Disposable Vape,Disposable Mini Vape Stick Shenzhen Essenvape Technology Co., Ltd. , https://www.essenvape.com