by StuartL » Wed Apr 16, 2008 7:13 am
by StuartL
Wed Apr 16, 2008 7:13 am
Hmm, it seems my 30 second time is nowhere near big enough
How about accruing 'points' based upon how long the battery voltage has been below its peak and how far below that peak it has been?
That way when it fluctuates by 20mV (1-bit at 10-bit ADC) it means less than if it plummets 0.5v.
3mV a minute would take 7 minutes (or more) to consistently register on a 20mV scale.
Unfortunately the only other Vref available is 2.56V (from memory), which would give better (almost 2x) resolution in the ADC but at the 4x potential divider scale is only just over 10V. Not enough
I need Aref to be about 3V... wonder if it's worth bridging the 3.3v zigbee power output to the Aref pin...
Hmm, it seems my 30 second time is nowhere near big enough
How about accruing 'points' based upon how long the battery voltage has been below its peak and how far below that peak it has been?
That way when it fluctuates by 20mV (1-bit at 10-bit ADC) it means less than if it plummets 0.5v.
3mV a minute would take 7 minutes (or more) to consistently register on a 20mV scale.
Unfortunately the only other Vref available is 2.56V (from memory), which would give better (almost 2x) resolution in the ADC but at the 4x potential divider scale is only just over 10V. Not enough
I need Aref to be about 3V... wonder if it's worth bridging the 3.3v zigbee power output to the Aref pin...