<p>It sounds a bit like you are having (additional) grounding issues<sup>1</sup>. Are your MacBook and the RAMPS using the same ground, i.e. are they using the same mains circuit?</p>
<p><em>If</em> you are using the same power strip, then the next thing to check would be that the PSU on the printer correctly grounded (at the bottom of the unit).</p>
<p>From David Crocker's superlative blog, see <a href="https://miscsolutions.wordpress.com/2015/08/01/upgrading-the-large-delta-printer/" rel="nofollow noreferrer">Upgrading the large delta printer - Power supply output grounding</a>:</p>
<blockquote>
<h3>Power supply output grounding</h3>
<p>While taking some measurements on my machine, I discovered that the
negative side of the output of the 12V LED power supply I am using was
not connected to ground inside the power supply as I expected. This
presents a safety hazard. So I added an additional wire from ground to
the spare negative output terminal of the power supply.</p>
</blockquote>
<p><a href="https://i.sstatic.net/g8pxQ.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/g8pxQ.jpg" alt="Correctly grounded power supply" /></a></p>
<hr />
<p><sup>1</sup> Why do I think this? Three reasons:</p>
<ol>
<li>Because grounding issues is one of the most common, and over-looked, problems, in circuit design;</li>
<li>I have often had peripheral devices, that use a separate <em>additional</em> power supply, cause a PC laptop to go &quot;haywire&quot; (or worse, die) once connected via RS232/USB (especially charge sensitive devices on the laptop, such as the track pad), due to different, or <em>floating</em>, grounds, and;</li>
<li>I had recently read the blog and made special note to check all of my power supplies as they are <em>all</em> terrible, cheap, Chinese knockoffs, and grounding circuits in Thailand are usually <em>non-existant</em>, or, at best, <em>poorly wired up</em>.</li>
</ol>

CC BY-SA 4.0
2018-10-25T04:49:21.143Z
About `grounding circuits in Thailand are usually non-existant`, that seems true for a lot of countries. For example, Vietnam doesn't have 3-pin plugs even for heavy duty home electrical equipment like refrigerators and airconditioners, and the grounding hole in home and office sockets is usually just a dummy to accommodate grounding pins rather than provide grounding.
Samveen
CC BY-SA 3.0
2017-06-10T05:39:22.960Z
Thank you for the rare knowledge, it really fixed all of my issues! Today's computers may have better USB ports but all they are doing is hiding the problem! This should certainly go to reprap wiki.
morevitamins
CC BY-SA 3.0
2017-06-10T04:02:47.390Z
2017-06-10T17:21:28.663Z
2020-06-18T08:29:41.667Z
Greenonline
<p>I'm able to connect to Arduino+RAMPS through USB. I can even check end stops with <code>M119</code>. However, if I plug it to the power supply, my MacBook goes crazy and restart itself! Things I have tried:</p>

<ul>
<li>Uninstalled OSX, installed Ubuntu, I get readiness error when PSU is connected.</li>
<li>Bought a new pair of RAMPS + Arduino.</li>
<li>Run RAMPS all naked without anything on it.</li>
<li>Measured PSU output, 12.2&nbsp;V is stable.</li>
</ul>

<p>I'm at a point I started to think my MacBook's USB ports are messed up. It is a 2008 model, do you think that would be right to blame?</p>

<p><strong>Update</strong></p>

<p>Tried a new and a very short USB cable: It worked for the first time and I'm able to home all axes, but laptop's trackpad gets very hard to control for some reason. I can only use an external mouse.</p>

