On Sat, Nov 14, 2009 at 12:29 PM, Akankshu Dhawan <[email protected]> wrote:
> Hi All
> I am doing high sampling from the ADC on the MICAZ motes. and continously
> keeping count of values above a threshold. When I have 1000 values above a
> threshold I want to send a broadcast message using the radio ?
> 1. I want to know will the mote be sampling simultaneously while
> transmitting and receiving ? (are the radio and ADC on the same stack ??
> If No.. then I think I should be able to do it seamlessly... in case
> not...can someone tell me how long a transmission period is for MICAZ  for a
> standard packet size of 29 BYtes ??? and similarly about the receive periods
> ??

A default sized packet on the MicaZ takes about 1ms (give or take a
little) to transmit, when the channel is available.

The ADC is internal to the ATMEGA and the radio uses the SPI bus. The
number of samples you miss will depend on how your interrupt routines
are set up and how rapidly you are sampling the ADC. With low rate
rate sampling (<100Hz), you will not notice missed samples. Above
100Hz, you will start missing interrupts during radio transmissions.
If you get to really high rate sampling (~500Hz), you will probably be
limited by the computation you can perform in real-time on the stream
of data.

Zainul.

> 2. Also, if the stack is the same and I have to actually loose some sampling
> while Transmitting and receiving.. (since I want my nodes to be snooping
> more or less all the time) that might be a problem...  can someone guide me
> here...
> Thanks
> Akankshu
>
> --
> First they ignore you, then they laugh at you, then they fight you, then you
> win.
> - Mahatma Gandhi
>
> _______________________________________________
> 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