Hi Cepni, at 30 ksps you should probably use DMA to interface to hte sensor. For example of how to do this look at the drivers for Microphone*.nc in /opt/moteiv/tos/sensorboards/invent/ (I assume you use Boomerang). If you would like to look at an example of buffering a larger chunk of data and disseminating it afterwards take a look at the Ditto application in /opt/moteiv/apps/invent/Ditto/
Best regards, Rob On 9/18/06, Gurkan Cepni <[EMAIL PROTECTED]> wrote:
Hello everyone, I am trying to use Moteiv- tmote telos-b unit to sample two signals using the external pins available on the unit. I want to sample each one with a sampling rate of >30 ks/s and send them to another telos-b unit connected to a laptop and save the signal waveforms on the computer. Any available codes that can help me do that. I already examined Oscilloscope code and it seemed to me complex enough to modify. Thanks. Cepni _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help