# Can I connect two power supplies' GNDs together?

I need to use a Raspberry Pi in a project. I use a 5 V power supply for it (now a 2 A phone charger), and it will control a "power board" with some MOSFETs, etc. running at 12-24 V. The power board is connected to an external 12-24 V switching power supply.

Can/should I connect the two power supplies' GNDs together?

• Can/should I connect the two power supply GND togheter? Yes, generally you must unless there is a good reason not to do so. But then you would know that. In general circuits need to share the same ground in order to work. Also if you don't connect the grounds together, there is the risk of damaging one or both boards. Commented Feb 28, 2017 at 8:50
• Yes, you should. pls share the setup of your wiring as a sketch on a sheet is also ok. Commented Feb 28, 2017 at 8:53
• It might be a good idea to consider "formally" accepting answers to questions you have raised that you have considered useful. It may not apply to all questions you have raised - just those where you have had a satisfactory result. Call it "the fee" for getting good information! Commented Feb 28, 2017 at 9:29
• Multiple non-connected 'GND' nodes in any system is either a documentation error or a wiring fault. If the 'GND' is a safety feature, it's worse. Commented Feb 28, 2017 at 10:19

You have to connect them, otherwise your circuit will most probably not work. If you do not connect both grounds, the voltage between these two grounds is somewhat random (determined by surrounding air, environment,...) and your signals might not be what you intended.

The best method is to connect the two grounds at exactly one point. This is called the star point. Make sure the ground connection from your power board has low resistance (thick wire) to keep the voltage drop over it small.

If you want to dive deeper into grounding, you can read this article, but for first experiments this is not necessary.

• What do you mean with "The best method is to connect the two grounds at exactly one point."? Is it ok connecting both GND to the same GND plane on the PCB? Commented Feb 28, 2017 at 9:24
• You take ONE wire and connect it from Ground to Ground, you do NOT take two wires and connect them to different points on the same ground. Commented Feb 28, 2017 at 9:26
• I don't understand what does "ONE wire" means in a PCB layout. I usually use a ground plane to connect all GND pins of PCB components. Do you mean I need to create two separate ground planes (one for 5V and the other one for 12V) and connect them by a single trace? Commented Feb 28, 2017 at 9:59
• Using a ground plane is good. If you really want to switch 30 A (as said in the other comment), then a split ground plane would be a good idea. Have a look at figure 3 in the article I linked. Also magnetic fields might be a problem if you want to stack the boards
– JLo
Commented Feb 28, 2017 at 10:30

A voltage only have a meaning with a reference which is, most of the time, the ground (GND). In your exemple, if both GND are not connected, the 12V / 24V source voltage can ether be +100V or -200V ( or whatever random level ) seen from the +5V voltage.

However, if both ground are connected, voltages sources with have the same reference, and so be coherent to each other. Please mind you have to connect grounds with little resistance.

So yes, most of the time you have to connect GND together.

If you connect ground of two voltage systems like 5V and 24V then any fault in 5V will burn out other 24V lines. We in industry keep voltage groups isolated (this also safeguard minor overcurrents flowing from high voltage elements to low voltage elements). Ultimately, all power supplies will be having shared line-neutral at input side so no need to connect two voltage systems at output side

• This is an DIY project, so the two power supply will be (1) a Raspberry PI dedicated power supply, (2) a 12V 30A switching power supply. I need to create a PCB of the entire board, with connection from GPIO of Raspberry to power mosfet which will drive 12V loads. So the "neutral" you're talking about I think is not possible in this way, right? Commented Feb 28, 2017 at 9:57
• Source inputs of Raspberry PI dedicated power supply and 12V 30A switching power supply from same wall socket. As load is 30 amps and load spikes may damage controller side, I would always avoid connecting load circuit to controlling circuit
– SACn
Commented Feb 28, 2017 at 10:02
• I'm not sure what industry you are in SACHIN, but it is common practice in power electronics to bond all low voltage supply commons together, not isolate them. Commented Feb 28, 2017 at 10:11
• Relying on shared line-neutral is dangerous. If one of your power supplies has isolated output (e.g. because it uses a transformer), there is no defined potential between the power rails. For example, Lab power supplies have isolated outputs (for safety), so you need to take care of the grounding on the output side.
– JLo
Commented Feb 28, 2017 at 10:12
• I agree with you, but load side chaining is risky, and input side chaining is always done. At overhead cranes (steel plant) we've seen that load side surge cross controls and destroyed PLC cards so isolation of load side voltage groups is always followed. I know its not conventional for small requirements - in your case load is 30amps very high than micro-controller port capacity. If i mistakenly perform a quick short or spike on 30amps side, am sure micro-controller port will blow away.
– SACn
Commented Feb 28, 2017 at 10:19