Hey All,According to my findings in the tinyos-1.x/tos/interfaces directory, 
and after reading the ADCControl interface I have some doubts that I expect you 
can help me to make me clear.I need to sample a microphone with a Sampling rate 
over 64Kbps, because I need to playback the audio samples, and according to the 
Nyquist Theorem, if I want to recover the audio transmitted I'll need to sample 
it at least twice of the human voice frequency.As I read from ADCCconrtol 
interface and ADC.h, if I use this interface and setting the 
ADCControl.setSamplingRate(5), which equals to T=120uS I achieve a sampling 
rate of Sr = (1/T)*Bits per sample = 8333.33Hz*8bits/s = 66.7Kbits/s. Acutally 
the ADC is 10 bits length but I drop the 2 LSB, and I get 8 bits length. I'm 
the MicC and I'd like to use the directly the hardware to access the 
Microphone, but I'm facing some problems... 1 - I can still using the MicC, but 
my problem is, Where to call ADCControl.setSamplingRate()?...2- am I correct 
with my findings?.3- someone told me that is better to use directly Harddware 
componet of the ADC... can I have some help from you about using the 
hardware?thanks in advance-antonio
_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite 
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to