<p>(This is more of an electronics.stackexchange.com question btw).</p>

<p>It is not only ok, it is absolutely necessary. The systems won't operate correctly unless all the gnds are tied together. Since this is a stepper motor, you don't have to worry about noise getting back onto the power supply lines for the logic supply, since the stepper board has a decoupling capacitor(s) to keep stabilize the power to the motors and the VCC of the logic supply will be unaffected by the GND of the other supply that its tied to.</p>

CC BY-SA 4.0
2019-06-13T23:51:43.617Z
2019-06-14T17:08:39.207Z
2019-06-14T17:08:39.207Z
user77232
<p>I could not find a schematic of the Pololu A4988 stepper motor driver, but I did find a photo of the board that includes the ground planes for both the motor and logic.  On the reverse side of the board, they were not connected.  They should not be connected on the driver cards.</p>

<p>Instead, all the motor ground lines should be brought together at a point, and the Motor supply ground connected to that point.  The V-motor should also be run radially to each stepper driver and connected to the V-motor supply.</p>

<p>There should be a single connection point between the motor ground and logic ground.  No motor current should flow through any logic ground wire or circuit board trace.  The motors are switching high voltages and high currents.  If these currents pass through a logic ground line, they will introduce voltage spikes into the logic which can result in unexpected operation.</p>

<p>The 100&nbsp;&mu;F capacitor in the schematic is good for supplying low frequency energy needs, but it should be paralleled with a 1&nbsp;&mu;F capacitor and a 0.01&nbsp;&mu;F capacitor placed as close to the radial feed points as is practical.  A larger capacitor tends to have higher leakage inductance, which limits the high-frequency response.  A range of capacitors in parallel will perform better.</p>

CC BY-SA 4.0
2021-01-11T15:11:52.170Z
I can confirm that the motor ground and the signal ground are connected in the ground plane. See https://forum.pololu.com/t/a4988-gnd-question/6575
DV82XL
CC BY-SA 4.0
2021-01-13T02:24:29.567Z
I'm not sure how to comment here.  The multiple driver board motor ground signals should be connected together and to the motor supply ground.  The driver board logic grounds should also be connected together and to the logic ground.  There should be s single connection between the two ground systems.
cmm
CC BY-SA 4.0
2019-06-17T21:23:44.760Z
2019-06-17T21:30:10.327Z
2019-06-17T21:30:10.327Z
cmm
<p>That depends on how much noise you have on your motor power supply ground.  You definitely want the 100&nbsp;µF capacitor to have a good high frequency response.  Motors turning on and off can be noisy, and that noise can cause false clock signals in your logic circuitry if you tie the grounds together.  </p>

CC BY-SA 4.0
2019-06-07T20:59:14.983Z
2019-06-13T16:05:11.197Z
2019-06-13T16:05:11.197Z
Perry Webb
<blockquote>
  <p>Is it okay to directly connect together the grounds of the logic supply and the motor supply when using a pololu style stepper driver?</p>
</blockquote>

<p>Most stepper drivers don't have separate ground pins for the logic and motor supplies. The two ground pins on the A4988 board you've shown are electrically connected on the board. The question is moot.</p>

CC BY-SA 4.0
2019-07-20T00:13:51.327Z
Circuitry like this may explain why a uninterupted power supply (UPS) with a surge protector isn't good enough during short power outages, because their power transition isn't as clean as a power conditioner.  I often get x and/or y offsets during power outages.
Perry Webb
CC BY-SA 4.0
2019-07-20T06:49:41.523Z
@PerryWebb Your comment seems completely unrelated to this question or to my answer.
Tom van der Zanden
CC BY-SA 4.0
2019-06-08T06:50:54.677Z
2019-06-08T06:50:54.677Z
Tom van der Zanden
<p>Is it okay to directly connect together the grounds of the logic supply and the motor supply when using a Pololu style stepper driver?</p>

<p><a href="https://i.sstatic.net/yijCn.jpg" rel="nofollow noreferrer" title="A4988 connection schematic"><img src="https://i.sstatic.net/yijCn.jpg" alt="A4988 connection schematic" title="A4988 connection schematic"></a></p>

<p>If yes/no, why so?</p>

<stepper><stepper-driver><grounding>
Pololu - connect motor supply ground and logic supply ground
matthias_buehlmann
# Pololu - connect motor supply ground and logic supply ground

(Asked by: username_0 on 2019-06-06)

Is it okay to directly connect together the grounds of the logic supply and the motor supply when using a Pololu style stepper driver?

[![A4988 connection schematic](https://i.sstatic.net/yijCn.jpg "A4988 connection schematic")](https://i.sstatic.net/yijCn.jpg "A4988 connection schematic")

If yes/no, why so?

**Tags:** stepper, stepper-driver, grounding

---

## 4 answers

### Answer by username_1 on 2019-06-13. Score: 4

(This is more of an electronics.stackexchange.com question btw).

It is not only ok, it is absolutely necessary. The systems won't operate correctly unless all the gnds are tied together. Since this is a stepper motor, you don't have to worry about noise getting back onto the power supply lines for the logic supply, since the stepper board has a decoupling capacitor(s) to keep stabilize the power to the motors and the VCC of the logic supply will be unaffected by the GND of the other supply that its tied to.


---

### Answer by username_2 on 2019-06-17. Score: 3

I could not find a schematic of the Pololu A4988 stepper motor driver, but I did find a photo of the board that includes the ground planes for both the motor and logic. On the reverse side of the board, they were not connected. They should not be connected on the driver cards.

Instead, all the motor ground lines should be brought together at a point, and the Motor supply ground connected to that point. The V-motor should also be run radially to each stepper driver and connected to the V-motor supply.

There should be a single connection point between the motor ground and logic ground. No motor current should flow through any logic ground wire or circuit board trace. The motors are switching high voltages and high currents. If these currents pass through a logic ground line, they will introduce voltage spikes into the logic which can result in unexpected operation.

The 100 μF capacitor in the schematic is good for supplying low frequency energy needs, but it should be paralleled with a 1 μF capacitor and a 0.01 μF capacitor placed as close to the radial feed points as is practical. A larger capacitor tends to have higher leakage inductance, which limits the high-frequency response. A range of capacitors in parallel will perform better.

> **Comments:**
> **username_3**: I can confirm that the motor ground and the signal ground are connected in the ground plane. See https://forum.pololu.com/t/a4988-gnd-question/6575  
> **username_2**: I'm not sure how to comment here.  The multiple driver board motor ground signals should be connected together and to the motor supply ground.  The driver board logic grounds should also be connected together and to the logic ground.  There should be s single connection between the two ground systems.  

---

### Answer by username_4 on 2019-06-07. Score: 3

That depends on how much noise you have on your motor power supply ground. You definitely want the 100 µF capacitor to have a good high frequency response. Motors turning on and off can be noisy, and that noise can cause false clock signals in your logic circuitry if you tie the grounds together.


---

### Answer by username_5 on 2019-06-08. Score: 2

> Is it okay to directly connect together the grounds of the logic supply and the motor supply when using a pololu style stepper driver?

Most stepper drivers don't have separate ground pins for the logic and motor supplies. The two ground pins on the A4988 board you've shown are electrically connected on the board. The question is moot.

> **Comments:**
> **username_4**: Circuitry like this may explain why a uninterupted power supply (UPS) with a surge protector isn't good enough during short power outages, because their power transition isn't as clean as a power conditioner.  I often get x and/or y offsets during power outages.  
> **username_5**: @PerryWebb Your comment seems completely unrelated to this question or to my answer.  

---

