Another Arduino sandwich - this time the INA219 current sensor module, an Arduino Pro Mini and a 128x32 OLED. Part of my 18650 current monitoring project.
Arduino Code: https://hastebin.com/papifoyota.cpp

By Julian

Youtuber, shed dweller, solar charge controller aficionado

13 thoughts on “15 minute arduino project: oled ammeter ina219”
  1. Avataaar/Circle Created with python_avatars Bradley Lomas says:

    Im having a hard time watching this because of your skills

  2. Avataaar/Circle Created with python_avatars Farid Safazadeh says:

    I hate when people make simple things rather complicated! it is just a obvious sign of unhealthy mind.

  3. Avataaar/Circle Created with python_avatars Sigh yawn says:

    is it possible to fit a whole program similar to the menu options on a 3d printer, on an Arduino?

  4. Avataaar/Circle Created with python_avatars Sigh yawn says:

    I like python, i cant understand anything else

  5. Avataaar/Circle Created with python_avatars Chris Savage says:

    Love the Smiley Face you cut into your sponge!

  6. Avataaar/Circle Created with python_avatars Justin Moore says:

    The reality is the only reason you do not kill yourselves is because you just want to survive. That's not a logical argument.

  7. Avataaar/Circle Created with python_avatars Andy Hü. says:

    Hi, the link has no code.

  8. Avataaar/Circle Created with python_avatars Mark G. Hopewell says:

    I plan to use this device to sense a current signal transmitted from a wind vain sensor so as to be able to transmit the converted current values via I2C to an Arduino Nano in my weather station project. Fingers crossed the device is able to sense currents down to 4mA!

  9. Avataaar/Circle Created with python_avatars Алексей Надёжин о технике и не только says:

    Link on code is broken (

  10. Avataaar/Circle Created with python_avatars q zorn says:

    a very enjoyable arduino project… i will use the esp32 with the built-in oled and see what happens… 👍 👍 👍 thanks , or cheery-O… 😀 time for tea Mrs. Peel

  11. Avataaar/Circle Created with python_avatars MegaScott says:

    Right. My experience with the INA219 pre-built boards is that the 0.1ohm shunt resistor is not exact and varies allot with temperature. Also, some noise can be filtered with a .1m capacitor across the shunt. These boards seem to work well as intended to get you up and running in a short amount of time. The Max rated current you can measure with this 0.1m resistor is only 3.2A, but you can reduce the shunt resistance to get a bigger current reading, of course some modification to the INA219 library is required, or you can scale the reading from the sensor using a bit of math, and if you're feeling a bit more ambitious you can make a routine to scale the current based on the temperature of the Shunt resistor. Adafruit has a good write-up about this sensor, but probably this kind of accuracy is probably not required for most people. Good vidjeo. Love that there is an actual voice Behind the Mic versus some kind of computer driven synthesis . I have done some looking around, and if you want to make your own board with the INA219 chip it comes in two sizes, the very small SOT-23-8 and the SIOC-8, the SOIC-8 is more widely available and for the hobbyist, much easier to solder onto your own board as compared to the SOT-23. Thanks!

  12. Avataaar/Circle Created with python_avatars Tan Ory Jaka Perdana says:

    Whats in the tittle is : OLED Ammeter INA219
    Whats in my mind is : how to remove soldered male header from the board in the best way

  13. Avataaar/Circle Created with python_avatars Joseph Mezzo says:

    Nice work and great video. Maybe its possible to expand on this circuit a bit further. Objective: Power a small AC Ammeter display using only 120vac Source being measured. So module would have 120vac IN as the load, and show the AC current on a display without any external DC power supply. The Display would need to fit an area that is .50in high by 1in wide. Depth of entire circuit around .50 inch.

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.