Embedded smart home security monitoring system design

1 Introduction

With the improvement of people's living conditions, life becomes more and more comfortable, and the awareness of home security protection is becoming stronger, including electricity safety, gas safety, family anti-theft, child and elderly care, etc. . What followed was that the smart home system quietly entered our lives. The smart home system uses computers, embedded systems and communication network technologies to organically combine various sub-systems related to home life (such as lighting, security, home appliances, etc.) to make home life more comfortable and safe. effective.

2 system functions

The system is designed for ordinary home users, enabling users to remotely monitor home security. The specific functions have the following three points:

(1) Home security : When the indoor temperature is higher than the set value or the indoor smoke is detected to be high or the special corner is abnormal, the system will alarm the security users in different ways, such as: The mobile terminal sends a text message, generates an alarm signal, and the like. In addition, in the access control part, once the wrong party enters the password three times in a row, the system will automatically send a text message to the user and an alarm signal will be sounded indoors.

(2) Remote monitoring of home conditions: Temperature, smoke, body pyroelectric and other sensors can display the collected data (digital quantity) in real time on the LCD screen, so that security users can know the status of the room at any time. Allow security users to view online through the network, thus realizing the function of real-time monitoring; users can actively query the indoor temperature, smoke status, and the movement of special local personnel through the universal remote control; or understand the indoor situation through the WEB server.

(3) Access Control: When a guest visits, guests can click on the LCD screen at the access control to enter the guest interface for assistance. For example: Send a text message to the homeowner, view the calendar, get the He lp document function, and so on.

3 system design

The system uses m in i4020 development board as the main platform, 51 single-chip microcomputer for auxiliary control; motor module, GPRS module, LCD 1602, universal remote control for auxiliary hardware support; temperature, smoke, human sensor to collect data in real time; m ini4020 and microcontroller Data exchange is performed using the ZT-TR43U wireless communication interface.

3.1 System hardware design

It can be clearly seen from Figure 1 that the system mainly consists of two parts: the m in i4020 main console and the 51 single-chip slave console. There are also some expansion modules: GPRS module, mainly used to send alarm information; motor module, used to simulate intelligent door opening; temperature sensor, smoke sensor, human body pyroelectric sensor module, used to collect indoor information; universal remote control module, used Control smart withdrawal/arming. Among them, 51 single-chip microcomputer is placed indoors, mainly used to send the data collected by the sensor to the main control station through the wireless transmission module; m in i4020 main control platform is placed in the outdoor access control, mainly used for the slave control part. The data is processed in real time, and once an abnormal situation occurs, the GPRS implementation alarm function is started.

Figure 1 system hardware structure diagram

3.2 System Software Design

(1) The main program.

When the system is powered on, it first detects the peripheral device and loads the driver, then starts the operating system. The monitoring system is loaded when all the previous initialization work is done. Most of the monitoring systems are background programs. When the system is running, it starts to detect and reads the serial port data. When an abnormal condition is detected, the alarm signal is triggered. The startup flow chart is shown in Figure 2.

Figure 2 system startup flow chart

Figure 3 Temperature, smoke, human pyroelectric alarm flow chart

(2) Temperature, smoke, human body pyroelectric alarm.

The temperature, smoke, and human pyroelectric alarm processes are similar, as shown in Figure 3. The temperature sensor, smoke sensor, and human body pyroelectric sensor are placed indoors. The 51 MCU transmits the data detected by each sensor to the M IN I4020 at the access control station through wireless communication. The M IN I4020 processes the data in real time, and if an abnormal situation occurs. Then, GPRS is activated to implement the alarm function.

PRODUCT DESCRIPTION

  • Just add water and essential oils
  • Extremely quiet and easy to clean
  • Cool mist / no heat involved / no risk of burns
  • Automatically shuts off
  • Runs 2 to 3 hours
  • USB cord included
  • Rotating LED Lights
  • 1 Year Warranty
  • Creates a lasting brand impression on a useful product for the home or office
  • Essential oil help soothe the mind and improve mental well-being

    DITUO Solutions Usb Oil Diffuser unites aromatherapy with modern scientific innovation to create a Usb Diffuser that plugs into your laptop with a USB cable. This mobile diffuser is PP material and diffuses essential oils for up to 3 hours. It utilizes high-frequency ultrasonic electrical vibrations to create an ultra-fine mist. This diffusion method doesn't utilize heat, which maintains essential oil integrity and holistic properties every time you use it. 

USB Diffuser

Usb Diffuser,Usb Essential Oil Diffuser,Usb Oil Diffuser,Usb Aroma Diffuser

Shenzhen Dituo Electronic Co.,Ltd. , https://www.sz-dituo.com