
Meshal
Saudi Arabia
Asked
— Edited
I'm looking for a way (shield) to track sounds at any spot around, like when I try to talk then it will identify the source (direction) of my sound. in other word, robot's head/eyes can follow people while they're talking to each other.
These will each use one adc port on your ezb and you need three. One pointing slightly to the right one slightly to the left of robots view and one front and center. Your going to need to insert code that compares the three values of the sensors and if right or left is significantly louder (which will take adjustments of the values that indicate that im sure) the head servo will turn to the pre designated position for that side.
http://www.ebay.com/itm/Sound-Sensor-Module-for-Arduino-Sensor-Shield-PIC-MCU-/150917251621?pt=LH_DefaultDomain_0&hash=item23235e8225
ARC has some straight commands like :
Code:
but once the servo will have relative angles (depends on the value of each sensor) then I need to do some mathmatical comparison between these values to get the most effective (non fixed) angle which is "I think" not practical in ARC unless someone has tried it before, ummm something like long cascaded IF statements :
Code:
it will work in EZ-SDK for sure, so I'm going to figure this out after getting these modules.
Thanks for the help