Summary of Home Security System with GSM Using 8051 Microcontroller
Security is rising concern; the article describes a GSM-based home security system using sensors (IR, LPG, smoke, etc.) interfaced to an 8051 microcontroller that monitors thresholds and triggers final control devices (buzzers, motors, LCD). A GSM modem (via MAX232) sends alerts over mobile networks. The system uses ADCs for analog sensors and is programmed in embedded C/assembly.
Parts used in the GSM Based Home Security System:
- IR sensors (for human presence)
- LPG gas sensor
- Smoke detector
- Temperature sensor (optional)
- Camera (optional)
- Analog to Digital Converter (ADC)
- 8051 microcontroller
- MAX232 IC (level shifter)
- GSM modem (with SIM card)
- Relays
- Motor drivers
- Motors (for door and fire exhauster)
- Buzzer
- LCD display
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
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).
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.
For more detail: Home Security System with GSM Using 8051 Microcontroller
- How does the system detect human presence?
The system uses IR sensors to detect human presence and can open or close doors accordingly. - Can the system detect gas leaks?
Yes, an LPG gas sensor is used to detect gas leakage in kitchens. - How are analog sensor signals processed?
Analog sensor outputs are sent through an Analog to Digital Converter (ADC) to the microcontroller. - Which microcontroller is used and how is it programmed?
The 8051 microcontroller is used and is programmed in embedded C or assembly language using Keil software. - How does the system communicate alerts remotely?
A GSM modem connected via MAX232 to the microcontroller sends alerts over the mobile network using calls, SMS, or MMS. - What role does the MAX232 IC play?
MAX232 converts the microcontroller TTL logic levels to RS232 levels for serial communication with the GSM modem. - What final control devices are used to respond to sensor alerts?
Final control devices include buzzers, motors (with driver ICs), relays, and an LCD display to generate alarms and control doors or fire exhausters. - Can the system include additional sensors to improve security?
Yes, temperature sensors, cameras, and other sensing devices can be added to improve security.