Rather long, slightly rambly play with the Arduino Secret Voltmeter code. Does this provide enough resolution to measure lithium cells for the purpose of cell balancing?
Arduino Secret Voltmeter
https://code.google.com/archive/p/tinkerit/wikis/SecretVoltmeter.wiki
Julian explains: How Arduino A/D Converters Work
https://youtu.be/OLTIfvm4lpQ
Arduino Secret Voltmeter
https://code.google.com/archive/p/tinkerit/wikis/SecretVoltmeter.wiki
Julian explains: How Arduino A/D Converters Work
https://youtu.be/OLTIfvm4lpQ
Voltmeter
the condensation on the windows could be avoided using Linux, right?
The Arduino comes preset with the brownout detector set at 2.7V, it keeps resetting the processor until the voltage gets higher
Can u not power the oled desperately and get a better result of the Arduino power consumption
Press Ctl-T to auto format the source code in the ide.
Seems the original way they had it written had most of that big huge line commented out.
Right. Thanks for the entertaining and informative videos
Hint: The "Secret Voltmeter" doesn't have to measure VCC. It can also measure the analog reference (AREF) pin's voltage with the same resolution as it measures VCC. Just change the proper bits in the register configuration.
Very interesting, thank you for showing this page and debugging the code for us.
I plan on using this code in all my battery operated sketches to keep an eye on my rails to alert me if the source is going too low and possibly cause damage to my Li-Ion batteries. Almost like make this a general purpose library.
Aiiiyah! It's pronounced "ming her" NOT "ming hee" – and to be strictly correct, there is a low to high rising tone on the syllable "her".
Why not use a voltage comparator on vdd at a low voltage close to the cutoff voltage then program a offset in the code to give better resolution?
Nah no secret and the Voltage of the reference is not always 1.1V. Some MCU's have it a bit higher or lower and it changes a little between different VCC voltages.
Press CTRL+T for auto format in arduino IDE; it sorts everything out by itself;