Introduction: 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
- Arduino uno / nano - I have used arduino nano in my device but it should work perfectly with arduino uno as well.
- A bread-board for mounting arduino nano
- PIR sensor
- SIM900 GSM/GPRS MODEM W/RS232
- A SIM card
- Some male to female wires
- A 9 Volt battery
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

Participated in the
Maker Olympics Contest 2016
23 Comments
6 years ago
I made the circuit but it is not sensing ....I've also tested each component individually also
Reply 6 years ago
Check the final wiring and code! That's all I can say!!
7 years ago
in your code you have only 10xs representing 10digita, how about countries with 11 digits?
Reply 7 years ago
I don't even know if this gsm shield would work in that country!?! I don't have idea about this
7 years ago
Do you know what is the life expectancy of the 9v batery?
Reply 7 years ago
I think it should work for atleast 4-6 hours!?!
7 years ago
I noticed that the RS 232 was not used, was there a reason for selecting this board with this feature? Btw, loved your ible!
Reply 7 years ago
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!!?
7 years ago
can this work with a SIM800H shield?
Reply 7 years ago
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!
Reply 7 years ago
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
Reply 7 years ago
You want to know the connections of sim900 shield or sim800?
Reply 7 years ago
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
Reply 7 years ago
Well, I think that different shields would require different wiring. I also don't know about the pinout of all shields.
7 years ago
is adruino uno r3 fine to work with?
Reply 7 years ago
Yes, Arduino Uno also works perfectly with the same wiring and code!
7 years ago
interessante
7 years ago
Where is your code? I do not see it attached to your lble.
Reply 7 years ago
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
}
Reply 7 years ago
It is in step 5. You have to download it first to read it.