Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Really cool alarm system using Basic stamp

  1. #1
    Maximum Bitrate
    Join Date
    Mar 2001
    Location
    Cincinnati, Ohio
    Posts
    729

    Question 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
    goto Standby

    chirp: 'chirp the alarm and LED twice then goto armed mode
    out4=1
    out0=1
    pause 500
    out4=0
    out0=0
    pause 500
    out4=1
    out0=1
    pause 500
    out4=0
    out0=0
    pause 500
    out4=0
    out0=0
    '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
    goto arm
    warn:
    out1=1 'turn on voice chip
    pause 5000
    goto arm

    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?
    Clarion 200watt head unit w/ Aux in.
    Kicker 800watt 4 channel amp
    In a 96 Grand Prix SE.

  2. #2
    Maximum Bitrate
    Join Date
    Jan 2001
    Location
    Adelaide, SA, Australia
    Posts
    456

    Post

    That all sounds nice, and mite even work, but just buy a car alarm, they arn't all that expensive any more
    http://www.mp3vl.tk Plans and progress on my install - (Updated 28 June 02)
    Australian mp3car Portal
    mp3car related links Check them out / Add some
    mp3car FAQ - RTFF

    [########==]80% Assembling
    -=Current Progress: Working Sproggy supply, building box.=-

  3. #3
    Maximum Bitrate
    Join Date
    Mar 2001
    Location
    Cincinnati, Ohio
    Posts
    729

    Post

    All, ok, and instead of building my own mp3 system, I believe I'll go talk to that annoying dude over in the sale section and get one of those prefab computer setups, ok?

    I THOUGHT BUILDING THIS STUFF WAS THE WHOLE POINT OF THIS SITE!!!!
    Clarion 200watt head unit w/ Aux in.
    Kicker 800watt 4 channel amp
    In a 96 Grand Prix SE.

  4. #4
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464

    Cool

    I've been looking for an excuse to buy the BasicSTAMP dev kit for a while, and you may have just provided it for me. It suddenly occured to me that there's no good reason for me to carry keys around, since my car has keyless entry. So, why not build a STAMP based keypad and start button to start the car? Type in a code, which enables the IGN line. Then push the start button to crank the car. Once the start button is released, the stamp loops and waits for a shutdown button to be pressed (or the start button to be pressed again), at which time it kills the IGN line. There could be another button that just enables the ACC line...Hmmmm....
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

  5. #5
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    Angry

    i also need a new car alarm, and i`d much rather build it myself, but wtf is STAMP?

    doesn't anyone have a link or anything...

    sorry to seem like skinny boy!

    [ 08-16-2001: Message edited by: Mike Hunt 79 ]

  6. #6
    Low Bitrate
    Join Date
    Jun 2001
    Location
    altanta, ga, usa
    Posts
    56

    Post

    I had the same question. I found this

    There seems to be a lot of info out there (go to Yahoo and search for "Basic Stamp"). It definitely looks interesting.

  7. #7
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    Lightbulb

    Originally posted by tbone:
    <STRONG>I had the same question. I found this

    There seems to be a lot of info out there (go to Yahoo and search for "Basic Stamp"). It definitely looks interesting.</STRONG>
    Thanx for the link!
    I can feel another project coming on already, and i havent even finished my mp3 project!

    Looks like my BBC BASIC experience (from 12 years ago!) might come in useful after all!

    Idea... u could have the in car mp3 computer linked to the BASIC STAMP in the car.... the possabilities r endless.... the computer could control leds, 'letric windows, etc... i must stop, or i will explode with excitement

  8. #8
    Maximum Bitrate
    Join Date
    Mar 2001
    Location
    Cincinnati, Ohio
    Posts
    729

    Post

    Its not that hard to program, I've never programmed much before, and I picked it right up in about 2 hours.
    I'm going this weekend to buy a piezo alarm, shock detector, and a Doppler Radar detector for it.
    Clarion 200watt head unit w/ Aux in.
    Kicker 800watt 4 channel amp
    In a 96 Grand Prix SE.

  9. #9
    Maximum Bitrate MikeHunt79's Avatar
    Join Date
    Aug 2001
    Location
    Cambridge & Bristol, UK
    Posts
    707

    Thumbs up

    cool... let us know how it goes... i`d also wire up the horn to the alarm... but then i have a lorry airhorn installed

  10. #10
    Constant Bitrate
    Join Date
    Oct 1999
    Location
    CA, USA
    Posts
    118

    Post

    Bite the bullet, build or buy a programmer and just learn to program in Microchip assembly. There are a multitude of MCU's from Microchip that are dirt cheap, have built in flash, have A/D converters, Uarts, etc etc.

    REAL convenient to use and program, much cheaper and more powerful in the long run.

    Probe

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •