Saturday 25 February 2012

Burglar Alert through SMS

The main purpose of this project is to design a system that would automatically send SMS to a predefined number up on the Infrared beam is broken between transmitter and receiver.


It consists of 3 modules

1. Infrared transmitter and receiver
It consists of 38kHz Infrared transmitter and TSOP1738 Infrared receiver. The transmitter has 40 burst cycles and 40 gap cycles that satisfies the requirement of TSOP1738 that between 10 to 70 burst cycles, there has to be atleast 14 gap cycles. Complete design can be found here : Infrared Beam Break Detector circuit

2. Microcontroller
The microcontroller used here is 89c51. When the Infrared beam is broken, there is a high to low signal in the Infrared Beam Break Detector circuit. The micrcontroller is initialized to received edge triggered external interrupt (EXT0). When a interrupt is triggered, the micrcontroller sends the necessary AT commands to send an SMS to a predefined phone number.

3. GSM modem
The microcontroller sends AT commands to GSM module to send an SMS to the predefined number. Below are the AT commands used. The AT commands are

AT+CMGF=1 and Enter
AT+CMGS="+919449xxxxxx"
and Enter
"Burglar Alert!" and CTRL+Z

Complete explanation and C-code can be found here : Sending SMS using AT commands

3 comments:

  1. So, If at all you get robbed, all this device does is send you an pretty looking message that "You have been robbed". Is it?

    I'd prefer a setup which would shoot out 35 mm full metal jackets at the robber instantly killing him instead of sending SMSs.

    ReplyDelete
    Replies
    1. When the sms has been sent, the robber has just entered your premises. With this alert you can alert your neighbours or local police station and catch the theif.

      What you are suggesting about shooting is not possible legally. Is it a nice site to clean up blood in your home or going back and forth to court and police station defending killing?

      What do you prefer of the two?

      Delete
  2. sir it is my major project so can you sent this code circuit diagram at chaitanya.gcet@yahoo.com

    ReplyDelete