CC BY-SA 3.0
2017-06-09T17:16:57.993Z
It seems like your update could be posted as an answer, i.e. the solution, to your issue. It sounds a bit like you are having (additional) grounding issues. Are your MacBook and the RAMPS using the same ground, i.e. are they using the same mains circuit?
Greenonline
CC BY-SA 3.0
2017-06-09T17:46:23.360Z
I don't have any grounding other than the PSU itself which is using a grounded plug. Is there anything else I should connect from RAMPS to PSU for e.g.? All my devices are connected to the same powerstrip which has a current protection.
morevitamins
CC BY-SA 3.0
2017-06-09T18:01:08.887Z
Sounds ok them, if you are using the same power strip, although, is the PSU on the printer correctly grounded (at the bottom of the unit)? See [Upgrading the large delta printer - Power supply output grounding](https://miscsolutions.wordpress.com/2015/08/01/upgrading-the-large-delta-printer/)
Greenonline
CC BY-SA 3.0
2017-06-10T02:52:31.700Z
@Greenonline First time I see this, I don't have that small wire between earth and `V-`, definitely will try!
morevitamins
CC BY-SA 3.0
2017-06-10T03:20:13.223Z
@Greenonline you made my day!! It worked and now I'm able to use the longer cable & trackpad jiggering is gone! Please add that as an answer and I would be happy if you share how you discovered PSU wasn't grounded internally as expected.
morevitamins
<ramps-1.4><arduino-mega-2650><pronterface><grounding>
Printrun doesn't connect when 12 V is on
morevitamins
# Printrun doesn't connect when 12 V is on

(Asked by: username_0 on 2017-06-09)

I'm able to connect to Arduino+RAMPS through USB. I can even check end stops with `M119`. However, if I plug it to the power supply, my MacBook goes crazy and restart itself! Things I have tried:

* Uninstalled OSX, installed Ubuntu, I get readiness error when PSU is connected.
* Bought a new pair of RAMPS + Arduino.
* Run RAMPS all naked without anything on it.
* Measured PSU output, 12.2 V is stable.

I'm at a point I started to think my MacBook's USB ports are messed up. It is a 2008 model, do you think that would be right to blame?

**Update**

Tried a new and a very short USB cable: It worked for the first time and I'm able to home all axes, but laptop's trackpad gets very hard to control for some reason. I can only use an external mouse.

**Tags:** ramps-1.4, arduino-mega-2650, pronterface, grounding
> **Comments:**
> **username_1**: It seems like your update could be posted as an answer, i.e. the solution, to your issue. It sounds a bit like you are having (additional) grounding issues. Are your MacBook and the RAMPS using the same ground, i.e. are they using the same mains circuit?  
> **username_0**: I don't have any grounding other than the PSU itself which is using a grounded plug. Is there anything else I should connect from RAMPS to PSU for e.g.? All my devices are connected to the same powerstrip which has a current protection.  
> **username_1**: Sounds ok them, if you are using the same power strip, although, is the PSU on the printer correctly grounded (at the bottom of the unit)? See [Upgrading the large delta printer - Power supply output grounding](https://miscsolutions.wordpress.com/2015/08/01/upgrading-the-large-delta-printer/)  
> **username_0**: @Greenonline First time I see this, I don't have that small wire between earth and `V-`, definitely will try!  
> **username_0**: @Greenonline you made my day!! It worked and now I'm able to use the longer cable & trackpad jiggering is gone! Please add that as an answer and I would be happy if you share how you discovered PSU wasn't grounded internally as expected.  

---

## 1 answers

### Answer by username_1 on 2017-06-10. Score: 4 | Accepted answer

It sounds a bit like you are having (additional) grounding issues1. Are your MacBook and the RAMPS using the same ground, i.e. are they using the same mains circuit?

*If* you are using the same power strip, then the next thing to check would be that the PSU on the printer correctly grounded (at the bottom of the unit).

From David Crocker's superlative blog, see [Upgrading the large delta printer - Power supply output grounding](https://miscsolutions.wordpress.com/2015/08/01/upgrading-the-large-delta-printer/):

> ### Power supply output grounding
>
> While taking some measurements on my machine, I discovered that the
> negative side of the output of the 12V LED power supply I am using was
> not connected to ground inside the power supply as I expected. This
> presents a safety hazard. So I added an additional wire from ground to
> the spare negative output terminal of the power supply.

[![Correctly grounded power supply](https://i.sstatic.net/g8pxQ.jpg)](https://i.sstatic.net/g8pxQ.jpg)

---

1 Why do I think this? Three reasons:

1. Because grounding issues is one of the most common, and over-looked, problems, in circuit design;
2. I have often had peripheral devices, that use a separate *additional* power supply, cause a PC laptop to go "haywire" (or worse, die) once connected via RS232/USB (especially charge sensitive devices on the laptop, such as the track pad), due to different, or *floating*, grounds, and;
3. I had recently read the blog and made special note to check all of my power supplies as they are *all* terrible, cheap, Chinese knockoffs, and grounding circuits in Thailand are usually *non-existant*, or, at best, *poorly wired up*.

> **Comments:**
> **username_0**: Thank you for the rare knowledge, it really fixed all of my issues! Today's computers may have better USB ports but all they are doing is hiding the problem! This should certainly go to reprap wiki.  
> **username_2**: About `grounding circuits in Thailand are usually non-existant`, that seems true for a lot of countries. For example, Vietnam doesn't have 3-pin plugs even for heavy duty home electrical equipment like refrigerators and airconditioners, and the grounding hole in home and office sockets is usually just a dummy to accommodate grounding pins rather than provide grounding.  

---

