Can somebody recommend a good quality sound sensor to work with the v4, preferably analog. I had a pair of cheepo's laying around that I tried (pictured below), didn't work on analog, and digital wasn't much better although a slight improvement. I'm wanting to get the whole "robot hears something on the left, head turns left" thing going, so any recommendations would be appreciated.
Upgrade to ARC Pro
ARC Early Access will give you immediate updates and new features needed to unleash your robot's potential!
Funnily enough, I bookmarked your thread some time back and have been referring back to it recently :). I'm hoping to find something that ships from the UK for quick delivery and lower price shipping. Thanks for reposting your thread. Very useful and nice job.
I just managed to find the sensors you used from the UK robotshop site.
So throwing a capacitor to keep the voltage higher longer will help.
No, they are not for K-9 (but if they work well enough, I may add some to him), but for a new project I'm working on. I'll be sure to leave a post when I try these new sensors out.
Thanks for the advise, that's good to know. Any recomendations on what capacitor I should use?
I just received my sound sensors and they work great, so thanks for the recommendation. I just wanted to ask though, in your script you mention that you multiplied the readings by 50. What is that actually doing, and what is the max it can be set at?
And would increasing the voltage up to 5v make them more sensitive than running off 3.3v?
Basically by multiplying the sound values you are magnifying the difference between the two sound sensor values and you filter out random noise by using a conditional statement stating that the value has to be greater than X to trigger an event.
So small differences when magnified become very large depending on the value that is used as a multiplier.
You can also experiment by taking 50 sound values from both sensors alternating between the left and right, summing them and then taking the difference.
Thanks for getting back to me and for explaining. So basically, the higher I set the multipucation values, the more sound the sensors pick up on, and setting these values at say 300 would start picking up more background noise. Gotcha.
Just courious, have you ever tried these sensors at 5v? I just wonder what the difference would be. I'm waiting on a delivery for some 5v regulators so I've been unable to test it.
1 x*50=50 1.7*50=80 # first time through the loop
1.1*50=55 1.2*50=60 # second time through the loop
The difference between Righty 1+1.1=2.2 and Righty 50+55=105
The difference between Lefty 1.7+1.2=2.9 and Lefty 50+55=140
Okay, that's cool and a little easier. Thanks for confirming.
I saw your newest video on youtube! your sound sensor is working fine!
can you help me with the script ?
I have only one sound sensor from the Robonova Humanoid (picture)
my projects: the robot responds to clapping
I use ADC 0
I think this might be the one you're referring too...
This was the example I used in my ADC tutorial. Click the link below and have a look. Hope it helps.
I think, I have a wrong sound sensor..
I get no responce If I make sounds..
I have a similar like you first one..
now you bought new ones?!
What should I look for when I buy new ones ?
I don't know if you saw it, but on page one, DJ mentioned about putting a capacitor to the signal line which I never tried as I was not sure what type of capacitor to use. So I went with the recommendation for the sound sensors I have linked to below. That are cheap, they are plug and play and they quite simply work without any additional work. They can be used directly from the 3.3v ADC power pins, or use 5v with a regulator.
DFRobot Sound sensors