0
\$\begingroup\$

Say I have a 5V Arduino and I want to connect two grounds (I don't have another idea of anything else I would like to short). How good should the conductive between them be? For example if I want to share grounds of the MCU and another power source. Wires will always work but what would happen if I use lesser conductive materials?

Edit:

On a practical level- In one scenario I using a 0.5-2A motor with a power source of 6-12V along with an Arduino. In another I connect to an Arduino two grounds of a unit that draws for it between minimum current (LCD) to 20mA.

Can I use a trail of conductive glue or a piece of a common conductive cloth (say 0.5*5cm->100ohm)?

\$\endgroup\$
4
  • 4
    \$\begingroup\$ It really depends on how much current will flow in that connection and the voltages involved. If the ground is connected to the wrong place and high resistance is present it's possible to permanently damage the Arduino and maybe other things like the computer it is plugged into. \$\endgroup\$ Feb 22, 2020 at 13:24
  • \$\begingroup\$ @SpehroPefhany question edited. \$\endgroup\$
    – OMGsh
    Feb 22, 2020 at 13:36
  • \$\begingroup\$ @OMGsh It depends on how much current will flow through the ground connection, not how much current the device uses. The point of the connection is to bring both grounds to the same potential, with smaller resistance getting them closer. If they are already close the current flow is tiny. If they aren't close the current flow could be larger. \$\endgroup\$ Feb 22, 2020 at 15:30
  • \$\begingroup\$ Is there a way to estimate/bound the strength of these currents? Or to tell what will happen given a known current with a known resistance? I can't find a situation where a poor ground cable will cause a high current between the two GPIOs, only of the motors/LED not getting enough current. \$\endgroup\$
    – OMGsh
    Feb 22, 2020 at 17:27

1 Answer 1

2
\$\begingroup\$

It depends on how much current has to flow through the ground wire, its resistance, and the acceptable voltage drop.

To minimize ground voltage differences the higher current parts of the circuit should be positioned closer to the power supply. Taking the example of an Arduino controlling a motor, the circuit could look something like this:-

schematic

simulate this circuit – Schematic created using CircuitLab

At stall the motor draws 3 A, dropping 3 V across the ground wire resistance (R1) from the motor driver to the power supply. This reduces the driver and Arduino supply voltages by 3 V, but they should still work with the 9 V that is left. Despite the relatively high resistance of the negative power supply lead, motor current has no effect on 'ground' voltage between the Arduino and motor driver.

The Arduino draws ~50 mA. The high resistance of the ground lead (R2) between it and the motor driver causes a voltage drop of +0.5 V between them. This causes the PWM output to go from +0.5 V to 5.5 V instead of 0 V to 5 V at the driver input.

Will this voltage difference be a problem? Provided the motor driver sees +0.5 V as a low logic level and doesn't mind a +5.5 V high level it should be OK. A common IC used in motor driver boards is the L298. This sees logic low below 1.5 V and can withstand a maximum of 7 V, so it should work. However the noise immunity is now only 1.5 - 0.5 = 1 V instead of 1.5 V, making it more sensitive to external interference.

Now consider what would happen if R2 was increased to 30 Ω. It now drops 30 * 0.05 = 1.5V. With the Arduino ground raised 1.5V above the motor driver ground the driver may no longer see the logic low, causing the motor to randomly turn on and off depending on the exact current draw and any other noise in the circuit.

In the case of an Arduino powering an LCD panel you have the opposite effect. Any resistance in the ground lead between them will cause the signal voltage to go lower at the LCD panel. If it goes below -0.5V the IC in the panel may misbehave or even be damaged by the negative voltage. With 20 mA draw the resistance required to cause this is 0.5 / 0.02 = 25 Ω.

In both of these examples a ground resistance of 100 Ω would not be acceptable.

If the Arduino and the other device are separately powered then the resistance of the ground wire between them only has to be low enough to handle the signal current, which is usually only a few milliamps. At 5 mA a ground resistance of 100Ω would be acceptable. However if both power supplies are grounded through the mains or some other common equipment then you could get a ground loop due to voltage induced into the mains wiring etc., which your high resistance ground wire will not be able to prevent.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.