I am using a few LTC6102 ICs in a current measuring system. My main goal is to use these ICs to measure current in different areas of a circuit and then display them on an LCD connected to an Arduino. I am feeding the Vout of the IC to an analog-in port on an Arduino Mega to read it.
I have confirmed that my AnalogRead()
code is working correctly, and it is very accurate when measuring a steady DC input. I tested this with a simple voltage divider before hooking my LTC6102 Vout to it.
Now, when I connect my Vout from my LTC6102 to my Analog Input, my Serial Monitor shows this mess:
No consistency. When I connect the probe of my oscilloscope to Vout, I get this:
I have come to a conclusion that my Serial Monitor mess is due to the fact that my IC is not providing a steady output (like shown in the o-scope shot) and that is causing my AnalogRead()
inconsistencies since it only reads every so often and the value is always changing. I attached a 100nF capacitor to my Vout, and that keeps the value much much more consistent. I would like to better understand why this looks this way and make sure I have things correct.
My main question is: Does the oscilloscope shot of my Vout from my 6102 IC make sense?