There is a HighFrequencySampling demo app that might have some clues.
If you are using the TimerC component your minimum sample time will
be 1 millisec and you probably want to go faster than that. You can
free-run the ADC so that it takes about 10 clocks to do a conversion,
which will be about the fastest you can go.

Both of the above are left as exercises for the reader since I have
not done any of it and don't use the micasb board anyway. The controller
spec sheet can guide you in free-running the ADC.

I wasn't following along on the MicInterrupt thing. I don't see a
signal labeled that on the micasb schematic so I guess I can't be
of any help there either...

MS

R Gartz wrote:
Hello,

I want to sample the microphone as fast as possible on the micasb sensorboard (for a ranging application).
How can I do that?

When I use a Timer which fires each tick, it fails to detect the sounder... (setting it at higher values yields in a large loss of precision) (I posted a question about MicInterrupt before on this mailing list (concerning MicInterrupt that fires only once when my micaz nodes boot), but I haven't been able to find a solution for it...)

greetings,
robin


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to