How to use INA219 current sensor with arduino and how to make DIY wattmeter using it

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

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

  • @Clementlardeux
    @Clementlardeux 8 หลายเดือนก่อน +1

    Hello, I would like to measure the power of a solar panel, but I do not know how to connect it as on your circuit. I have an INA219 sensor. Should I plug it in instead of the diode? And is it a problem if my solar panel is 1Watt and delivers a voltage of 5.5V?

  • @yunkeacme
    @yunkeacme 6 หลายเดือนก่อน +2

    Hi, you wiring is wrong, SDA and SCL are shared for both INA219 and the display, however, you have them mixed, Pin 5 from Arduino goes to SDA of the INA 219 and then to SCL to the display.

  • @RolandW_DIYEnergyandMore
    @RolandW_DIYEnergyandMore 3 ปีที่แล้ว +1

    Do you think this sensor could be used to read the voltage drop of a 100A/75mV shunt if the 10 ohms on board resistor is removed? Need a way to read out bipolar current on my battery. Thx

  • @edgarmastache1024
    @edgarmastache1024 9 หลายเดือนก่อน

    what resolution has it? i mean what is the minimum voltage and current can detect? best regards

  • @clerciomarchinhak4084
    @clerciomarchinhak4084 8 หลายเดือนก่อน

    I'll try using your video, as I have an ESP32 S3 board and an INA219 current sensor and using PlatformIO in VSCode and I can't see the current values. It only says `Talk is running`, which means it is reading, executing but the current values do not appear on the terminal. If you can give me a tip I would appreciate it! Or if I had a video from someone even better?

  • @adamwalter2573
    @adamwalter2573 3 ปีที่แล้ว

    Can we solder a bigger terminal block ? I doubt this small green one will handle 3 amps...

  • @aldofasano9648
    @aldofasano9648 6 หลายเดือนก่อน

    Thanks for the video. Could the sensor be used to test Ohm's laws?

  • @supremeleader5516
    @supremeleader5516 2 หลายเดือนก่อน

    Is it bidirectional?

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

    In Idle conditions Arduino shows some voltage drop. In my case 0.96v and 0.3mA. Any help ?

  • @xboxgamer9216
    @xboxgamer9216 4 ปีที่แล้ว +1

    Sir so I can I also use to find the real capacity of a battery?
    Thanks

    • @miliohm
      @miliohm  4 ปีที่แล้ว

      Yeah, you need a load. And measure the current and voltage for a periode time.

    • @xboxgamer9216
      @xboxgamer9216 4 ปีที่แล้ว

      @@miliohm thanks
      This one of the fastest reply I have ever gotten LoL

    • @miliohm
      @miliohm  4 ปีที่แล้ว

      @@xboxgamer9216 yeah you are welcome 😂

  • @emperoreyeanime4142
    @emperoreyeanime4142 3 ปีที่แล้ว

    I have tested with 9v as a power source and I get 0.9v for loadvoltage. it is suppose 9v?

  • @Magnus37
    @Magnus37 10 หลายเดือนก่อน

    why did you use Analog pins on the arduino, even though it is a dc current sensor?
    please correct me/explain the reasoning behind it

    • @miliohm
      @miliohm  10 หลายเดือนก่อน

      Its not used as analog. Its i2c pins. I2c pins on Uno is at A4 and A5

    • @Magnus37
      @Magnus37 10 หลายเดือนก่อน

      @@miliohm oh okay, thanks so much! i’ve understood it better now

  • @deansaiful3726
    @deansaiful3726 3 ปีที่แล้ว

    How to calibrate the INA219 sensor?

  • @chococake520
    @chococake520 3 ปีที่แล้ว

    hi, how can i use a range of 26v and 3Amps?

  • @bimoanggoro9612
    @bimoanggoro9612 3 ปีที่แล้ว

    Can it measure voltage 30V ?

  • @ahmadmuhaimin2852
    @ahmadmuhaimin2852 3 ปีที่แล้ว

    nice video,
    can i use it for voltage measurement only,
    what happen if the current exceed the maximum predetermined current,
    and what is the difference between ina219, ina226

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      You can use voltage divider for voltage measurement, it is very simple and cheap. You can watch it on my last video.
      If the current exceed more than maximum, it will stay read at that maximum current.
      I'm not sure what's the difference since I never used ina226

    • @ahmadmuhaimin2852
      @ahmadmuhaimin2852 3 ปีที่แล้ว

      @@miliohm is it accurate enough, i use esp32 and it seems like the adc characteristic of the chip is non linear

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      Voltage divider is pretty accurate. How many the voltage range you try to measure?

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      The easiest way is just try get the data and calibrate with your voltmeter. Manipulate your data in code

  • @svsv9
    @svsv9 3 ปีที่แล้ว

    What does minus (0.14mV) or minus (1.60mA) mean? Why negative values? I don't get yet the concept.

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      Minus means current flow from - sensor terminal to + (the direction) you can get plus value by swap the cable at sensor terminal

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      And when the current or voltage so small sometimes it just doesn't read yet

    • @svsv9
      @svsv9 3 ปีที่แล้ว

      @@miliohm Thanks, In cases when the souce current and/or voltage are/is small, the sensor has not read yet the load, sensor will show (-) values?

    • @miliohm
      @miliohm  3 ปีที่แล้ว +1

      @@svsv9 yes, sometimes when no load applied. It will show very small minus values. You can make it zero by code

    • @svsv9
      @svsv9 3 ปีที่แล้ว

      @@miliohm Thank you, I am willing to do a multimeter someday on arduino, but many concepts have got lost. For example, Bus voltage is same as Load voltage in some tests I am doing. Thank you.

  • @mesquitamk1681
    @mesquitamk1681 4 ปีที่แล้ว

    Cool very good your work would you have a video similar to my project? I have a screwdriver project where I use Arduino mini or attiny85. and SSD1306 mini LED display. with ACS758 50-or-200A module. of amperage. with an H Bridge and 4 touch button 2 to increase and decrease the amperage that the engine will be turned off. and 2 button to turn the motor to the left and to the right so the screwdriver will not blow the screw .... which I will tighten, be it small or large ... for arduino I only know how to write the code. thanks in advance

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

    can it measure microampere current

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

      I don't think so, the resolution is 0.8mA

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

      @@miliohm can u suggest how to make multirange dc ammeter which can measure 50micro ampere to 3 Ampere

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

      @@miliohm but when I search it show minimum detectable current 100micro ampere

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

      Could you please put the reference here? I am looking for this statement

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

      @@wawandeha it can measure microampere current if you change shunt resistor value and according to change the library files

  • @cjones4433
    @cjones4433 4 ปีที่แล้ว

    I would like to see a multimeter connected to compare the ina219 to a voltmeter

    • @miliohm
      @miliohm  4 ปีที่แล้ว

      maybe next time. Thanks for comment

  • @harshilsathwara7509
    @harshilsathwara7509 3 ปีที่แล้ว

    Failed to find ina219 chip.
    What to do

    • @miliohm
      @miliohm  3 ปีที่แล้ว

      Check the wiring

  • @krishnapatil5847
    @krishnapatil5847 4 ปีที่แล้ว

    Nice video, can you please give the link for that display?

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

      You can find many, try with keyword 128x32 OLED display

  • @johnnybuoy9551
    @johnnybuoy9551 11 หลายเดือนก่อน

    so it's an Ammeter? Correct me if I am wrong please

  • @serkansaglam5080
    @serkansaglam5080 4 ปีที่แล้ว

    Hi.good project.But ı get failed to find INA219. all connection true. why ı get this error

    • @miliohm
      @miliohm  4 ปีที่แล้ว +1

      did you try i2c scanner? find i2c scanner sketch on internet and find the ina219 address. It should give you the sensor address.

    • @serkansaglam5080
      @serkansaglam5080 4 ปีที่แล้ว

      @@miliohm thanks.

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

    After checking several pages, I finally found your missing point-You should connect the GND of Power to UNO too, so the readings can be correct, not such as just "1.04v"

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

      I don't see any 1.04v in my video?

  • @phtechnology3422
    @phtechnology3422 ปีที่แล้ว

    Why i am getting zero values with no load

    • @miliohm
      @miliohm  ปีที่แล้ว

      the current or the voltage?

  • @aminhassan9648
    @aminhassan9648 ปีที่แล้ว

    Just to notify that you must connect the ground of the battary to the Ardinuo ground, otherwise it rewads pla pla

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

    I can smell the LED 🔥 without current limiting resistor. Otherwise good examples.

  • @robertobruzzese8830
    @robertobruzzese8830 3 ปีที่แล้ว +1

    here there are things and wiring not correcrt

  • @markmaker2488
    @markmaker2488 9 หลายเดือนก่อน

    I would have watched the video but the music is very annoying

    • @miliohm
      @miliohm  9 หลายเดือนก่อน +1

      Yeah sorry, the newer video has very little music. It was when i'm beginner.

    • @markmaker2488
      @markmaker2488 9 หลายเดือนก่อน

      @@miliohm great to know, subscribed. Looks forward to watching your latest work.

  • @chrisross140
    @chrisross140 ปีที่แล้ว

    the horrible music is louder than your speaking, does not add anything, might be good information. I'll never know

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

      Sure, newer music has very little music

    • @chrisross140
      @chrisross140 ปีที่แล้ว

      Thank you, the volume is lower and I was able to hear you speak @@miliohm