+ Reply to Thread
Results 1 to 11 of 11

Thread: Adding GSM phone to burglar alarm

  1. #1
    cctv Newbie
    Join Date
    Sep 2006
    Posts
    7

    Default Adding GSM phone to burglar alarm

    hello all, new to site would realy be greatfull for any help or views on following, i am in process of building home burglar alarm system and would like to know what device would activate a mobile gsm phone to ring a last dialed number, my other gsm phone that would allert me when my house alarm has been triggerd, was looking for device that i would be able to build myself and ad to alarm pannel, many thanks, cctv.


  2. #2
    akg
    akg is offline
    akg Newbie
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,406

    Default

    most of the gsm phone has a built in modem that can the controlled be At command set . so if you can give that command to the phone (interface depends on the make) , it can dial a no
    Gods own Country
    Incredible !ndia

    www.flickr.com/photos/_akg/

    "Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."

  3. #3
    cctv Newbie
    Join Date
    Sep 2006
    Posts
    7

    Default

    aKG, thanks for info, have only limited electronics experiance but gather that you were saying to programe gsm phone to accept external command to ring when house alarm has been triggerd, how do i programe gsm also what device attached to alarm controll pannel would send command to gsm to ring, thanks for your help aKG, cctv.

  4. #4
    Tarsil Newbie
    Join Date
    Jul 2006
    Location
    Timisoara, Romania
    Posts
    290

    Lightbulb

    Quote Originally Posted by cctv
    hello all, new to site would realy be greatfull for any help or views on following, i am in process of building home burglar alarm system and would like to know what device would activate a mobile gsm phone to ring a last dialed number, my other gsm phone that would allert me when my house alarm has been triggerd, was looking for device that i would be able to build myself and ad to alarm pannel, many thanks, cctv.
    I've seen a circuit for that. It was using a PIC16F84 for sending a AT comand (ATDxxxxxxxxxx for calling a number stored in PIC's memory. U'l need a older Ericsson like GA628, A1018, T10. The number 1 pin at the charging/modem conector was put to +8V (Charging voltage for bat). No 3 pin was put to GND and no 2 pin was conected (trought a BC547) with pin 18 (or any other output) for the 16F84. Between pin 18 and BC547"s base was a 1 K res and also at Transistor's colector.
    For extra info....google "ericsson at commands"
    If is too complicated.....most of the times is the wrong way.

  5. #5
    cctv Newbie
    Join Date
    Sep 2006
    Posts
    7

    Default

    Tarsil, could you give basic diagrame explaining your info, also what device linked to alarm pannel would give command for gsm phone to dial last dialed number, did not want pc connected if poss, i know of landline comunicator device that would dial numbers for landline phone but will not ring gsm, many thanks for info, cctv.

  6. #6
    Tarsil Newbie
    Join Date
    Jul 2006
    Location
    Timisoara, Romania
    Posts
    290

    Post

    Quote Originally Posted by cctv
    Tarsil, could you give basic diagrame explaining your info, also what device linked to alarm pannel would give command for gsm phone to dial last dialed number, did not want pc connected if poss, i know of landline comunicator device that would dial numbers for landline phone but will not ring gsm, many thanks for info, cctv.
    I'l post the diagram as soon i'l find the mag. The calling number is stored in the 16f84's memory. It dials it in the moment that a PIC's INPUT is set high, so u can atach to it all sort of devices.
    If is too complicated.....most of the times is the wrong way.

  7. #7
    sho_gun Newbie
    Join Date
    Sep 2006
    Posts
    2

    Default

    U may try a simple solution with a GSM phone with speed dial . U may connect a relay NO contact ( reed or other tipe ) actioned by the burglar alarm over the speed dial key previously set to ring u'r other gsm .

  8. #8
    Madhouse Newbie
    Join Date
    Oct 2006
    Posts
    36

    Default

    Quite right sho_gun, this is how I phone-enabled my motorbike alarm - I used a PIC chip to switch two small relays connected normally open over two number keys on an old un-cased Nokia 6210, and a third one over the "hangup" button. It would dial one number, wait 10 secs and then hang up and dial the other number. It would continue every five minutes to do this until the alarm was disarmed by the key fob.

    Very simple to set up, and I was spoilt for choice as far as phones went!

  9. #9
    Madhouse Newbie
    Join Date
    Oct 2006
    Posts
    36

    Default

    MadHouse, could you give List of components used to dial gsm phone, what imput to alarm pannel would i need to conect gsm and how, could you explain and submit diagrame explaining how its done, many thanks cctv.
    The circuit diagram is attached. There is a fourth relay, which is able to power the phone on and off. The PIC chip is able to identify whether the phone is on and working by pressing the red "hangup" button, and then sensing whether the screen backlight has come on (mobile's LED power is connected to RA1 and was just enough to show a logic "1"). Obviously, if the LED power doesn't come on, the phone must be off so it can then power it on. This was only included because it was on a motorbike, and if not used for a few weeks the bike's battery can go flat. The PIC knows when the phone is not required, so can actually switch it off completely if needed.

    Components aren't too critical, just don't forget the diodes! And, your phone needs power from somewhere.... I didn't include the 5v PSU for the PIC chip as these should be easy to do (Mine actually ran at the 4.6v off the PSU for the phone).

    Your alarm input from a domestic burglar alarm may be the opposite polarity to the circuit shown so just change the software accordingly (this one is activated by 12v appearing on the alarm trigger input). I'd suggest taking this input from your bell box or siren output on the alarm panel, and just check to see whether its showing volts or grounded in its "sounding" state.

    I used an old Nokia, timings for the software should work for most Nokia's including the newer ones. 6210's and 3210's are ideal and cheap though, just strip the guts out and solder the relay contacts straight to the keypad PCB and you are away.

    The software I used was a lot more complicated and written in assembly, but I just whipped up (and tested) a simple BASIC program to show how it works; -


    '
    ***************************
    'Written in PIC16 IDE BASIC
    '(C) Oshonsoft (www.oshonsoft.com)
    '***************************

    'Set ports to digital (A/D converters off etc)
    AllDigital

    'Initialise port states

    'Port A is all input
    TRISA = ffh
    'Port B is all output
    TRISB = 00h

    'Ensure all relays are off
    RB0 = 0
    RB1 = 0
    RB2 = 0
    RB3 = 0

    'Test if the trigger input is active and wait if it isn't
    monitor:
    While RA0 = 0
    'Do not a lot!
    Wend

    'At this point, the alarm must have been triggered
    'Firstly, check whether GSM phone is on by pressing red button

    turnon:
    RB2 = 1
    WaitMs 200
    RB2 = 0

    'and then seeing if the backlight is on
    If RA1 = 0 Then
    'Turn the phone on by holding the power button in for 2 seconds
    RB3 = 1
    WaitMs 2000
    RB3 = 0

    'Allow enough time (20 seconds) for the phone to come on
    WaitMs 20000
    Endif

    'Now check the backlight again, if it still isn't on, try again
    If RA1 = 0 Then Goto turnon

    'At this point, the phone is on and waiting.
    'So hold our first speed-dial button in for 1.5 seconds
    RB0 = 1
    WaitMs 1500
    RB0 = 0

    'Wait 30 seconds to allow dialing out etc.
    WaitMs 30000

    'Then hang up
    RB2 = 1
    WaitMs 1000
    RB2 = 0

    'Allow the phone to settle
    WaitMs 2000

    'then hold our second speed-dial button in for 1.5 seconds
    RB1 = 1
    WaitMs 1500
    RB1 = 0

    'Wait 30 seconds to allow dialing out etc.
    WaitMs 30000

    'Then hang up
    RB2 = 1
    WaitMs 1000
    RB2 = 0

    'And after all that, go back and do it ALL again.
    Goto monitor
    The whole program will continuously try to phone until such time that the alarm input is reset, there is no "give up after five calls" or anything like that. It is just to simply demonstrate the workings.

    Taking the circuit further, you could perhaps use a 16 way analogue cross-point switch to control the keypad, which will give you enough keys to sent a decent text message as well....... or store a short encoded speech message (maybe a couple of seconds) in the program memory area of the PIC chip, and play that through a simple R2R ladder DAC to the MIC input of the phone ("Alarm! Alarm! Alarm!") over and over again during the 30 second dialing routine.

    Hope this gives you some clues!
    Attached Images
    Last edited by Madhouse; 3rd October 2006 at 11:14 PM. Reason: missing attachment

  10. #10
    nabeelpitten Newbie
    Join Date
    Nov 2009
    Posts
    2

    Default

    thanks... i need the circuit diagrams of any gps project

  11. #11
    nabeelpitten Newbie
    Join Date
    Nov 2009
    Posts
    2

    Default

    thanks.....good work

+ Reply to Thread

Similar Threads

  1. burglar alarm
    By chriz in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 21st June 2005, 10:17 PM
  2. burglar alarm
    By chriz in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 21st June 2005, 06:44 AM
  3. Cellular burglar alarm? Schematics anywhere?
    By nonzero in forum Electronic Projects Design/Ideas/Reviews
    Replies: 4
    Latest: 5th July 2004, 07:03 PM
  4. How to hook up house alarm and cell phone?
    By electrorookie in forum General Electronics Chat
    Replies: 3
    Latest: 2nd February 2004, 11:29 PM
  5. burglar alarm-cell phone link up
    By Lalit in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 7th January 2004, 04:09 AM

Tags for this Thread