INA219 - And Why Libraries And Examples Can Be Confusing

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • In this video I go over the magnificent INA219 module and the less-than-stellar Adafruit example code for it. I managed to completely prune out all of the code that doesn't need to be in it and just get the basic thing working. I suggest you give it a shot on your Uno, Pro Mini, Nano or Mega and see if you can get it working too!
    Here is the code:
    github.com/SimpleElectronicsY...
    Thanks for watching!
    If you feel like supporting the channel please consider supporting on Patreon:
    / simpleelectronics
    or get some cool merch!
    teespring.com/stores/electron...
    or buy anything on Banggood's site using my affiliate link:
    www.banggood.com/custlink/mGv...
    or buy anything from Amazon.ca using my affiliate link:
    www.amazon.ca/gp/product/1118...
    and if you feel so inclined, here is my Amazon wish list!
    www.amazon.ca/hz/wishlist/ls/...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 15

  • @markhall3323
    @markhall3323 ปีที่แล้ว +2

    The resistor on the board “R100” is 0.1 ohms. If you remove it and replace it with a different value you can change the current measuring range of the board. The accuracy of the current measurement depends on knowing the exact value of the shunt resistor - although it’s marked 0.1 ohms its value is probably a little different. A good library will allow you to specify the exact shunt resistance or you can make a manual correction yourself in the code.

  • @JonnyBergdahl
    @JonnyBergdahl 2 ปีที่แล้ว +1

    Hi from a code monkey! Nice to see you are making progress coding.

  • @fredflintstone1
    @fredflintstone1 2 ปีที่แล้ว +1

    nice video, very helpful with your explaination of the coding I like you can get confused with code:-)

  • @aiboffin295
    @aiboffin295 2 ปีที่แล้ว +1

    I’m enjoying your I2C vids at the moment.

  • @SteveRaynerMakes
    @SteveRaynerMakes 2 ปีที่แล้ว +1

    very nice. thanks

  • @360Sebastian360
    @360Sebastian360 2 ปีที่แล้ว +1

    Will it be able to pickup a current as small as 0.1 mA ? I don't need it to be accurate, just to display some steady value.

  • @patrickmclaughlin6013
    @patrickmclaughlin6013 2 ปีที่แล้ว +4

    R100 is that 0.1 ohm ? looks like a shunt

  • @smileyzhao2897
    @smileyzhao2897 2 ปีที่แล้ว +1

    hi can u help me do a video review for 2021 new upgraded digital multimeter ,it is multi functional and like a cellphone,we can offer u a free product from factory. tks

    • @SimpleElectronics
      @SimpleElectronics  2 ปีที่แล้ว

      Email me on my business email (found in the "about" section of my TH-cam channel, and we can talk about it