Shop OBEX P1 Docs P2 Docs Learn Events
sound sensor? — Parallax Forums

sound sensor?

omar9944omar9944 Posts: 2
edited 2008-01-29 19:55 in BASIC Stamp
hello,
i have the basic stamp board listed here
http://www.parallax.com/Store/Education/KitsandBoards/tabid/182/CategoryID/67/List/0/SortField/0/catpageindex/1/Level/a/ProductID/313/Default.aspx
and i'm wondering if there is any sound sensor that i can find to use on this board.
im trying to hook up this sensor and get me a noise/sound reading in db.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-29 19:48
    Do a web search for "sound sensor". Here's one article: ashishrd.blogspot.com/2007/05/viper-ear-sound-sensor-for-microbric.html

    There's a lot of good information on using sensors with Stamps here: www.emesystems.com

    The "sound sensor" mentioned above provides a true/false signal if the sound exceeds a threshold. It would be possible for the Stamp to provide a voltage (using the PWM command ... see the Basic Manual) to set this threshold rather than have it set manually.

    Post Edited (Mike Green) : 1/29/2008 7:54:18 PM GMT
  • omar9944omar9944 Posts: 2
    edited 2008-01-29 19:52
    i even found couple of them on newark.com; but how do i know they're compatible? is any sensor compatible with the basic stamp i have?
  • ZootZoot Posts: 2,227
    edited 2008-01-29 19:52
    Here is a relatively simple sound sensor circuit that uses an ADC (analog to digital converter) and a Stamp. This measures volume (db).

    This fellow set up a two channel (stereo) sensor; if you only need one, you could eliminate half the circuit. Apparently he had good results.

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

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-29 19:55
    A Stamp's I/O pins normally provide a logic level input or output. For logic level input, anything over about 2V is considered HIGH while anything below about 2V is considered LOW. A sensor that provides a 5V logic signal will work. Sensors that provide other sorts of signals (like analog voltages) require additional circuitry. Download and look through the "Basic Analog and Digital" tutorial that you can get from Parallax's website. Look under the "Downloads" link under "Stamps in Class Tutorials" and you'll see it.
Sign In or Register to comment.