Using INA219 with 8 pole sensor

Hello, I'm new to using Arduino, but I have a laser sensor I am trying to read analog output from. The output values were too high for the Arduino alone, so I have a INA219 to help in reading the values properly. However, I needed some help with the wiring for it. I have a laser sensor, power supply, INA219, and Arduino mega. I have provided photos of the wiring for the sensor below. I can attach a photo of the INA219 in the replies. Just want to make sure I don't mess anything up here.
laserwiring

Here is the INA219

Interfacing INA219 Current Sensor Module with Arduino - Electropeak did not help?

None of these images helped, arduino INA219 - Bing images ?

not particularly, but it may just be due to my own incompetence in the field. i understand the connections to the Arduino, but the part that trips me up is understanding which pieces from the my sensor and power supply connect to the INA219

V+ of the ina219 goes to the V+ of the power supply. The current enters the sensor unit at the V+ terminal and, typically the power supply has a wire marked with V+. The power supply is the source of all the current the downstream project can use. The current passes through a current sensing device and then the current exits the current sensor on V- of the current sensor. V- of the current sensing device should then be used to power the rest of the thingies. Also, continue to refer to the output of the current sensor as the circuits V+.

Got it?

If you have further questions just ask and I or someone else will try to answer.

I definitely appreciate the help, but I am still struggling to understand. I am trying to measure the current and voltage output from the device (a laser) shown in the first picture. I believe that output is coming from the analog output labeled as O. How would that connect to the INA and would the power supply for the laser need to be connected to the INA?

Oh.

So you want to measure the current used by the laser thingy. OK. Power for the laser goes through the current sensor and to the + of the laser.

Yes! I am trying to read current and voltage output from the laser which also needs a power supply. And would the output (O) from the laser go in to the other input of the current sensor?

The current sensing device only has one current sensing input labeled V+.

O and O- appear to be some analog output of the laser device, Why would you need the O output of the laser sent into the current sensing device?

Yes the analog output is what I am trying to read with the arduino. The output is 4-20 mA or 0-10 volts. I would need the output of the laser sent through the current sensing device to read the current output.

Why not use a voltage divider appropriate for a 15V source and through the Vdivider send the signal directly to the Analog input of the microcontroller? No current sensor required or needed.

Voltage Divider Calculator, use 10K for R2.

Well, it wasn't really my decision. I presented both options to my boss , and he decided on the current sensor. So, now I've gotta figure out how to make this work as is

You should be able to do this easily with the INA219 if you already have it. Adafruit has a fairly comprehensive guide to using it too, and I think that getting the voltage + current measurements from the sensor has already been done in an example library sketch.

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