...There is a way to measure the internal-optional 1.1V reference using Vcc as the actual reference. If Vcc is not 5V, you'll get an error (a difference) and from that error/difference you can calculate the actual Vcc.
Of course, this won't tell you anything useful until the battery falls to nearly 5V and the voltage regulator drops-out of regulation.
The buck converter delivers 5 volt as long as the voltage of the battories are higher than the buck converter minimum input level. I would measure the battory pack, 8.4 volt, using a voltage divider. Using a DVM You can calibrate the readings if You want. The important reading is the point where the buck converter will cut off.
Railroader:
The buck converter delivers 5 volt as long as the voltage of the battories are higher than the buck converter minimum input level. I would measure the battory pack, 8.4 volt, using a voltage divider. Using a DVM You can calibrate the readings if You want. The important reading is the point where the buck converter will cut off.
Good advice. I will do this if VCC doesnt work as a dependable reference.
Railroader:
Measuring the battory gives You the possibilty to take action before Vcc starts dropping, refs start to go bad etc.
Hello Railroader,
I hear what your saying. The buck drops out at 6.5 volts. By the time the cell reaches
3.3 volts the cells should be recharged since there is very little energy left at that point (based on my discharge curve) but it is enough so that the 5 volts doesnt drop out.
Basically i have it set up to blink leds to let me know what the battery cell voltage is. ie 3.5 volts is 3 blinks pause 5 blinks.
If I have a pin left I may just use a voltage divider then I can monitor the series connection. ATTiny85
as you know do not have many pins. Then I can pull the pin low make a measurement then high z it.