loading

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

  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

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

I made the circuit but it is not sensing ....I've also tested each component individually also
Check the final wiring and code! That's all I can say!!
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
<p>Do you know what is the life expectancy of the 9v batery?</p>
I think it should work for atleast 4-6 hours!?!
<p>I noticed that the RS 232 was not used, was there a reason for selecting this board with this feature? Btw, loved your ible!</p>
No, there was no specific reason. It was just that this board was easily available for me, and so I used it. <br>Thanks for the remark!!?
<p>can this work with a SIM800H shield?</p>
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!
<p>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 </p>
<p>You want to know the connections of sim900 shield or sim800?</p>
<p>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</p>
Well, I think that different shields would require different wiring. I also don't know about the pinout of all shields.
<p>is adruino uno r3 fine to work with?</p>
<p>Yes, Arduino Uno also works perfectly with the same wiring and code!</p>
<p>ı want photo for circiut</p>
<p>Here you go-</p>
interessante
Where is your code? I do not see it attached to your lble.
<p>You can only open it after downloading, if you have the Arduino IDE. I'm still posting it here-</p><p>#include &lt;SoftwareSerial.h&gt;</p><p>SoftwareSerial mySerial(9, 10);</p><p>int inputPin = 5; // choose the input pin (for PIR sensor)</p><p>int val = 0; // variable for reading the pin status</p><p>void setup() {</p><p> pinMode(inputPin, INPUT); // declare sensor as input</p><p> Serial.begin(9600);</p><p>}</p><p>void loop(){</p><p> val = digitalRead(inputPin); // read input value</p><p> if (val == HIGH) { // check if the input is HIGH </p><p> mySerial.begin(9600); // set the data rate for the SoftwareSerial port</p><p> delay(2000); // necessary delay</p><p> mySerial.println(&quot;ATDxxxxxxxxxx;&quot;); // just replace the 10 x's with the number you want to send the alert to (eg-house owner). DONT MAKE ANY OTHER CHANGES!! </p><p> }</p><p> else {</p><p> //Nothing to be done here</p><p> }</p><p> delay(2000); // Check for motion after 2 seconds</p><p>}</p>
It is in step 5. You have to download it first to read it.
Best wishes...???
Very innovative.
<p>Very cool idea, and nicely put together. </p>

About This Instructable

7,569views

178favorites

Bio: Cool Guy!!
More by Aadyant:Intruder Detection Calling System 
Add instructable to: