DIY Motion Detection SMS Alarm System

**Building a Cheap SMS Alarm System**

In this project, we will be creating a cheap and easy to remake SMS alarm system that can detect intruders in your home or office. The system uses a combination of sensors, a microcontroller, and a GSM module to send you an alert message to your phone when it detects movement.

**Components**

To build this system, you will need the following components:

* Arduino Uno or similar board

* Adreno mini (a cheap GPS chip)

* TC 35 GSM module

* MOSFETs (to control the siren)

* Potentiometers (to calibrate the sensor range)

* Switches (to turn on/off the system)

* Dowels and screws (to secure the system to the wall)

* Power supply (5V, 3A)

**Mounting the Components**

First, we need to mount the components inside a plastic case. We will use hot glue to secure the TC 35 GSM module, Adreno mini, and MOSFETs inside the case.

"The sensor MTC 35 GSM module got secured inside the case with hot glue and make sure to insert the SIM card for the GSM module before gluing it to the case lastly I poked another hole in the seals to push my wire for the siren inside the case which will later create an annoying live sound intruder alert"

Once all the components are mounted, we need to connect them to the Arduino board. We will use female headers and an FTDI breakout to program the Adreno mini.

"the brain of the organization is a cheap Adreno mini you can get those for around $2 from ebay but you will need some extra female headers and an FTDI breakout at the end"

**Siren Connection**

The siren uses 12 volts power, which we can get by connecting it to a simple step-up converter. We will connect the siren to this output and the input connects to our end channel MOSFETs.

"how to get 12 volts from 5 volts a simple step up converter can do this I connected it to my bench power supply and adjusted the output to 12 volts now I can solder my siren to this output"

**Wiring**

We need to complete the wiring by connecting the TC 35, MOSFETs, test switch, and motion sensor to the Arduino.

"it really was a chaotic wiring but in this build it is more about function than looks and if you want to build something similar then always follow the schematic it gives you all the information you need"

**Power Supply**

We will create 5 volts and ground power points by soldering all the power wires of all the components together. We can hook these two points up to our bench power supply to test the whole system.

"apparently there's no short circuit and the current consumption seems normal awesome to make things a bit more convenient later on I also made small labels for the potentiometers and the switches"

**Software**

We will use a simple Arduino code that includes two modes: test mode and alarm mode. In test mode, we can easily calibrate the range of view without triggering any alarms. Once we finish calibration, we can switch to alarm mode.

"keep the whole code very simple and only used one external timer library which you need to download before trying to upload it to the Arduino I created two modes which are selected by the tests"

**Final Assembly**

We will drill four holes in the case for each corner and insert dowels. We will secure the whole box with screws.

"we also use blue tape to isolate the power supplies metal body from then I elect Ronix and know this thing will not overheat because it only requires bigger current Peaks while sending sms"

The final step is to connect the power wires to the supply inside the case and close the whole system. We will secure the siren to the wall with a couple of dowels and screws.

"It is done a relatively cheap and easy to remake SMS alarm system if you liked this project then don't forget to like share and subscribe that would really help me out follow me on facebook twitter and google+ stay creative and I'll be back"

