Really cool alarm system using Basic stamp
I'm looking into putting a Basic Stamp in my car and setting it up as an alarm system.
its a Parrallax model 2. it holds like 32k of programming.
It has 16 I/O pins.
here is the program->
'Logans Car Alarm
'pin 0 is LED on dash
'pin 1 is siren or voice chip
'pin 7 is UHF remote
'pin 13 is trunk light
'pin 14 is shock detector
'pin 15 is dome light relay
Dirs = %000000111111111 '0=out 1=in
Standby: 'standby mode
out0=0 'led is off
if in7=1 then chirp 'if remote outputs to pin 7 then chirp the alarm
chirp: 'chirp the alarm and LED twice then goto armed mode
'goto armed mode
arm: 'armed mode, alarm is on and ready
if in13=1 then warn 'goto warn mode
if in14=1 then warn 'goto warn mode
if in15=1 then warn 'goto warn mode
if in7=1 then standby
out1=1 'turn on voice chip
I'm not done with the program yet, and I am really bad at it, and I can't get it to work right, so any help with it would be great.
I am going to use relays so that when someone opens my trunk or door, it will set it off, and I am going to get a shock sensor so if some one pushes against the car.
I am going to get a voice chip from Radioshack, so that if the alarm is set off, it will say "Please step back from the vehicle" then 10 seconds later, it will set off an alarm, then the alarm will go off in 30 seconds.
I think I am going to use an extra battery and one of those things that lets it charge from but not drain the main battery.
This will then power a 80watt amp I have laying around, which will power a 10" woofer for the alarm and voice.
I am going to buy a UHF transmitter and reciever from radioshack (unless someone know where I can buy the key ring type with out having to have it tied to a certain alarm system/brand.)
So, any ideas anyone?