Introduction: Intruder Detection Calling System

Picture of Intruder Detection Calling System

INTRODUCTION

I have made a simple device called "Intruder Detection Calling System" using arduino. This device sends a call on the telephone number feeded in the code, whenever it senses any movement. It is a portable device which can be easily installed on the main gate of the house. It is useful when the residents have gone out and the house is empty. In such a scenario, if somebody tries to break in, my device can sense movement and alert the owner by sending a call on his mobile phone.

Step 1: Material Required

Picture of Material Required
  1. Arduino uno / nano - I have used arduino nano in my device but it should work perfectly with arduino uno as well.
  2. A bread-board for mounting arduino nano
  3. PIR sensor
  4. SIM900 GSM/GPRS MODEM W/RS232
  5. A SIM card
  6. Some male to female wires
  7. A 9 Volt battery
  8. 9V battery cap with DC barrel

I bought all these materials from Makerskart.

Step 2:

The number of the SIM card that you'll be using in the device should be saved in the contact list of the house owner. It can be saved as " Somebody's trying to break in" or "Alert!!" or whatever the owner feels like.

Step 3: Assembling the Device

Picture of Assembling the Device

Connecting SIM900 GSM/GPRS MODEM W/RS232 with Arduino

SIM900 GSM/GPRS MODEM W/RS232 -- Arduino

RX -- D10

TX -- D9

GND -- GND

Connecting PIR Sensor with Arduino

PIR Sensor -- Arduino

VCC -- 5 V

OUT -- D5

GND -- GND

Step 4:

  • After the wiring is complete, insert the SIM card in SIM900 GSM/GPRS MODEM W/RS232.
  • Power the SIM900 GSM/GPRS MODEM W/RS232 with the help of the 9V battery.
  • Once powered, the green LED on the MODEM blinks repeatedly. However, when the MODEM detects a mobile network, the green LED on it blinks once in every 3 seconds. Now, the MODEM is ready for use.
  • Next, power the arduino.

Step 5: Uploading the File

Once everything is ready, open your arduino IDE, choose the correct board, processor (if required), port and upload the file which has been attached.

Step 6: Intruder Detection Calling System - Functioning Successfully

Comments

Meerahari (author)2016-09-29

I made the circuit but it is not sensing ....I've also tested each component individually also

Aadyant (author)Meerahari2016-10-07

Check the final wiring and code! That's all I can say!!

Btechelectronics1 (author)2016-09-23

in your code you have only 10xs representing 10digita, how about countries with 11 digits?

I don't even know if this gsm shield would work in that country!?! I don't have idea about this

Miguel JoseS (author)2016-09-12

Do you know what is the life expectancy of the 9v batery?

Aadyant (author)Miguel JoseS2016-09-14

I think it should work for atleast 4-6 hours!?!

Robert101010 (author)2016-09-11

I noticed that the RS 232 was not used, was there a reason for selecting this board with this feature? Btw, loved your ible!

Aadyant (author)Robert1010102016-09-12

No, there was no specific reason. It was just that this board was easily available for me, and so I used it.
Thanks for the remark!!?

noel.kuck (author)2016-09-07

can this work with a SIM800H shield?

Aadyant (author)noel.kuck2016-09-09

The difference between your shield and my shield is that your shield is smaller in size, has Bluetooth and most probably has a different operating voltage. So I think it should work fine with with the same wiring and code. But since I have not used it yet, I won't be able to guide you on how to use your shield!

noel.kuck (author)Aadyant2016-09-09

Thanks for the reply. I am having questions about how to properly connect a GSM shield to an Arduino and have the RX and TX pins and #defines set up properly. It is clear using jumpers from board to shield, but not so clear when installed as a shield. Suggestions? Thanks

Aadyant (author)noel.kuck2016-09-10

You want to know the connections of sim900 shield or sim800?

noel.kuck (author)Aadyant2016-09-10

I am having questions about how to properly connect ANY GSM shield to an Arduino and have the RX and TX pins and #defines set up properly. It is clear using jumpers from board to shield, but not so clear when installed as a shield. Suggestions? Thanks

Aadyant (author)noel.kuck2016-09-10

Well, I think that different shields would require different wiring. I also don't know about the pinout of all shields.

RoshanP26 (author)2016-09-09

is adruino uno r3 fine to work with?

Aadyant (author)RoshanP262016-09-10

Yes, Arduino Uno also works perfectly with the same wiring and code!

ahmet_024102 (author)2016-09-04

ı want photo for circiut

Aadyant made it! (author)ahmet_0241022016-09-05

Here you go-

JulioQ4 (author)2016-09-04

interessante

noel.kuck (author)2016-09-02

Where is your code? I do not see it attached to your lble.

Aadyant (author)noel.kuck2016-09-03

You can only open it after downloading, if you have the Arduino IDE. I'm still posting it here-

#include <SoftwareSerial.h>

SoftwareSerial mySerial(9, 10);

int inputPin = 5; // choose the input pin (for PIR sensor)

int val = 0; // variable for reading the pin status

void setup() {

pinMode(inputPin, INPUT); // declare sensor as input

Serial.begin(9600);

}

void loop(){

val = digitalRead(inputPin); // read input value

if (val == HIGH) { // check if the input is HIGH

mySerial.begin(9600); // set the data rate for the SoftwareSerial port

delay(2000); // necessary delay

mySerial.println("ATDxxxxxxxxxx;"); // just replace the 10 x's with the number you want to send the alert to (eg-house owner). DONT MAKE ANY OTHER CHANGES!!

}

else {

//Nothing to be done here

}

delay(2000); // Check for motion after 2 seconds

}

SunitaK4 (author)noel.kuck2016-09-02

It is in step 5. You have to download it first to read it.

sajjadd1 (author)2016-09-03

Best wishes...???

AmitT46 (author)2016-09-02

Very innovative.

seamster (author)2016-09-02

Very cool idea, and nicely put together.

About This Instructable

7,759views

181favorites

Bio: Cool Guy!!
More by Aadyant:Cloud Chamber: A Project to Detect MuonsIntruder Detection Calling System
Add instructable to: