Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

How to read input from sound sensor?


  • Please log in to reply
3 replies to this topic

#1 jethomas

jethomas

    New Member

  • Members
  • Pip
  • 1 posts

Posted 14 June 2013 - 02:07 AM

I bought this sound sensor input: http://www.amazon.co...0?ie=UTF8&psc=1

 

 

I have it wired up to 5V, GND, and A0. Reading the analog input it doesn't seem to pick up any sound differences. There are mild fluctuations in the input but nothing major between silent and loud. I've played with the potentiometer but it doesn't effect the output. 

 

I also tried the digital input but again it stayed at 0 the whole time even with the potentiometer adjusted.

 

Any thoughts on how to wire this up? 

 



#2 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 16 June 2013 - 12:17 PM

Hi and welcome to the forum! It sounds as if you got it wired correctly but beware the Netduiono analague ports are not 5V tolerant. You could try feeding the module 3V3 instead of 5V and see what happens. I'm not saying you have but there's a possibility you might have damaged the ADC of your Netduino. According to the discription, you should get a transition (in either direction doesn't clearly state which) on the digital pin when the sound pressure exceeds a certain threshold depending on the potentiometer position. Could be transition is made from high to low so try wiring to an interrupt port and have it trigger on both edges. Then put a Debug.Print in the event handler and see if you get anything as you clap and dial the pot slowly from one extreme to the other. I assume that if you had a scope, you would have already used it so I guess you either don't have a one or didn't see a signal According to the review, you need to make a pretty loud noise for it to react, like clapping your hands very close to it. Since you probably already tried this, it would seem to me you got a rotten egg :-(

#3 Jamo

Jamo

    Member

  • Members
  • PipPip
  • 13 posts

Posted 29 June 2013 - 11:22 AM

If anyone has any code for that sensor I'd also like to put it to use :)

 

Most appreciated!



#4 lt_dans_legs

lt_dans_legs

    New Member

  • Members
  • Pip
  • 1 posts

Posted 14 January 2014 - 03:39 AM

Does anyone have any code for this sound shield?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.