<p>The multiple connections are redundant. Your picture indicates the wires labelled as "SIGNAL, GND, GND, VCC". This is correct if the board is a "standard" mechanical endstop v1.2. The two middle pins are both ground, but you only need to use one of them.</p>

<p>You can simply connect signal to signal and ground to ground. That is sufficient for the endstop to work. You only need to connect VVC to VVC if you want the LED that's on the board to function.</p>

CC BY-SA 3.0
2016-07-09T09:41:55.263Z
I can add as a source: My printer works with the connections as shown in your picture. (I had to learn it the hard way due to all the confusing information on the internet) ;)
kamuro
CC BY-SA 3.0
2016-07-20T12:56:26.010Z
@TomvanderZanden Tried this last night, and board did not fry for the x-axis!  Thank you!
leeand00
CC BY-SA 3.0
2016-07-07T18:56:32.043Z
2016-07-07T18:56:32.043Z
Tom van der Zanden
<p>I have <a href="http://www.sainsmart.com/sainsmart-mechanical-endstop-for-cnc-3d-printer-reprap-makerbot-prusa-mendel-ramps.html" rel="nofollow noreferrer">Sainsmart Mechanical End Stops</a>, and I'm building a Prusa i3 Rework.</p>

<p>I've recently gotten the x-axis to move, but it needs to stop when it gets to the end and it does not do that; I end up having to pull the plug.</p>

<p>From what I understand, there are two ways to wire ends stops in general, but you have to change the settings in the firmware to make it work right.</p>

<p>There are 3 connectors on the board:</p>

<ul>
<li>S (signal)</li>
<li>- (ground)</li>
<li>+ (VCC)</li>
</ul>

<p>My Sainsmart Mechanical End Stops have 4 connectors!!!</p>

<p>According to their website, left to right with the white connector facing you, they are as follows:</p>

<p><a href="https://i.sstatic.net/HgjIA.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HgjIA.jpg" alt="enter image description here"></a></p>

<ol>
<li>S</li>
<li>Normally Closed (NC)</li>
<li>Normally Open (NO)</li>
<li>VCC</li>
</ol>

<p>Now it seems to me that if I take those connections and connect them as follows it should work...(ramps on the left, sainsmart end stop on the right):</p>

<ol>
<li>S (signal) -> S</li>
<li>- (ground) -> Normally Open (NO)</li>
<li>+ (VCC) -> VCC</li>
<li><em>nothing</em> -> Normally Closed (NC)</li>
</ol>

<p>...but!  Screwing this up by either using the wrong firmware of selecting the wrong wire frys your board, so I thought I'd ask here.  Sources please.</p>

CC BY-SA 3.0
2016-07-07T18:57:25.097Z
The picture shows "S, GND, GND, VCC" but you list "S, NC, NO, VCC" in your post. I think the picture is correct, as indicated in my answer.
Tom van der Zanden
<ramps-1.4><prusa-i3-rework><marlin><firmware><endstop>
Connecting Sain Smart Mechanical End Stops to Ramps 1.4?
leeand00
# Connecting Sain Smart Mechanical End Stops to Ramps 1.4?

(Asked by: username_0 on 2016-07-04)

I have [Sainsmart Mechanical End Stops](http://www.sainsmart.com/sainsmart-mechanical-endstop-for-cnc-3d-printer-reprap-makerbot-prusa-mendel-ramps.html), and I'm building a Prusa i3 Rework.

I've recently gotten the x-axis to move, but it needs to stop when it gets to the end and it does not do that; I end up having to pull the plug.

From what I understand, there are two ways to wire ends stops in general, but you have to change the settings in the firmware to make it work right.

There are 3 connectors on the board:

* S (signal)
* - (ground)
* + (VCC)

My Sainsmart Mechanical End Stops have 4 connectors!!!

According to their website, left to right with the white connector facing you, they are as follows:

[![enter image description here](https://i.sstatic.net/HgjIA.jpg)](https://i.sstatic.net/HgjIA.jpg)

1. S
2. Normally Closed (NC)
3. Normally Open (NO)
4. VCC

Now it seems to me that if I take those connections and connect them as follows it should work...(ramps on the left, sainsmart end stop on the right):

1. S (signal) -> S
2. - (ground) -> Normally Open (NO)
3. + (VCC) -> VCC
4. *nothing* -> Normally Closed (NC)

...but! Screwing this up by either using the wrong firmware of selecting the wrong wire frys your board, so I thought I'd ask here. Sources please.

**Tags:** ramps-1.4, prusa-i3-rework, marlin, firmware, endstop

> **Comments:**
> **username_1**: The picture shows "S, GND, GND, VCC" but you list "S, NC, NO, VCC" in your post. I think the picture is correct, as indicated in my answer.  

---

## 1 answers

### Answer by username_1 on 2016-07-07. Score: 3 | Accepted answer

The multiple connections are redundant. Your picture indicates the wires labelled as "SIGNAL, GND, GND, VCC". This is correct if the board is a "standard" mechanical endstop v1.2. The two middle pins are both ground, but you only need to use one of them.

You can simply connect signal to signal and ground to ground. That is sufficient for the endstop to work. You only need to connect VVC to VVC if you want the LED that's on the board to function.

> **Comments:**
> **username_2**: I can add as a source: My printer works with the connections as shown in your picture. (I had to learn it the hard way due to all the confusing information on the internet) ;)  
> **username_0**: @username_1 Tried this last night, and board did not fry for the x-axis!  Thank you!  

---

