I assume you have something like this driving your data acquisition:
    call Timer.start(TIMER_REPEAT, 100);
so you (should) get about 10 sample cycles per second.

Are you then sending one sample per message, or aggregating them in
a manner like Oscilloscope? When you say "only 3 packets/sec is being
sampled" it sounds like you are not aggregating, and if not, how do
you know you're only getting 3 samples/sec?

And according to my, now old, measurements a mica2 system should be
able to send about 25 messages per second. Are you using a multi-hop
layout? You (should) be able to put up to 14 2-byte samples into the
29 byte message payload and at (lets be conservative, with no hops)
20 messages/sec, get 280 samples/sec.

MS

raghavendra a wrote:
Hi,

I am using MICA2 motes with MDA320 sensor boards. In my application I sample analog data at the rate of 10 samples/sec, store the values in the Flash, and then read them sequentially. I do the READ and send the data back to the base at a slower rate since only 3packets/sec can be sent at the most. But I see that only 3packets/sec is being sampled. How can I increase the sampling rate with MICA2 motes?



Thanks,
--
Ragh


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

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

Reply via email to