Hello,

i would like to get the battery voltage of mica2 motes and use it while i 
calculate the rssi valor (dBm). I'm using the Pong application but i can't take 
the ADC count of battery voltage because i'm pretty new to nesC and i don't 
know what to do. i read the manuals and i found that the battery voltage valor 
is placed in channel 7 of ADC count and that there is an application called 
VoltageC (in opt\tinyos-1.x\tos\system folder) linked to VoltageM (in 
platform\mica2 folder) that take the ADC count and convert it to the real 
voltage of battery (mV). 
So the main problem is: how can i get the battery voltage information and put 
it in the Pong application? And then, how can i put this ADC count valor into 
the pong packets to calculate (with the java application associated) the exact 
valor of RSSI (dBm)?

Hope you can help me,

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

Reply via email to