Ardino Based Care System
Ardino Based Care System
Table of Contents
Introduction
Project Concept
Block Diagram of GSM SIM800L Based Home Security System
Components Required
Tools Required
Circuit/Schematic Diagram of GSM SIM800L Based Home Security
System
Circuit Wiring
Working Principle of GSM Based Home Security System using
Arduino
Arduino Code
Introduction
In our day-to-day life crime is increasing rapidly, so one of the important
things is the security of our home, office, and shop from thieves/burglars.
There are different types of home security systems available in the market
including several security features like fire, LPG, electronic door lock,
heat, smoke, temperature, etc.
In this project tutorial, we will be going to design a Home Security System
using PIR sensor and GSM module which detects intruders and informs
the owner. This system/device detects thieves/burglars when they try to
enter the house and informs the owner by sending text messages on her/his
phone.
For this project you should know:
HC-SR501 (Passive Infrared) PIR Sensor | How it’s
Works
Interfacing PIR Sensor with Arduino | Motion Detector
using PIR Sensor
SIM800l GSM Module, Pinout/Pin Diagram, Hardware
Overview, Features, Power Supply, and applications.
Project Concept
This GSM Based Home Security System project has been implemented on
a very simple concept and it’s very easy to build. The fundamental
components of this project are the PIR sensor, Arduino, SIM800L GSM
Module, LED, and Buzzer.
PIR sensor detects the motion of surrounding objects by sensing the
difference in infrared or radiant heat levels emitted by that objects. It
produces high output by detecting the movement of any objects or human
body in front of it. Here it is used to detect thieves/burglars (any human
beings). When someone comes in front of the sensor, it detects motion and
provides a high output voltage. This output voltage goes to the Arduino.
Here we will use Arduino UNO which is the main microcontroller of this
project, it controls the whole system. When the Arduino read this high
output voltage, then it sends commands to the GSM module for sending a
Text Message/SMS to a specific user’s Mobile number. The LED and
Buzzer are working as warning indicators, which alert us when someone
tries to enter the house.
Block Diagram of GSM SIM800L Based Home
Security System
Introduction
SIM800L GSM/GPRS module is a miniature cellular GSM modem from Simcom, which can easily
interface with any microcontroller to give the microcontroller GSM functionality, and allows for GPRS
transmission. This module connects the microcontroller to the mobile network to make or receive
phone calls, send or receive SMS (text messages), and connect to the internet using GPRS, TCP, or IP.
Another advantage is It supports quad-band GSM/GPRS network, which means it can work anywhere
in the world. These important functionalities as well as the low cost and small footprint make this
module more perfect for any project where long-range connectivity is required and also it can be
integrated into a great number of IoT projects.
The SIM800L GSM/GPRS module consists of four key components, which take important roles in the
work of the module. These key components are SIM800L GSM cellular chip, LED Status Indicators,
Antennas, and Micro-SIM socket.
SIM800L GSMGPRS Module Hardware Overview
On the top surface of the GSM module, we can see a chip is mounted on the module board. This is a
Quad-band SIM800L GSM/GPRS cellular chip from SimCom in SMT type. SIM800L supports Quad-
band frequency its works on frequencies 850MHz, 900MHz, 1800MHz, and 1900MHz, it can transmit
and receive voice, SMS, and data information with low power consumption. The operating voltage of
this chip is from 3.4V to 4.4V which makes it ideal to operate by a LiPo battery supply. This chip
supports a baud rate from 1200bps to 115200bps with Auto-Baud detection. It has a tiny size of
17.6*15.7*2.3mm which makes it a good choice for embedding into projects without a lot of space.
On the topmost right corner side of the SIM800L Module, we can see an LED that indicates the status
of your cellular network. After applying the power supply to the module the LED will blink at three
different ratios, which shows three different statuses of your cellular network.
When the LED Blinking with a delay of 1s, then it indicates that the GSM module is running but it
hasn’t made the connection to the cellular network yet.
When the LED Blinking with a delay of 2s, then it indicates that The GPRS data connection you
requested is active.
When the LED Blinking with a delay of 2s, then it indicates that the module has made contact with
the cellular network and it is ready to transmit/receive voice and SMS.
Antennas
An antenna is a vital part of the module, it is used for voice or data communications as well as some
SIM commands. SIM800l GSM/GPRS module provides two ways to connect Antennas. There are two
types of antennas that can connect to the module one is a Helical GSM antenna and another one is
PCB Antenna.