+ Reply to Thread
Results 1 to 17 of 17

Thread: Basic Stamp alarm

  1. #1

    Default Basic Stamp alarm

    I'm working on an alarm using the BS2. It will sense a beam of IR across a doorway
    and if that beam is broken, the BS2 will emit a 4000 Hz tone for 1 second.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    So many projects, so little time.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  2. #2

    Default

    Note: you MUST read the text.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    So many projects, so little time.
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  3. #3

    Default

    You might consider using the PIN definition to make the program easier to update or incorporate into other projects.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX USA
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  4. #4

    Default

    Thank you, Jon!
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    So many projects, so little time.
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  5. #5

    Default

    Guys, I made a revised version of the original software.
    The Tx is a 74LS04 osillator circuit.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    So many projects, so little time.
    Attached Files Attached Files
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  6. #6

    Default

    OK, I did it again. It works beter now!
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229

    Toddler: $249

    Learning Google is your friend: priceless
    Attached Files Attached Files
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  7. #7

    Default

    I tried the same thing, except that I used a laser pointer running off of a AC/DC power supply, and aphotoresistor to detect if the beam was interrupted. When it was it set off an alarm that didn’t turn off.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    the NERD, Kelie B.


    =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

    If electricty comes from electrons, does morality come from morons?
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  8. #8

    Default

    Thats the point! Just press the reset button.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229


    Toddler: $249

    Learning Google is your friend: priceless
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  9. #9

    Default

    i would like to do this can i do it with the boe bot board of education
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  10. #10

    Default

    Yes you can.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229


    Toddler: $249

    Learning Google is your friend: priceless
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  11. #11

    Default

    I had actually tried this once, but instead of using a tube to focus the IR led I used an old camera lens.

    This significantly increased the accuracy of the beam.
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  12. #12

    Default

    I have posted a schematic of the project.

    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229


    Toddler: $249

    Learning Google is your friend: priceless
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	BASIC Stamp Alarm.gif‎
Views:	430
Size:	23.3 KB
ID:	38537  
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  13. #13

    Default

    Hi gyes.This is my first time in this forum.I found it excellent.I am from greece .So ,my english are not very good.I would like to ask if we can use 2 ir leds in alarm.What do you think?THen the alarm will be better .in addition i have a circuit than can make the piezospeaker stronger.
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	piezoAmp.jpg‎
Views:	431
Size:	59.6 KB
ID:	38542  
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  14. #14

    Default

    Robby, you can use up to 7 IR pairs (LEDS - DETECTORS) or up to 15 simple photointerupters detectors to armor all over your place if you like!!

    The only problem I see is all the wiring along the house making your wife go crazy!!!
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  15. #15

    Default

    Robby,

    If you want to increase the volume of a "raw piezo" (i.e no internal piezo circuitry), then
    see my reply in the "Stamps in Class" section several months ago about amplifying a piezo speaker.

    http://forums.parallax.com/showthread.php?p=464410



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  16. #16

    Default

    I hadnt thought of this.we can put more than 2 ir leds.so ,thanks for the help on amplifying.In addition we can put a microphone and other sensors.the only thing we've to do isto make the suitable programm.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    DONT REST UNTIL YOU BEAT THE BEST
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

  17. #17

    Default

    I have also posted a SX version.
    bugg

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Boe-bot: $229


    Toddler: $249

    Learning Google is your friend: priceless
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	SX Alarm.gif‎
Views:	354
Size:	24.9 KB
ID:	38555  
    Last edited by ForumTools; 09-30-2010 at 11:55 AM. Reason: Forum Migration

+ Reply to Thread

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