WEBVTTKind: captionsLanguage: enpassive infrared sensor or PIR sensor for short and nowadays really popular when it comes to detecting motion you can even get one of those inexpensively from eBay or Amazon in this video I will combine such a sensor with my TC 35 GSM module to build an alarm system which detects motion and sends you a SMS when an intruder tries to steal your stuff let's get started first of all let's take a look at the sensor it requires five volt to operate and outputs a 3.3 volt signal as soon as it detects something moving in its range we can adjust the on time of the 3.3 volt signal and the average distance of the few fields with those potentiometers but they are a nightmare to turn so let's remove those and replace them with easier to turn 200 kilo ohm potentiometers I just sold out three wires to those and used a bit of shrinking tube to protect the connections those wires then we place the solar joints of the old potentiometers now the sensor works great and we can have a look at the enclosure for the system I use this great project box which you usually find when you do electrical work around your house a big advantage of this box while those rubber seals it was quite easy to cut a hole for my sensor with my rotary tool and it was also super simple to push small holes into those with a screwdriver this way I was able to mount my two switches which I use for the test mode option and the power inputs and of course I sold out while to those before installing them I also mounted my sensor potentiometers to the case by turning the rubber seals around and repeating the mounting process like I did with my switches the sensor MTC 35 GSM module got secured inside the case with hot glue and make sure to insert the SIM card for the GSM module before gluing it to the case lastly I poked another hole in the seals to push my wire for the siren inside the case which will later create an annoying live sound intruder alert mains power will also enter through this hole later on alright all the parts are mounted and it is time to take a look at the schematic it looks complicated but bear with me the brain of the organization is a cheap Adreno mini you can get those for around $2 from ebay but you will need some extra female headers and an FTDI breakout at the end to program it moving on to the siren as you can see it uses 12 volt power how to get 12 volts from 5 volts a simple step up converter can do this I connected it to my bench power supply and adjusted the output to 12 volts now I can solder my siren to this output and the input connects to my end channel MOSFETs and 5 volts to switch this thing on and off with my digital pin 10 I also sold out a green LED with current limiting resistor directly onto the Arduino this will help me later during test mode to calibrate the potentiometers for the sensor now I can complete the wiring by connecting the TC 35 the MOSFET the test switch and the motion sensor to the Arduino it really was a chaotic wiring but in this build it is more about function than looks and if you want to build something similar then always follow the schematic it gives you all the information you need lastly I created a 5 volts and ground power points by soldering all the power wires of all the components together I can hook those two points up to my bench power supply to test the whole system and apparently there's no short circuit and the current consumption seems normal awesome to make things a bit more convenient later on I also made small labels for the potentiometers and the switches since the hardware should work fine it was time to upload the software I kept the whole code very simple and only used one external timer library which you need to download before trying to upload it to the Arduino I created two modes which are selected by the tests which during test mode the green LED lights up whenever the motion sensors output is turned on this way you can easily calibrate the range of view without triggering any alarms once we finish the calibration we can switch over to a la mode firstly the system waits 30 seconds to give you some time to leave the room or something like that then it screams twice at the annex to inform you that it is now active as soon as it detects that the output of the motion sensor got activated twice during 18 seconds it starts the alarm process the GSM module then connects to the mobile network and sends you an intruder alert SMS to your phone and as soon as you receive the SMS the siren starts yelling and will hopefully scare off the intruder this goes on for around 20 seconds before the siren turns off the system then waits 30 minutes before restarting the alarm mode after I was sure the whole software worked fine we went to the new location for the system we did some basic measurements and drilled four holes one for each corner we inserted the dowels and secure the whole box with screws now it is time for power I use this 5 volt 3 amp power supply which is a bit of an overkill but works great in retrospective we also use blue tape to isolate the power supplies metal body from then I elect Ronix and know this thing will not overheat because it only requires bigger current Peaks while sending sms and turning on the siren we connected the power wires to the supply inside the case and closed the whole system the very last step was to secure the siren to the wall with a couple of dowels and screws and it is done a relatively cheap and easy to remake SMS alarm system if you liked this project then don't forget to like share and subscribe that would really help me out follow me on facebook twitter and google+ stay creative and i'll be backpassive infrared sensor or PIR sensor for short and nowadays really popular when it comes to detecting motion you can even get one of those inexpensively from eBay or Amazon in this video I will combine such a sensor with my TC 35 GSM module to build an alarm system which detects motion and sends you a SMS when an intruder tries to steal your stuff let's get started first of all let's take a look at the sensor it requires five volt to operate and outputs a 3.3 volt signal as soon as it detects something moving in its range we can adjust the on time of the 3.3 volt signal and the average distance of the few fields with those potentiometers but they are a nightmare to turn so let's remove those and replace them with easier to turn 200 kilo ohm potentiometers I just sold out three wires to those and used a bit of shrinking tube to protect the connections those wires then we place the solar joints of the old potentiometers now the sensor works great and we can have a look at the enclosure for the system I use this great project box which you usually find when you do electrical work around your house a big advantage of this box while those rubber seals it was quite easy to cut a hole for my sensor with my rotary tool and it was also super simple to push small holes into those with a screwdriver this way I was able to mount my two switches which I use for the test mode option and the power inputs and of course I sold out while to those before installing them I also mounted my sensor potentiometers to the case by turning the rubber seals around and repeating the mounting process like I did with my switches the sensor MTC 35 GSM module got secured inside the case with hot glue and make sure to insert the SIM card for the GSM module before gluing it to the case lastly I poked another hole in the seals to push my wire for the siren inside the case which will later create an annoying live sound intruder alert mains power will also enter through this hole later on alright all the parts are mounted and it is time to take a look at the schematic it looks complicated but bear with me the brain of the organization is a cheap Adreno mini you can get those for around $2 from ebay but you will need some extra female headers and an FTDI breakout at the end to program it moving on to the siren as you can see it uses 12 volt power how to get 12 volts from 5 volts a simple step up converter can do this I connected it to my bench power supply and adjusted the output to 12 volts now I can solder my siren to this output and the input connects to my end channel MOSFETs and 5 volts to switch this thing on and off with my digital pin 10 I also sold out a green LED with current limiting resistor directly onto the Arduino this will help me later during test mode to calibrate the potentiometers for the sensor now I can complete the wiring by connecting the TC 35 the MOSFET the test switch and the motion sensor to the Arduino it really was a chaotic wiring but in this build it is more about function than looks and if you want to build something similar then always follow the schematic it gives you all the information you need lastly I created a 5 volts and ground power points by soldering all the power wires of all the components together I can hook those two points up to my bench power supply to test the whole system and apparently there's no short circuit and the current consumption seems normal awesome to make things a bit more convenient later on I also made small labels for the potentiometers and the switches since the hardware should work fine it was time to upload the software I kept the whole code very simple and only used one external timer library which you need to download before trying to upload it to the Arduino I created two modes which are selected by the tests which during test mode the green LED lights up whenever the motion sensors output is turned on this way you can easily calibrate the range of view without triggering any alarms once we finish the calibration we can switch over to a la mode firstly the system waits 30 seconds to give you some time to leave the room or something like that then it screams twice at the annex to inform you that it is now active as soon as it detects that the output of the motion sensor got activated twice during 18 seconds it starts the alarm process the GSM module then connects to the mobile network and sends you an intruder alert SMS to your phone and as soon as you receive the SMS the siren starts yelling and will hopefully scare off the intruder this goes on for around 20 seconds before the siren turns off the system then waits 30 minutes before restarting the alarm mode after I was sure the whole software worked fine we went to the new location for the system we did some basic measurements and drilled four holes one for each corner we inserted the dowels and secure the whole box with screws now it is time for power I use this 5 volt 3 amp power supply which is a bit of an overkill but works great in retrospective we also use blue tape to isolate the power supplies metal body from then I elect Ronix and know this thing will not overheat because it only requires bigger current Peaks while sending sms and turning on the siren we connected the power wires to the supply inside the case and closed the whole system the very last step was to secure the siren to the wall with a couple of dowels and screws and it is done a relatively cheap and easy to remake SMS alarm system if you liked this project then don't forget to like share and subscribe that would really help me out follow me on facebook twitter and google+ stay creative and i'll be back