Search back on this list for audio and microphone,
and my inimitable name on such messages. As to moteworks
which I have never used, there seems to be some strange
concept of time which isn't allowed to be very short.
If the "regular" tinyos demo apps are available to you
have a look at Oscilloscope, which uses a Timer to set
when samples are taken. Such Timer can be set to fire
at a minimum period of 3ms. That doesn't give you very
good audio, but it's some kind of sound sampling. What
you are seeing now is probably whatever instantaneous
signal is present at the microphone for the few
microseconds that it is sampled every 200 millisec.

MS

Akankshu Dhawan wrote:
> 
> Hi All
> I have been trying to get microphone data from MTS310CB sensorboard on a 
> MICA2 (MPR400) .
> I am using an MIB510 gateway.
> 
> Using the XMTS310CB application:  I am getting a 1 sample for every 1 
> second and sometimes even 1 samples for 2 seconds. This is not desirable 
> for my work. I tried changing the timer rate but it did not change the 
> characteristic much.
> 
> I tried the Lesson_4 which comes with the crossbow's moteworks setup for 
> sensing light. That setup could sense light upto 5 times a second which 
> I found encouraging and changed photo part of the code to the code in 
> XMTS310 (just microphone sections) . I am getting 4-5 samples of 
> microphones but they seem to be showing random values and not responding 
> to the surrounding sounds.
> 
> Could someone guide me how to get atleast 10-100 samples per second 
> using this hardware ?
> Or suggest another hardware/sensor that can provide me a good audio 
> sampling rate. Also just for reference, I am using Moteworks by crossbow.
> 
> I would really appreciate any help.
> 
> Thanks a lot.
> 
> -- 
> Regards
> Akankshu Dhawan
> Research Assistant,
> Computer and Information Science Department
> University of Massachusetts,
> 285 Old Westport Road, North Dartmouth
> MA 02747
> 
> -- 
> First they ignore you, then they laugh at you, then they fight you, then 
> you win.
> - Mahatma Gandhi
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to