Advanced Home Security System through Microcontroller

Home Security System

Home Security System

The advanced home security system has changed to the modern security system in our day to day life. Security systems are protected in the home from the thief, dangerous incidents in our home surroundings. The home security system starts from keeping the things safety. The safety in the home has to start the home owner and to look after the home. The best way to protect the home is by installing the security system in the home. There are two different types of the security system, i.e. wired and wireless security system. Nowadays, most of them are using wireless security system.

It is easy to use and protected by the unknown person. The wireless system securities are camera, motion sensor detector, alarm sound with the help of this the home is secured with their each of their functions. The home security systems are frequently used by the monitor detector and motion sensor and these are placed in unknown places.

What is a Home Security System?

Home security system can be attained by adopting essential controllers to control home appliances that detect different variables using suitable sensors. This security system involves the security hardware like property, locks, doors, lighting, alarm systems and security cameras. The main feature of this system is a sensory system that gathers the information of the parameter such as fire, temperature, gas, human presence, etc., and sends the related information to the Microcontroller.

The Microcontroller used in this system is preprogrammed such that when the parameters cross their prearranged limits, it sends the control signals to different controlling devices like motors, relays, and buzzer devices. The proposed system can be implemented by using the following functional blocks.

Home Security System

Home Security System

Home Security System with 8051 Microcontroller

There are three basic modules in the home security systems which are given below. The first module is IR transmitter and receiver module it is used for the doors for the safety purpose in the nighttimes and when the person goes outside. If an unauthorized person is entered in the home, then the IR sensors are activated by the buzzer. Then the beep sound is produced by the buzzer. The second stage of the module is an LPG gas sensor.

It is used to detect the leakage of the gas. If the gas is detected by the sensor then the buzzer is activated and produces the sound. The third module is the door opened with the help of a password by using the keyboard. If the unauthorized person enters the three wrong passwords consequently. Then the data of all modules are sent to the computer through the serial ports. The following block diagram shows the home security system by using the 8051  Microcontroller.

Home Security System Using 8051 Microcontroller

Home Security System Using 8051 Microcontroller

Infra Red Transmitter: This transmitter is to apply in the theft detection module with the help of the one transmitter and one receiver. The infrared transmitters are used in the detection of theft because the unauthorized person can not visible to the human eyes. The IR LED’S transmitters are used.

Infrared Receiver: The infrared receiver is an active low device, hence it gives the low output when the infrared rays receives.

LPG Gas sensor: The LPG gas sensor is a sensor. It is used to detect the gas leakages in the home and also in kitchen rooms.

Microcontroller: The CPU is the main function and 8051 Microcontroller is used in the home security system. The 8051 has various functions which are described below.

  • Reading in the digital input from the Infrared receiver.
  • Reading the LPG gas sensor output to produce the buzzer sound.
  • Sensing the password using keyword and check it is a correct password or not.
  • Sending the data to LCD and to the computer serial port.

LCD: We are using 16 * 2 alphanumeric liquid crystal display. The LCD contains 16 characteristics with 2 lines. Hence it can display the numbers and alphabets.

PC Interfacing: In the PC interfacing we are using the MAX 232 IC to interface number of persons entered in the room and also the stats of entered password is correct or word is sent to the PC.

Keypad: By using the keypad the user can enter the password. There are different types of keypads are available such as

  • 0 to 9 keypad
  • Enter keypad
  • Escape Keypad

EEPROM: It is an external memory and used to store the passwords. For the communicative purpose of EEPROM with 8051 Microcontroller I2C bus protocol is used.

GSM Modem: In the home security system we have to use sim300 as a GSM modem. It has to find the number of persons inside the hall, number of wrong passwords entered on the keypad and also leakage of LPG gas. The GSM can communicate with the calls, SMS, or with the help of the MMS.

In the wireless home security system cameras are placed important role. The uses of cameras are easy to use and monitored from the phone or from the PC. The camera can capture the footage from within the signal and the footage can be stored on the computer hard drive.

