Connection with INA219 Current sensor

Hi,

I want to measure the current at point A. This is a constant current circuit driving a laser. But to connect it with INA219, how can I connect it to my circuit?

Option 1: Do I need a shunt resistor in series and Vin+ and Vin- are connected between resistor?

Option2: Vin+ is connected to supply (12V) and Vin- is at point A.

Option3: Vin+ and Vin- are connected along the path of the current without resistor, just like the connection of multimeter.

Also mine is a constant current circuit of 21mA, so the variations will be less. Is there any way to calibrate the sensor to measure the small variations?

Please spare me if my doubt is very basic. I dont have much experience with analog electronics. I watched many youtube videos, but in each one its is telling differently. Thanks in advance

Hello tinu_arduino

Take a view to gain the knowledge:

Have a nice day and enjoy coding in C++.

1 Like

The opamp diagram in this version is incorrect. The opamp (without feedback) will try to deliver it's max current here, and could destroy the Laser. The diagrams in your other two cross-post were sort-off getting there.

You could use the INA219 to measure that current, but it's resolution (A/D steps) is AFAIK 3mA. An INA239 has a much higher resolution.
Just cut the trace between opamp and Laser, and connect opamp to +IN and LED to -IN.

Don't know why you want to measure that current if you alredy know what it's going to be.
Leo..

1 Like

NO! You need a shunt - the INA219 does not have an internal shunt.

@paulpaulson - see the datasheet and other supporting documenttion:

1 Like

That would depend on the shunt value chosen.

It is 16 bits; INA219 is 12.

Both require an external shunt

1 Like

I assume OP means an INA219 breakout board, with 0.1ohm shunt, not the bare smd chip.
Leo..

I see.

@tinu_arduino this is why it's important to give full details of the parts you're using!

If it is a breakout board, please give a link to its specifications.

I am a newbie here. So I wasn't aware. I will be careful next time. Thank you.

I am adding the data sheet and component here

So that one does have a shunt:

image

It's the thing labelled "R100" - meaning 0.1 ohms (ie, 100 milliohms).

See the Sparkfun page for specifications and tutorials on how to use it:

@tinu_arduino
You don't need a INA219 to measure current.
If you use this circuit, the voltage across the 281 ohm resistor represents the current
current = voltage/281

1 Like

So I need to connect my power supply(12V) to VIN+ and output of opamp (that is the constant current) to VIN- as per the breakout board details

No.

Look again at what @Wawa said in post #3.

Look at the diagram from the datasheet - post #4

Did you study the tutorials from Sparkfun?

Note also what @jim-p said in #10 !

@tinu_arduino

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.