Research and Implementation of Intelligent Home Security System Based on OpenWRT

This paper mainly studies and designs indoor security. Based on OpenWrt open source software and based on existing hardware, the intelligent home indoor security system based on OpenWrt is designed.

1. Overall design

The overall structure of the design is divided into two parts, the hardware design part and the software design part. The overall function is realized by a combination of hardware and software. Modular design is adopted in hardware design, which mainly includes five modules: remote monitoring module, wireless communication module, video acquisition module, single-chip control module and sensor data acquisition module. The software design is based on the OpenWrt open source embedded Linux system. The OpenWrt open source system contains more than 3,000 software packages that users can choose freely. They can write their own packages to build their own applications according to their own needs. Maximize your own embedded devices. The overall design block diagram of the system is shown below:

Research and Implementation of Intelligent Home Security System Based on OpenWRT

2 hardware design

2.1 remote monitoring module

The remote monitoring module refers to the mobile terminal and the computer. The user can obtain the indoor monitoring screen and environmental parameters in real time through any mobile phone or computer in any place with network connection. When an abnormality occurs through the obtained SMS alarm information, the video and client can be viewed in real time. Data, enabling users to respond in a timely manner.

2.2 wireless communication module

The wireless communication module is the core of this design. Its main chip is Ralink's RT5353 chip. It has a high-performance, highly integrated central micro-processor with a frequency of 350MHz, which fully meets the needs of embedded operating systems. It supports

In the IEEE 802.11 standard Wi-Fi network, the 20/40M band allows data transmission efficiency of up to 150 Mbps, which makes it more widely available and has higher data throughput. In addition, he provides multiple Ethernet interfaces to connect to external networks and multiple internal network devices. It also provides a USB host interface and two universal asynchronous transceivers 31, which makes it very convenient for external devices. Expansion.

2.3 video monitoring module

In order to ensure the clarity of indoor video image information, so that users can receive images in real time, this design uses a USB camera as a video image acquisition tool. It does not require signal conversion to directly transmit digital signals of image information. The client (PC/cell phone) only needs USB interface or wireless transmission to directly receive image and video signals, and USB to 31 converts faster. The USB camera market is widely used and cost-effective, and is easy to use. Comprehensive consideration of the use of Tianmin.com UVC-T24 driveless camera, 640x480 pixels, USB2.0 interface, effectively improve the image transmission speed, high frame rate video display, smooth and uninterrupted picture, in the dark environment can ensure the clarity of the picture. The schematic of the digital camera is shown below:

Research and Implementation of Intelligent Home Security System Based on OpenWRT

2.4 control module

The control module is a combination of STC89C52 single-chip microcomputer and GSM communication module. The GSM module is controlled by a single-chip microcomputer to realize the function of remote information communication alarm.

This design selects the TC35 series of the new generation wireless communication GSM module launched by Siemens . It can safely and reliably realize the data, voice and short message transmission in the system scheme and can guarantee the transmission rate requirement. The module's working voltage is 3.3-5.5V, it can work in 900MHz and 1800MHz frequency bands. The module has AT command set 1. This module integrates RF 3 circuit and baseband to provide fast and reliable data, voice and short message. , secure transmission. The single-chip microcomputer and the GSM module adopt an asynchronous serial communication interface, and the communication speed can be set according to actual needs. The connection diagram of the control module is shown in Figure 3.

2.5 sensor data acquisition module

The design of the sensor acquisition module combines the methods of ZigBee technology and sensor technology. The infrared sensor, gas sensor and temperature sensor are used to collect indoor access control, smoke, temperature and other information, and the collected information is uploaded to the upper computer by the wireless communication module. The technology is the key to this design. Since the design belongs to the indoor security environment, the scope of monitoring is relatively small, and each node does not need to communicate with each other, so a star network is selected. The coordinator is connected to the wireless communication module through the RS232 serial port. Each node uses the RFD connection sensor and is powered by the battery. It can be placed anywhere in the room according to actual needs. The data collected by all nodes will be sent to the coordinator, the host computer ( The PC/mobile terminal) client can receive real-time data of the sensor through the wireless communication module.

3 software design

3.1 software function overall design

The wireless communication module adopts the wireless communication technology of the IEEE802.11 standard. In the OpenWrt system kernel, the drive and signal transmission of the USB camera are configured, and the wireless sensor data received by the wireless communication module is transmitted to the remote monitoring port through the network, including temperature, access control, smoke data signals and video monitoring images, and then The host computer sends out a control signal and receives a signal from the lower computer. Programming implements serial port forwarding and control processing communication. The main program flow chart is shown below.

Research and Implementation of Intelligent Home Security System Based on OpenWRT

3.2 The choice of embedded system

This design chooses OpenWrt operating system. OpenWrt is an open source embedded Linux system. It provides users with a fully writable file system and package management system. Users can write their own software packages according to their own needs to maximize the maximum. Customizing your own embedded devices reduces the barriers to embedded Linux development. At the same time, OpenWrt provides developers with an easy-to-use development environment to build their own applications.

Due to the rapid development of computer technology in recent years, OpenW~ system has been continuously modified and updated by developers. Now it is not only limited to the simple function of the router, it is suitable for a specific system, it contains more than 3,000 available. Users can choose the software package freely, users can install the software package according to their own needs, users only need to use simple instructions to download, compile, install and use the corresponding software.

3.3 Main system software installation

In this design, the software package and the corresponding OpenWrt system are downloaded from the well-developed network public resources.

The source code of the operating system, then update and install the software package, and finally configure the CPU, the development board model and the user page LUCI. On the LUCl interface, we can configure the network port.

And the serial port driver, DNS, hardware hangs and Ethernet agent module software package, then compile and generate bin file. The installation of the system is achieved by downloading and installing the bin file to the RT5350 development board.

After installing the operating system, the Wi-Fi wireless signal can be successfully generated. The smart device such as computer and mobile phone can be wirelessly connected. The development board can mount the camera and realize the communication between the wireless Wi-Fi and the module, as long as the LUCI is passed. The package management function of the page can develop the corresponding software package, then load it and the installation can be completed.

3.4 Remote Port Software Design

The remote port is the upper computer, which includes the mobile terminal and the PC design software client, so that the upper computer can realize the indoor monitoring screen collection and indoor environment parameters, and can make the abnormal signal appear on the client in time when the abnormality occurs. Call the police. The remote port displays the video screen and data screen on the remote port by designing the client, so that the user can monitor the indoor environment in real time under the condition of network connection.

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)];

Made from recycled glass materials, our Diamond Glass Mosaic Tiles give a unique glam look to your space and they are eco-freiendly.The diamond shape of these Glass Mosaic Tiles is a great way to give your home an elegant finish.For our diamond Glass Mosaic tile, we could not only make their surface flat, but also make 3D effect.The glass mosaic tile allows the light to bounce off and give your area a brighter, more open feel.These diamond glass tiles are attached to a mesh for easy installation,and they can enhance your walls as well as some floor areas with low traffic. Glass mosaic tiles are durable and sturdy enough to handle high heat and moisture, making them a safe choice for kitchens as well as bathrooms.                             

Diamond Glass Mosaic Tiles

Small Glass Tiles,Mosaic House Tile,Diamond Glass Mosaic Tiles,Mosaic Bathroom Floor Tiles

C&K MOSAIC , https://www.cnkmosaictile.com