Intruder Detection Calling System




Introduction: Intruder Detection Calling System

About: Cool Guy!!


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
  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


Connecting PIR Sensor with Arduino

PIR Sensor -- Arduino

VCC -- 5 V

OUT -- D5


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



  • Tiny Home Contest

    Tiny Home Contest
  • Metalworking Contest

    Metalworking Contest
  • Creative Misuse Contest

    Creative Misuse Contest

23 Discussions

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

1 reply

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?

1 reply

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

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

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

1 reply

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!!?

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!

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

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

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

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

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


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

2 replies

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



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


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