Design of a network security door based on STM32 and GSM

With the continuous advancement of society, consumers are increasingly demanding security doors, and more families are willing to install more intelligent security doors to enhance home security. Especially with the development of electronic technology and the emergence of various new technologies, the traditional security door can no longer meet the requirements. In response to consumer demand for high-end security doors, this project proposes a security door based on a combination of single-chip microcomputer and GSM network module, which can realize more intelligent anti-theft and effectively meet the needs of consumers.

1. System overall design

The system adopts embedded technology, which is mainly composed of STM32 single-chip microcomputer and GSM short message module, and uses data fusion and processing of reliable and mature GSM mobile network information. The infrared reflection device senses the switch of the door, and an abnormality is sent to the single-chip processing in time, and the alarm device can immediately perform an alarm, and the GSM network immediately sends a short message, so that the system tends to be perfect. It can be used for fingerprinting or texting when the owner enters and exits, making travel easier. The schematic diagram of the system is shown in Figure 1.

Design of a network security door based on STM32 and GSM

Figure 1 Schematic diagram of the STM32 network security door system

2, system hardware design

The network security door system of STM32 is divided into: power module, GSM module, infrared pair tube module, sound and light alarm module and fingerprint identification module according to the functions to be realized by each module. The system block diagram is shown in Figure 2.

(1) Power module: The power module is an essential condition for the whole device. The Li-Po battery is used in this design. The output voltage is 11.1V, which is converted into a stable 5V power supply through the DC/DC conversion circuit.

(2) GSM module: The GSM module has the function of sending short messages and voice calls. The GSM module used in the system is the SIM900A industrial grade dual-band GSM module, which supports data, voice, SMS and fax.

(3) Infrared tube module: When the receiving tube can receive the infrared of the transmitting tube, the receiving tube is turned on, and outputs a low level at the output end. When the position of the transmitting tube and the receiving tube is staggered, the output is output at a high level. level.

(4) Sound and light alarm module: use buzzer to make sound alarm, LED light to realize light alarm.

(5) Fingerprint identification module: Identification is performed by comparing different fingerprint features.

Design of a network security door based on STM32 and GSM

Figure 2 – STM32 network security door system block diagram

3, system software design

1) main program design

The system will first initialize the settings, the system clock SYSCLK is sent to each module through the AHB divider to call. In this system, the system clock is 72MHz, and then the initialization of the MCU peripheral is performed, and the MCU communicates with the GSM module; the built-in intrusion flag is interrupted by an external interrupt. Then initialize the module, enter the loop, and check the external interrupt to decide whether to alarm. The main program flow is shown in Figure 3.

Design of a network security door based on STM32 and GSM

Figure 3? Main program flow chart

2) External interrupt programming

The trigger event can be configured by the input line of the STM32F103. After the interrupt is triggered, the external interrupt generates an intrusion flag and sends an alarm message.

3) GSM module programming

The short message can be sent from the terminal device or the data terminal device through the AT command, thereby controlling the mobile station to interact with the GSM network. This device mainly uses the short message function of the GSM module to transmit alarm information to the mobile phone through GSM.

4 Conclusion

The STM32 network security door system designed in this paper can realize STM32 effectively control a variety of precision sensors and GSM wireless communication modules. The GSM communication module sends security information to family members in real time.

The test results show that the STM32 network security door system can accurately monitor the security status of the home, and can send the alarm signal in time when there is abnormal intrusion. After experimental verification, STM32's network security door system is reliable, stable, accurate, and has real-time monitoring capability. It is easy to be widely used in future home security protection work and has broad application prospects.

0 times
Window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": " 0", "bdSize": "24" }, "share": {}, "image": { "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "Share to:", "viewSize": "16" }, "selectShare": { "bdContainerClass": null, "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren" , "weixin"] } }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share. Baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];

Kitchen Cut Board

A cutting board is a must-have item in the kitchen. Cutting vegetables, cutting fruits, etc. are all inseparable from a useful cutting board. Our cutting board is made of selected natural wood, moderately soft and hard, tough and thick; not easy to hurt the knife, not easy to deform, not easy to burst, easy to clean; simple in shape, beautiful and durable, it is a rare kitchen helper.

Kitchen Cut Board,Kitchen Cutting Board,Vegetable Cutter Board,Kitchen Chopping Boards

JIANGMEN MEIAO KITCHEN AND BATH CO.,LTD , https://www.meiaogroups.com