Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 28th September 2006, 09:15 PM   (permalink)
New Member
cctv is on a distinguished road
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.
cctv is offline   Reply With Quote
Old 30th September 2006, 09:34 AM   (permalink)
akg
Experienced Member
 
akg is on a distinguished road
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."
akg is offline   Reply With Quote
Old 30th September 2006, 08:18 PM   (permalink)
New Member
cctv is on a distinguished road
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.
cctv is offline   Reply With Quote
Old 30th September 2006, 08:30 PM   (permalink)
Experienced Member
Tarsil is on a distinguished road
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.
Tarsil is offline   Reply With Quote
Old 1st October 2006, 11:55 AM   (permalink)
New Member
cctv is on a distinguished road
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.
cctv is offline   Reply With Quote
Old 1st October 2006, 01:23 PM   (permalink)
Experienced Member
Tarsil is on a distinguished road
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.
Tarsil is offline   Reply With Quote
Old 2nd October 2006, 07:58 AM   (permalink)
New Member
sho_gun is on a distinguished road
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 .
sho_gun is offline   Reply With Quote
Old 2nd October 2006, 10:16 PM   (permalink)
Experienced Member
Madhouse is on a distinguished road
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!
Madhouse is offline   Reply With Quote
Old 3rd October 2006, 10:12 PM   (permalink)
Experienced Member
Madhouse is on a distinguished road
Default

Quote:
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; -


Quote:
'
***************************
'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
File Type: gif PIC GSM Alarm.gif (11.3 KB, 55 views)

Last edited by Madhouse; 3rd October 2006 at 10:14 PM. Reason: missing attachment
Madhouse is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
burglar alarm chriz Electronic Projects Design/Ideas/Reviews 1 21st June 2005 09:16 PM
burglar alarm chriz Electronic Projects Design/Ideas/Reviews 1 21st June 2005 05:44 AM
Cellular burglar alarm? Schematics anywhere? nonzero Electronic Projects Design/Ideas/Reviews 4 5th July 2004 06:03 PM
How to hook up house alarm and cell phone? electrorookie General Electronics Chat 3 2nd February 2004 10:29 PM
burglar alarm-cell phone link up Lalit Electronic Projects Design/Ideas/Reviews 2 7th January 2004 03:09 AM



All times are GMT. The time now is 10:11 PM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.