Electronics > Beginners

INA219 voltage/current sense module - Modifying the Library for 0.01R resistor

<< < (4/5) > >>

castingflame:
New parts in and I am setup again.


--- Quote ---Auto-switching based on what?
--- End quote ---

Practical experience on watching what happened and a logical assumption (which isn't a good idea :) ), however, we also now have this from the author ...


--- Quote ---The library currently does a sort of auto-range upon device initialization which limits the range to 0-16 if the first reading is within that range, otherwise it leaves the current state
--- End quote ---

which does support what happened (albeit not exactly how I imagined).


Great to see you on here Zanshin  :-+   I did spend some time on your Github page and after a little research I didn't want to bother you if you were on your travels   :)   I am really pleased that you saw the post and are making some changes to your library as it will save me Hacking you code which I really didn't want to do as it works so well.  Thank you for putting in all the time and effort creating it and thanks again tookie for the heads up.


Meanwhile, just for testing purposes, I will work to change my setup a little to be able to handle the required power.


Thanks all.

Zanshin:
Hello castingflame (and thanks for the compliment on the library),

I found a post from TI regarding the possible effect of limiting the BRNG to 0-16V from 0-32V : http://e2e.ti.com/support/amplifiers/f/14/t/338202?Difference-between-INA219-16V-vs-32V-full-scale-bus-voltage-range-BRNG-bit-

The data sheet does show a slightly better accuracy when measuring a voltage below 16V with the BRNG set to 0-16, but the difference is so slight that I think it can be ignored so I will change the library so that the INA219 always uses the full range. The library has been updated (I added this as issue #31)

-Arnd.

castingflame:
Hey Zanshin

I read the Ti link you provided and I can see what you mean. Yes in my situation it is a slam dunk that I would just use the 0-32V range as the accuracy is fine.

I believe you have made the changes to your library so I will give it a go on Monday.



For others following this thread, the Ti link also provided some nice info from Ti including training videos that I will also take a look at.


Current Shunt Monitor Video Training Series  https://training.ti.com/getting-started-current-sense-amplifiers

Hall Effect Sensor Video Training Series   https://training.ti.com/getting-started-hall-effect-sensors


I will let you know how I get on Zanshin and close the thread if sorted.  :-+ Thanks again.

tooki:

--- Quote from: castingflame on October 21, 2018, 05:31:38 pm ---For others following this thread, the Ti link also provided some nice info from Ti including training videos that I will also take a look at.


Current Shunt Monitor Video Training Series  https://training.ti.com/getting-started-current-sense-amplifiers

Hall Effect Sensor Video Training Series   https://training.ti.com/getting-started-hall-effect-sensors
--- End quote ---
Nice! I'll take a look!


--- Quote from: castingflame on October 21, 2018, 05:31:38 pm ---I will let you know how I get on Zanshin and close the thread if sorted.  :-+ Thanks again.

--- End quote ---
EEVblog forums do not let users close threads, only moderators can. Not that I see why you'd want to close successful threads anyway!

mvs:

--- Quote from: castingflame on October 14, 2018, 04:07:58 pm ---I will investigate the Kelvin circuit next. I have also ordered some of those shunt resistors that, look like a metal bar, similar to the ones found in DMM and battery chargers. They are from china, but I thought I would have a play with them out of interest.

--- End quote ---
You can use a standard 75mV shunt. It has 75mV voltage drop at nominal current, so for 0.01 Ohm you will need 7.5A one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod