Hi..
I'm a beginer student and I have a project idea. But i need help with something.
I need to know if there's anyway to make arduino defines which way sound is coming from.. and if there's a way to do this, how?
thank u already..
Hi..
I'm a beginer student and I have a project idea. But i need help with something.
I need to know if there's anyway to make arduino defines which way sound is coming from.. and if there's a way to do this, how?
thank u already..
autocorrelation of 2 audio concurrent audio smples --> sound runtime difference --> difference of distance to sound source --> trigonetry --> angle. equation has 2 solutions for 2 mics in 2D, you need 4 mics for an absolute position.
zwieblum:
autocorrelation of 2 audio concurrent audio smples --> sound runtime difference --> difference of distance to sound source --> trigonetry --> angle. equation has 2 solutions for 2 mics in 2D, you need 4 mics for an absolute position.
Have you done this with an Arduino?
...R
Depends what you count as Arduino. STM32F103 aka BluePill can do it and there is arduino for it, if that counts. SAMD20 has enough horsepower for it, too. Depending on your constraints, even a atmega can be ok (and you can get around the FFT and autocorrelation stuff): e.g: to detect capping sound all you have to do is: mic --> amplifier --> rectifier --> comperator --> pin change interrupt (A and B) (rising flank) --> measure time between A and B. Keep in mind, that the solution is a hyperboloid, but you only have 2 mics at the focal points, so your solution will most likely be the limes for D-->infinity. You get multiple pairs of interrupts per clap, which can be good or bad, so do approriate signal conditioning in the analog part (stretching ...).
Standard, ATmega-based Arduinos are not powerful enough to determine the direction of a voice or similar signal.
However, determining the source direction of a handclap (in a quiet anechoic environment) or gunshot should be possible with an Arduino Uno, using two or three microphones and time of flight triangulation.
What if the voice is in your mind?
Then just follow the light ...