As a noob when it comes to EE, I need a bit more info on how the Differential function works on the ADS1115.
I understand that I can use the differentiator to calculate the difference between A0 and A1 as well as A2 and A3.
My question is, when using this function, do both A0 and A1 resolve to GND?
In examples I have seen (maybe not the best examples), I see people measuring a battery using A0 and A1 (with negative on A0 and positive on A1). This is fine, but then I wonder how it would work with a battery in series (let's say a 2S battery with each cell at 1.2V).
Would that look like the following?
A0 -> Cell 1 negative (0 V -> same as GND)
A1 -> Cell 1 positive (1.2V)
A2 -> Cell 2 negative (0V or 1.2V?)
A3 -> Cell 2 positive (1.2V or 2.4V?)
As they are in series, cell 1 positive is the same terminal/wire as cell 2 negative. Does this mean that A2 voltage is 0V or 1.2V? Is A3 voltage 1.2 or 2.4V?
Are A0 to A3 all resolving down to GND?
resulting in:
A0: 0V
A1: 1.2V
A2: 1.2V
A3: 2.4V
assuming wired as described. What would the actual voltages for A0 to A3 be for the following assuming 1.2V for each cell?