Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-13 Thread Akankshu Dhawan
Hi Paul I think I will try this one thing. Let me reinstall the tinyos tool set and source tree so that I get the original settings for ADC and Mic details and the compare because it might be some change that I have made that is making it behave in this way. Because I do remember making some change

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Akankshu Dhawan
Hi Paul Thanks a lot. I really appreciate your help. I actually thought of that and had emailed Mr. Siquan a long time back and would do it again, but I have not heard back. Also, even if the sound source is a continuous sound source still the samples dont respond. I was thinking of the left adju

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Paul Johnson
Akankshu, I have taken a look at the code, but I'm not really able to say what is significantly different between the two other than the fact that SoundLocalizer is designed to sample the microphone as fast as possible, so there are probably some optimizations that Hu Siquan (the author of th

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Akankshu Dhawan
Hi Paul Can you tell me what might be the different between the microphone implementation in MicrophoneC inside SoundLocalizer Vs the MicP inside mts300 ? Thanks a lot Akankshu On Thu, Nov 12, 2009 at 4:44 PM, Paul Johnson wrote: > CVS under /tinyos-2.x-contrib/tinyos-programming/ > > -Paul >

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Paul Johnson
CVS under /tinyos-2.x-contrib/tinyos-programming/ -Paul Martin Osterloh wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, sorry for interfering this thread. But, where can I find the sourcecode to the soundlocalizer demo? Best, Martin Akankshu Dhawan wrote: Hi Michael and Zai

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Martin Osterloh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, sorry for interfering this thread. But, where can I find the sourcecode to the soundlocalizer demo? Best, Martin Akankshu Dhawan wrote: > Hi Michael and Zainul > > Thanks a lot for your response. I am grateful to be hearing from you. > > I w

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Akankshu Dhawan
Hi Michael and Zainul Thanks a lot for your response. I am grateful to be hearing from you. I will look into the corrected mean solution before I suggest some hardware changes to my team. Although, my bigger question was why direct sampling by calling getData->dataReady on a free running ADC (th

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Michael Schippling
I suspect that the straight averaging thing is not what you want. I haven't looked at the mic data, but it's sampling an AC signal (sound wave pressure alternates between compression and rarefaction at the frequency you perceive) and is probably biased so a no-pressure signal is pretty much in the

Re: [Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Zainul M Charbiwala
Hi Akankshu, On Thu, Nov 12, 2009 at 9:17 AM, Akankshu Dhawan wrote: > Hi All > I am using two mechanisms for high sampling. > 1. Using MicStreamC and changing the prescalar value inside MicP to > ATM128_ADC_PRESCALE_32 and the gain value is set to 64. > I create a buffer of 1000 samples and ever

[Tinyos-help] MicP precision compared to SoundLocalizer

2009-11-12 Thread Akankshu Dhawan
Hi All I am using two mechanisms for high sampling. 1. Using MicStreamC and changing the prescalar value inside MicP to ATM128_ADC_PRESCALE_32 and the gain value is set to 64. I create a buffer of 1000 samples and every time the buffer gets full I take the average and print it out. The problem is t