Jump to content

Recommended Posts

alright, did you used one one with input filtering? Then what you have used to test the circuit? like connect between power supply and a load?

Share this post


Link to post
Share on other sites

Dear @@Rei Vilo,

 

I was able to get the INA219 code running, but now I have 2 questions/problems.

 

1) Could you please give me a hint, where I have to change the code if I want to use a 1 ohm shunt resistor instead of 0.1 ohm (which are used in most of the examples around the web). From my understanding the configuration should stay the same.

2) With no load and a 1 ohm shunt resistor I constantly read 32636 mV and the overflow flag ( myINA219.overflow() ) is "true".

 

Ready:1
Overflow:1

 

 mV      min      max    :       mA      min      max    :       mW      min      max
32636    32636    32636    :        0        0        0    :    65022    65022    65022

 

 

Kind regards

yosh

Share this post


Link to post
Share on other sites

alright, did you used one one with input filtering? Then what you have used to test the circuit? like connect between power supply and a load?

 

I'm not using any capacitor for filtering. 

 

I compared the results of the INA219 to those provided by my digital multimeter.

 

Dear @@Rei Vilo,

 

I was able to get the INA219 code running, but now I have 2 questions/problems.

 

1) Could you please give me a hint, where I have to change the code if I want to use a 1 ohm shunt resistor instead of 0.1 ohm (which are used in most of the examples around the web). From my understanding the configuration should stay the same.

2) With no load and a 1 ohm shunt resistor I constantly read 32636 mV and the overflow flag ( myINA219.overflow() ) is "true".

 

Ready:1

Overflow:1

 

 mV      min      max    :       mA      min      max    :       mW      min      max

32636    32636    32636    :        0        0        0    :    65022    65022    65022

 

 

Kind regards

yosh

 

To define and set the right parameters for a 1? shunt, use the excellent configuration tool provided by Texas Instruments at the INA219 product page.

 

Link: INA219EVM Software (ZIP 3636 KB )   11 Sep 2008 - Windows only

 

Once again, the http://www.ti.com/lit/gpn/ina219'>Zer

Share this post


Link to post
Share on other sites

Thanks for the link Rei, I must have overseen the Config Tool ... meanwhile I tried a second INA219 IC - and now it works as expected. Seems that the first one is faulty...

Share this post


Link to post
Share on other sites

To define and set the right parameters for a 1? shunt, use the excellent configuration tool provided by Texas Instruments at the INA219 product page.

 

Link: INA219EVM Software (ZIP 3636 KB )   11 Sep 2008 - Windows only

 

Thanks to the configuration tool everything runs fine now ... may be need some fine tuning, but the output seems reasonable.

Share this post


Link to post
Share on other sites

It think it's very nice that you can use the tool even without the evaluation board. Most of the tools I know (e.g. the MAX31855 comes to my mind) will not even start without the eval board attached...

Share this post


Link to post
Share on other sites

I posted the finalised project at Volt/Amp/Watt meter for the POTM.

 

I packed an INA219 and a MSP430G2553 with a 128x64 OLED screen into a compact 6x3cm box to measure the volt-amp-watt of my fischertechnik models.

 

One simple bulb lamp uses almost 1W! So large models can easily add up to various amps... putting the batteries under heavy stress.

 

post-12238-0-33704200-1387314663_thumb.jpg

 

The screen comes from Digole and features an I

post-12238-0-46308200-1387314666_thumb.jpg

post-12238-0-66724800-1387314682_thumb.png

post-12238-0-35945300-1387314684_thumb.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...