The GSM alarm system in home is the smart system that would inform the owner of any suspicious movements in room by sending text and call and then triggering alarm after it is confirmed. We integrate the GSM module(Arduino shiled) in the system that uses local network(DNA in our case). Programming is done in arduino IDE environment and call and sms were made by implementing the RT commands.

In order to add more convenience, we add the feature that would allow the user to turn on and turn off the system remotely by sending message.

However, our target to include the surveillance system is not fulfilled because arduino uno needs extra memory slot to store the image.

Step 1: Code in Github Link



#include "LiquidCrystal.h" // library for liquid crystalLiquidCrystal lcd(0);// Connect via i2c, default address #0 (A0-A2 not jumpered)

#include // Library for connecting serial connection of GSM SHIELD#include SoftwareSerial mySerial(2,3); // RX PIN, TX PIN

char *keypressed = 0;int keyboardPin = 0; // Analog input pin that the keypad is attached toint keyboardValue = 0; // value read from the keyboard

int k;//int inputPin1=4;//int inputPin2=7;#define LEDFLASHER 4 //Pin for LED // int inputPin1 = 5 ; //intinputPin2= 6 ; int pir1=12; //Pin for PIR SENSOR int pinSpeaker=10; //PIN for Buzzerint Alertfunction; // Function when movement is detected int pirState = LOW; // we start, assuming no motion detected int val = 0; // variable for reading the pin status of PIR sensor int val1 = 1; // variable for reading the pin status of pir 2

boolean status; // variable to stor the status of alarm;true for "ALARM ON" and False for "ALARM oFF"

<p>Really cool idea! How do you wire it up? </p>

About This Instructable




More by lamabro:GSM Alarm Security System 
Add instructable to: