[Tinyos-help] External sensor reading

2006-09-18 Thread Gurkan Cepni
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 waveformson the computer. Any

Re: [Tinyos-help] External sensor reading

2006-09-18 Thread Matthew J Whelan
Cepni,It will not be possible for you to sample at 30kHz across two channels and transmit the data in real-time. You will have to sample sensors to some form of flash memory. The motes have a 1mB flash chip, but this will fill up very fast with the sampling rate you are needing. The 1mB flash chip

Re: [Tinyos-help] External sensor reading

2006-09-18 Thread Robert Szewczyk
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

Re: [Tinyos-help] External sensor reading

2006-09-18 Thread R. Steve McKown
On Monday 18 September 2006 01:11 pm, Gurkan Cepni wrote: Actually, I am not planning to sample the signals continously. That's ok for me to sample for just 2 secs. (using 30ksps sampling rate: I want to sample it fast so that the environment will not change much) I wrote a test program on a