Hi, As Janos pointed out that you can read the battery voltage using VoltageC components. However, you will get the ADC count that you will need to convert to volts. For that use following formula. voltage = adcCount / 4096 * 3;
Read the tutorial about sensing if you have questions that how you can use VoltageC (http://docs.tinyos.net/index.php/Sensing). best regards, Faisal > You can read the battery voltage using the VoltageC component. I'm not > sure though that it is the voltage that you mean by battery level. > > Janos > > On Mon, Mar 1, 2010 at 3:44 AM, Shen LI <[email protected]> wrote: >> How to read Battery level from TelosB and Iris mote? >> Thanks a lot! _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
