Rei Vilo 695 Posted December 8, 2013 Author Share Posted December 8, 2013 hey.... do u have a schematic diagram for this circuit u build? I've just used the example schematics provided by the INA219 specification sheet. Quote Link to post Share on other sites
4yang 0 Posted December 9, 2013 Share Posted December 9, 2013 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? Quote Link to post Share on other sites
yosh 121 Posted December 11, 2013 Share Posted December 11, 2013 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:1Overflow:1 mV min max : mA min max : mW min max32636 32636 32636 : 0 0 0 : 65022 65022 65022 Kind regards yosh Quote Link to post Share on other sites
Rei Vilo 695 Posted December 12, 2013 Author Share Posted December 12, 2013 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 yosh 1 Quote Link to post Share on other sites
yosh 121 Posted December 12, 2013 Share Posted December 12, 2013 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... Quote Link to post Share on other sites
yosh 121 Posted December 12, 2013 Share Posted December 12, 2013 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. Quote Link to post Share on other sites
Rei Vilo 695 Posted December 12, 2013 Author Share Posted December 12, 2013 That's how I've configured mine! Quote Link to post Share on other sites
yosh 121 Posted December 13, 2013 Share Posted December 13, 2013 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... Quote Link to post Share on other sites
Rei Vilo 695 Posted December 17, 2013 Author Share Posted December 17, 2013 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. The screen comes from Digole and features an I Rickta59 and bluehash 2 Quote Link to post Share on other sites
van 0 Posted July 19, 2017 Share Posted July 19, 2017 Hi I'm looking for the code Energia working with the OLED display Thank you Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.