[Tinyos-help] micaz voltage increasing when battery droop

2011-05-24 Thread srsini srsini
Hello, i try to compute the remaining power in the battry in micaz !! but each time i do the test i find that the power is increasing . that's strange , i don't understand the matter. PLZ any idea could help. i use this # */ module VoltageP { provides interface Atm128AdcConfig; } implementat

Re: [Tinyos-help] micaz voltage increasing when battery droop

2011-05-24 Thread Michael Schippling
As I understand it, the mica platforms measure battery voltage by taking a reading from a fixed 1.23v chip. Since the ADC reference (full-scale-value) _is_ the battery itself, the reading from the chip will _increase_ as the battery droops. You may be seeing this effect, but I thought the Voltage

Re: [Tinyos-help] micaz voltage increasing when battery droop

2011-05-24 Thread 崔晓宗
Battery Voltage. The returned value represents the difference * between the battery voltage and V_BG (1.23V). The formula to convert * it to mV is: 1223 * 1024 / value. 2011/5/25 Michael Schippling > As I understand it, the mica platforms measure battery voltage > by taking a reading from a f