While waiting for the voltage references to arrive....
In the datasheet of the LM311 there is a way to balance its voltage offset error. If you can use this
method and instead of balancing it, you make it higher up to 100mV then you can connect the two
input voltages and there you go! You have a voltage difference detector with just one part.
A dual comparator.
One voltage to one comparator and the other voltage to the other but with its
terminals reversed. Both voltages to both comparators but with their terminals reversed.
One problem though. I cannot achieve an out of balance voltage greater than 30mV....
The potentiometers with the closest values I had where 1K and 10K. The diagram uses a 3K.
Do you think that this might be the reason?
Do you know what is the maximum offset correction that the LM311 can take?