It may be beneficial to add a few comments to the 'common ground' thread from : link here
There is a diagram (pasted below) that has labels of '0V' on both the device1 and device2 side. And also labels 'GND' on both device1 and device2 sides.
Those labels should not be the same. Instead, the 'GND' label at device2, should be called something different, like GND2.
It should be pointed out to newcomers to electronics that '0V' is merely chosen as a voltage that we consider as being a zero volt reference. We only choose one particular node to be the main voltage reference ----- the zero volt reference. So if the GND node on the device1 side is going to be chosen as '0V', then the device2 side should not have a '0V' label appearing there (at device2) ------ at least not in the existing diagram.
The original diagram should ONLY be labelled in the way that it is for the case where the negative power terminals of device1 and device2 are electrically connected together. And the diagram currently has the negative power terminals of device 1 and device 2 not connected together.
This isn't to take anything away from Perry's excellent thread post. It's only to make a comment.
The newcomers to electronics will understand things more if they understand voltage referencing. So for the existing circuit, if the device1 GND is set to be zero volt reference, then output1 voltage will be referenced to that device1 GND.
But the satisfactory operation of device2 will require an appropriate design voltage to appear at the input (ie. input2) ...... and that design voltage needs to be at the correct (appropriate) level RELATIVE to the 'local ground' on the device2 side ----- and that local ground is not 0V for the case where the local GND of device1 is already chosen (reserved) as 0V. So device2 is not in a position to operate properly because the 'local ground' on the device2 side is not at 0V ........ also meaning that device1 can't apply a voltage of say 5 volt at input2 (relative to GND2) ------ and this is because that 5V is relative to the device1 GND only.