Assuming that the 'dot works like the mica2,z you shouldn't need
to read the ADC directly, but rather just look at the TOS_Msg.strength
field in the receive() function.
As to run-away problems, I can't think of any reason that reading the
rssi ADC would affect radio sends, but my thinking is often cloudy...
It could be that the timer you use to start ADC conversions is not set
correctly, or you could have some other programming error that creates
more message sends than you expect, like collecting too many samples
too fast. If you continue to have trouble, post your code so we can
have a look.
MS
Nadeem Jamal wrote:
Hello all, I really need some desperate help, hope one of u will ans me
. I know RSSI topics have been discussed quiet a bit on this forum but
for some weird reason I can not seem to get it working.
I am using the MICA2Dot nodes and the Crossbow mote works development
platform.
As I have understood rssi reading can be acquired using ADC0 on the
mica2dot. I have been successful in acquiring the battery voltage with
no problems. But when I use the same method to acquire the rssi reading
from ADC0 my mote goes crazy and starts flooding. Meaning it gets out of
sync and floods the network. It starts sending Radio packets extremely
fast and with incorrect adc readings.
I hope some on can help me understand how I can solve this problem or is
there any other way to acquire the rssi reading I require.
Thanking you from before,
Nadeem Jamal
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help