Another aspect of the security system is by using the alarm system. When the alarm produces the sound, then the owner or the authorized person will recognize that other person has entered in the home or room. There are many reasons to produce the security alarm sound from freeze, if doors are opened, and when the fire exits and broken window.

Temperature Sensor

In the home security system we can implement by temperature sensor. The external obstacles have then temperature sensors and for sensing the atmospheric temperature one or two temperature sensors are used. By using the each obstacle sensor the atmospheric temperature readings are compared. If there is any high difference in the temperature variation will have a possibility that some external obstacles are present. The following are the interface and drives for the alarm.

  • PIC 16F877 IC
  • n + 1 or n+2 temperature sensor
  • Alarm
  • MPLAB IDE
  • MPLAB development kit

The IC PIC 16F877 is used because it has the capability to read directly from an analog device. This IC can interface with the temperature because the temperature sensors are analog devices. To compare the operations the embedded program is used and the device is used as an external alarm.

PIR Sensor Motion

The PIR motion sensor is an electronic sensor it is abbreviated as a passive infrared sensor. The function of this sensor is to find the human body with a certain range of frequency. This sensor is used for the people, animals, and other objects. This type of sensor is mostly used in the theft alarm, and automatic light activated system. The following diagram shows the basic PIR sensor motion image.

PIR Sensor Motion

PIR Sensor Motion

Alarm System Using a PIR Sensor

In this type of process, we will use the IC UM3561 it is an integrated circuit. The circuit takes the digital input and generates the sound in some of the devices like police siren, ambulance, fire engine. Hence, by using the PIR sensor circuit the human beings are detected and the digital output is generated. To the IC UM3561 the digital output is given, then the IC produces the sound.

Circuit Diagram Using PIR sensor For Alarm System

The following circuit diagram shows the alarm system using PIR sensor. The intention of this circuit is to provide the security for homes, apartments, rooms, and some other places. The PIR sensor detects the infrared radiations from the human body and gives the digital output. The digital output is passed through the IC UM3561 hence it produce the when the human body is detected.

Circuit Diagram Using PIR Sensor For Alarm System

Circuit Diagram Using PIR Sensor For Alarm System

The circuit diagram consists of PIR sensor, UM3561 IC, speaker, and transistors. The IC used in the circuit is a siren generator IC and it has 8 pins. The 5th and 6th pins are short circuited and connected the output of the PIR sensor through the resistor. The IC of  7th and 8th PIN are connected to the 220k resistor. The 6th and 1st pin is used to select the sound and these pins and produce the sound.

The output is collected from the 3rd pin and it is connected to the speaker with the help of a transistor and resistor. The base of the transistor is connected to the IC output through the 470 ohm resistor and the battery is connected to this resistor and speaker. The emitter pin of the transistor is connected to the ground.

Door Security System Using PIR Sensor

The Door security system using PIR sensor is an advanced electronic project. If the sensor detects the human body, then the sensor produces the output pluses. The Microcontroller receives these pulses to manage the motor driver. By giving the approximate pulses the motor driver can control by Microcontroller. The following block diagram shows the door security system using PIR sensor.

Door Security System Using PIR Sensor

Door Security System Using PIR Sensor

Applications of PIR Sensor

  • The PIR sensors can be used in the shopping malls, Garden lights, etc.
  • These sensors are used for the outdoor lights.
  • It used in the multi apartments for security reasons.
  • Covered parking area.

Advantages of Home Security System

  • The security system is used for the security purpose in the homes, dinning halls, rooms.
  • It is also used in the apartments, function halls, petrol bunks.
  • The security system is also used in the classrooms, examination halls etc.

This article gives the information about the Advanced Home Security system. By reading this article you have gained the basic knowledge of advanced home security system. If you have any queries regarding this article or E-book on Microcontroller projects please comment in the below section. Here is a question for you, what are the functions of the Home security system?

Add Comment

Your email address will not be published. Required fields are marked *