Now I am developing an application by reading the x, y acceleration
from acclereometer ADXL202

in MTS310/MICAZ, and I want the high sampling rate such as 300Hz.
But in tinyos 2.0, under the modified Oscilloscope samples(Sensor is
changed into accelerometer),
I have tested several cases and found the maximum sampling rate is about 50Hz.


In such scenario, the sampling interval is 20ms, and the timer
period(for transmitting packet to the basestation) is 20ms.
If I set the sampling interval lower than 20ms, then several samples
should be aggregated into one packet to be sent.


For example, if sampling interval=5, and 5 number of samples should be
aggregated, then the timer period should be 25ms.
Theoritically now we can obtain the sampling rate=40*5=200Hz at the
base station. But in fact it is not true.


The sampling rate of the received packets in the base station is
rather less than 40Hz. So I don´t know what it is problem.

I don´t know anybody who met the same problem?

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

Reply via email to