Shop OBEX P1 Docs P2 Docs Learn Events
Clap detector? — Parallax Forums

Clap detector?

nikanika Posts: 11
edited 2006-05-12 19:46 in BASIC Stamp
Has anyone built a simple clap detector for the BS? Im trying to do this without using an amp. Maybe a piezo sensor? I'd like to do this via RCtime. Thanks, nik

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-05-11 17:51
    I think that a crystal microphone, piezo sensor,·may not have enough output (voltage) for the RCTime to make effective use of.· Maybe you can find one at·a·thrift store, or Goodwill,·for cheap to do experiments with (like the microphones made for older tape recorders.)
    http://hyperphysics.phy-astr.gsu.edu/Hbase/audio/mic3.html
    http://www.radioshack.com/product/index.jsp?productId=2123172&cp=&origkw=microphone&kw=microphone&parentPage=search

    Post Edit --
    My assumption is that your intention is as a hand-clap detector and not some other sort of clap detector.

    Post Edited (PJ Allen) : 5/11/2006 7:10:46 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-05-11 17:57
    If you used an op-amp you may be able to get a signal from a microphone or Piezo to be detected by the BASIC Stamp as a simple HIGH/LOW signal.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Charlie JohnsonCharlie Johnson Posts: 147
    edited 2006-05-11 19:15
    LOL, I had a very different visual when I saw the subject.· nono.gif
  • Vern GranerVern Graner Posts: 337
    edited 2006-05-11 19:59
    nika said...
    Has anyone built a simple clap detector for the BS? Im trying to do this without using an amp. Maybe a piezo sensor? I'd like to do this via RCtime. Thanks, nik

    Are you looking for an impact noise detection (i.e. "clap on" - "clap off") or are you looking to detect the level of applause from a large crowd (i.e. a applause meter to allow audience noise to determine a winner)?

    Vern

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
    Senior Systems Engineer    | obviously incompetent so why are we
    Texas Information Services | paying you? Of course,if the network
    http://www.txis.com        | is up, then we obviously don't need
    Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG
    
    
  • A.C. fishingA.C. fishing Posts: 262
    edited 2006-05-11 21:27
    What about the stamp audio system in the projects?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    Somebody said...
    -Never Underestimate the power of human stupidity.
    ·
  • nikanika Posts: 11
    edited 2006-05-12 02:50
    Just a simple hand clap high/low signal like what was earlier described. I'm going to have to look into opamps. If anyone has done this before leme see how you did it. Thanks, nik
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-05-12 15:01
    Here's an experimenter's kit for $1 more than the microphone that I linked to· -- http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=151204

    It comes with an electret mic.
  • steve_bsteve_b Posts: 1,563
    edited 2006-05-12 19:46
    An OP-Amp set up as a comparator should work fine. Set up a 2nd stage OP-amp to give an indication of the input going over a certain threshold (a clap...not THE clap).

    You'll probably have to amplify the mic.....

    Don't forget to add in a small pot so you can adjust the comparators reference to tune in for the clap level.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Sign In or Register to comment.