Hello all, first post here on this forum. Thought i'd try getting included in some online forum where i could help for my projects but also help others where i can.
So was trying to build this current logger that i found in a blog post. Im trying to measure the current used by my raspberry pi and log the results to a file.
Now i have the programming part down and ive gotten the circuit to work , however i dont like using stuff i dont fully understand. What i dont completety understand about this circuit is why the Vref on pin 5 from the AD623 needs to connect to Arduino GND and 0V.
I just dont understand why i have to connect 0V from the load and its power supply to GND on the Arduino. I thought just connecting the .01 ohm resistor (Shunt) in series with the load and then using the voltage drop measured over it to calculate the current flowing would be enough ? What is it i dont understand ? Do i even understand anything ?
So was trying to build this current logger that i found in a blog post. Im trying to measure the current used by my raspberry pi and log the results to a file.

Now i have the programming part down and ive gotten the circuit to work , however i dont like using stuff i dont fully understand. What i dont completety understand about this circuit is why the Vref on pin 5 from the AD623 needs to connect to Arduino GND and 0V.
I just dont understand why i have to connect 0V from the load and its power supply to GND on the Arduino. I thought just connecting the .01 ohm resistor (Shunt) in series with the load and then using the voltage drop measured over it to calculate the current flowing would be enough ? What is it i dont understand ? Do i even understand anything ?