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

By Julian

Youtuber, shed dweller, solar charge controller aficionado

13 thoughts on “Playing with: the arduino secret voltmeter”
  1. Avataaar/Circle Created with python_avatars Gaurav Kakkar says:

    Voltmeter

  2. Avataaar/Circle Created with python_avatars John Box says:

    the condensation on the windows could be avoided using Linux, right?

  3. Avataaar/Circle Created with python_avatars FerrybigGaming says:

    The Arduino comes preset with the brownout detector set at 2.7V, it keeps resetting the processor until the voltage gets higher

  4. Avataaar/Circle Created with python_avatars vw beetle says:

    Can u not power the oled desperately and get a better result of the Arduino power consumption

  5. Avataaar/Circle Created with python_avatars Richard Allsebrook says:

    Press Ctl-T to auto format the source code in the ide.

  6. Avataaar/Circle Created with python_avatars Nothing\ says:

    Seems the original way they had it written had most of that big huge line commented out.

  7. Avataaar/Circle Created with python_avatars N8NK QRP says:

    Right. Thanks for the entertaining and informative videos

  8. Avataaar/Circle Created with python_avatars Dancing Rain says:

    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.

  9. Avataaar/Circle Created with python_avatars dan blankenship says:

    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.

  10. Avataaar/Circle Created with python_avatars Hector Pascal says:

    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".

  11. Avataaar/Circle Created with python_avatars Daves Tech says:

    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?

  12. Avataaar/Circle Created with python_avatars nintendoplaystation1 says:

    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.

  13. Avataaar/Circle Created with python_avatars Malhar Deshmukh says:

    Press CTRL+T for auto format in arduino IDE; it sorts everything out by itself;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.