Home Security System with GSM Using 8051 Microcontroller

Security is a big challenge everywhere because thefts are increasing day by day owing to the unsafe and insecure security systems in homes, commercial complexes and industries. Several conventional technologies are available to keep home properties safe from intruders, but most common smart home security systems work on wireless GSM communication. Such systems provide security from natural, incidental, intended, unintended, accidental and human made problems by continuously monitoring homes with different sensory systems like motion, smoke, gas, temperature, glass break or door break detectors and fire alarm systems.

GSM Based Home Security System
GSM Based Home Security System

GSM Based Home Security System

Home security or home automation can be achieved by adopting central controllers to control home devices or appliances that sense different variables using appropriate sensors. The main aspect of such a system is a sensory system that collects the parameter information like temperature, fire, human presence, gas, etc., and sends the corresponding data to the microcontroller or any other processor. This controller is programmed such that when these parameters cross their prescribed limits, it sends the command signals to various final controlling devices like relays, motors and buzzer devices.

This system can be implemented with the use of the following functional blocks:

Sensory System: It consists of various sensors like IR sensors for detecting human presence to open or close the doors; LPG gas sensor to detect the gas leakage in kitchens – and, a smoke detector to detect the presence of fire. It is also possible to add temperature sensor, camera and other sensing devices for improving the security of homes. These sensing values are sent to the microcontroller with intermediate circuitry like Analog to Digital Converter (ADC).

Block Diagram of GSM Based Home Security System
Block Diagram of GSM Based Home Security System

Microcontroller: This is the heart of the system wherein central processing of data takes place. 8051 microcontroller collects the data or information from various sensors and compares it with appropriate prescribed limits. It is programmed by embedded C or assembly language in Keil software. By receiving the sensor signals, it takes the corresponding course of action by sending commands to the output devices.

GSM Modem: GSM modem allows the computer to communicate over the mobile network through calls, SMS and MMS messages. It consists of a SIM card and operates over a subscription through a mobile network. It is a highly flexible plug-and-play device capable of connecting to a PC or any microcontroller’s serial port through MAX232IC. This IC is used to convert the TTL logic levels of the microcontroller to a RS232 logic level for enabling serial communication.

Final Control Devices: These devices include buzzers and motors with driver ICs and LCDs display. Final control devices generate alarms of different kinds by using buzzers; doors and fire exhauster operations are controlled by using motors. All these devices act upon the commands directed from a microcontroller.

Circuit Diagram and Operation of a GSM-Based Home Security System Project

  • In the below figure, you can observe the connections of various devices like sensors, ADC, relays, keypad, etc., to a microcontroller. In this system, an LCD is connected to the port1 of the microcontroller; ADC to the port0 and a matrix keypad to the port2.
  • Smoke detector is connected to the port 2.3; a temperature sensor LM35 and a Light Dependent Resistor (LDR) are connected to the channel 1 and 2 of the ADC, respectively.
  • This system continuously monitors the prevailing conditions of the homes at a given time by getting the sensor values. Analog sensor values of temperature and light illumination are sent to the ADC where these are then converted to the microcontroller understandable language as digital values. These digital values are compared with the pre-stored values of the microcontroller.
Circuit Diagram of Home Security System
Circuit Diagram of Home Security System
  • If these values exceed the predefined limit, then the microcontroller turns lighting and air conditioning systems on with the help of relays.
  • Similarly in the presence of fire, smoke detector gives signals to the microcontroller so that the fire exhausting system is turned on.
  • Matrix keypad allows a user to enter the password to lock or unlock doors. Thus, if a user enters a correct password, the microcontroller sends appropriate signals to the motor driver IC to open or close the door. If a user enters incorrect password thrice, then this system turns the alarm system even if it is a case of fire.
  • All these events’ information is remotely transferred to a user mobile using GSM modem. The GSM modem is responsible for sending the status of the temperature, illumination, smoke, etc., to a remote mobile from the commands of master microcontroller. And also it receive the far away user SMS to control the devices like lights, doors and other appliances in homes.

After going through the above description, one can say that the remote monitoring and controlling of homes through GSM technology is a simple, portable and low-cost method wherein a user conveniently makes decisions to supervise his or her home. Keeping in view some of the simplest GSM based projects, the following are some additional projects for graduate students that are based on GSM technology.

GSM Based Real Time Applications:

GSM Modem
GSM Modem
  • GSM Based Flash Flood Intimation System
  • ECG Data Transferring System Implemented With GSM Network
  • GSM Based Forest Fire and Rain Fall Detection System
  • Vehicle Tracking System Using GSM and GPS System
  • Speed Control of Induction Motor Using GSM Modem
  • Temperature Measurement for Industries through GSM Network
  • Health Monitoring System over GSM
  • Weather Monitoring By SMS Using GSM Modem
  • GSM Based Electronic Notice Board
  • Implementation of Student Enquiry System through SMS Using GSM Technology
  • Home Automation System Using GSM Technology
  • Automatic Irrigation System for Farmers Using GSM
  • GSM and Zigbee Based Remote Patient Monitoring System
  • GSM/GPS Based Vehicle Theft Intimation System
  • GSM Controlled Railway Level Crossing Gate by User SMS
  • Integrated Energy Meter for Energy Billing Based On GSM Technology
  • Wireless Electronic Board with User Programmable Features Using GSM
  • GSM Based Industrial Automation System for Automatic Control
  • Closed Loop Control System for Precise Motor Control Implemented Through GSM
  • DTMF Controlled Military Robot Vehicle System Using GSM

These are some of the latest GSM based mini and major projects for 3rd and 4th year engineering students with one simple circuit explanation. We hope that we have given worthy information about this topic with a few top GSM projects. For further technical assistance for implementing these projects, you can contact us by commenting below.

Photo Credits:

16 Comments

  1. Simply desire to say your article is as astounding. The clarity in your post is just great and i can assume you’re an expert on this subject. Fine with your permission let me to grab your feed to keep updated with forthcoming post. Thanks a million and please continue the gratifying work.

    1. Tarun Agarwal says:

      Hi
      Thank you so much for your feedback

  2. chandrakant says:

    Hello sir can you help me feature scope in GSM system

  3. Please please I want code for this project…

    1. I want urgent code for project

      1. Tarun Agarwal says:

        Hi Nandini
        We are very sorry to inform you that once you purchase the project we can provide the project coding, documentation, and circuit diagram.
        For any assistance or for customization of projects please email us on team@elprocus.com

    2. Tarun Agarwal says:

      Hi Nandini
      We are very sorry to inform you that once you purchase the project we can provide the project coding, documentation, and circuit diagram.
      For any assistance or for customization of projects please email us on team@elprocus.com

  4. raghavendar says:

    can i implement this project with arduino?
    and i want to know the difference between IR and PIR sensor?

  5. Hello sir,Can you provide the code of the project???

    1. Tarun Agarwal says:

      Hi Abdul.K
      We are very sorry
      Once you purchase the project we can provide the circuit diagram, coding, documentation. and audio & video visuals
      And once again please visit our website https://www.elprocus.com

  6. ajit kumar says:

    Hello sir can u please provide the code of this project please send me mail .

    1. Tarun Agarwal says:

      Hi Ajit Kumar,
      Please can we know the title of your Project?
      And also,the code,circuit diagram and other documentation could be shared with you once purchase the project.
      Meanwhile,We Suggest you to please Visit our website once: https://www.elprocus.com
      For customization of projects please email us on team@elprocus.com

  7. hello sir, Can i replace 8051 with PIC?

Add Comment