I am not that advanced in electronics, so i am asking this question:
The pins on the arduino (A) do not deliver enough current for a seperate electronic component (B). Therefore I did connect this other device (B) with ground and Vcc to a laboratory power supply. To share data/information between my arduino (A) and the device (B) I use jumper wires to connect the pins, but I have no connection between the arduino (A) ground pin to the ground pin of the other device (B).
Do I have to connect a wire between the arduino ground pin and the device ground pin? By doing this, I would also connect the arduino ground pin to the power supply minus-output. Is this okay? I noticed that there is a voltage difference of 0,8 V between the ground of the device (B)/ minus-pin of power supply and the arduino ground (A).
But is there not already an implicit ground connection, because the ardunio should be grounded through its USB-cable and the PC-powercable, while the PC uses the same ground as the power supply?
Furthermore, is the minus-output of the power supply connected the the ground or floating? The supply has just plus and minus output.
Lemonbonbon:
But is there not already an implicit ground connection, because the ardunio should be grounded through its USB-cable and the PC-powercable, while the PC uses the same ground as the power supply?
Furthermore, is the minus-output of the power supply connected the the ground or floating? The supply has just plus and minus output.
Pretty sure ground on a USB port is not tied to earth ground on a 3-pin AC power cord. If you are measuring a difference in voltage potential, there is one.
Instead of telling us device B, tell us what the device is, with model number etc. Tell us what power supply you are using. A picture can also help explain your setup.
Lemonbonbon:
I have attached a little picture to ilustrate the situation. The possible ground wire is in also included.
Yes, make that connection.
In not doing so, you do not have any ground reference that is common between A and B so data signals sent (Voh) may not meet the requirements data signals received (Vih).
There is no danger to making that connection.
Without knowing more about component B, I can't offer additional input, but the ground link is a YES.
Perehama:
Pretty sure ground on a USB port is not tied to earth ground on a 3-pin AC power cord.
And I am pretty sure it is on virtually all desktops as they all have a 3-pin power cord as well as virtually all laptops and USFF machines whose power cord has a 3-pin plug. Those with a 2-pin plug are obviously the exception.
Perehama:
If you are measuring a difference in voltage potential, there is one.
Possibly, which is why the grounds must be tied together to remove that difference. If something burns, then one of your power supplies is dangerously faulty and you found out the hard way.
Paul__B:
And I am pretty sure it is on virtually all desktops as they all have a 3-pin power cord as well as virtually all laptops and USFF machines whose power cord has a 3-pin plug. Those with a 2-pin plug are obviously the exception.
Possibly, which is why the grounds must be tied together to remove that difference. If something burns, then one of your power supplies is dangerously faulty and you found out the hard way.
In USB, there are 4 grounds related to this discussion. Earth Ground, Chassis Ground and Supply Ground and Signal Ground. Earth Ground is the longest round pin of a 3-prong power plug that gets connected to a wall outlet that is connected to a rod buried in the actual ground. Chassis Ground is the shielding around the USB wires, the metal connector housing, etc. that connect all metal surfaces to ground static charges. Supply Ground, which is one of 4 pins inside the USB connector, and one of 4 wires inside a USB cable, is the negative pole of the 5 volt rail of the power supply and is commonly decoupled from Earth Ground as can be seen in this schematic of an ATX power supply. The symbol for Earth Ground is a vertical line with 3 horizontal lines beneath it in decreasing size from top to bottom. The symbol for Supply Ground is a vertical line with a single thick horizontal line. Chassis Ground looks like and upside down TV antenna. Signal Ground is and upside down triangle. Supply Grounds must be tied as Signal Ground references Supply Ground.
Well, if you think that the black wires on your ATX power supplies are not connected to the chassis and ground pin of the IEC connector, I suggest you go test a few and be incredulous!
Paul__B:
Well, if you think that the black wires on your ATX power supplies are not connected to the chassis and ground pin of the IEC connector, I suggest you go test a few and be incredulous!
You are right. A simple continuity test between the USB ground pin and the ground pin would make this discussion moot.