<p><strong>Edit:</strong> <em>The answer below reflected the original question and upload of the configuration that was incorrectly configured. The value of this answer can be found in checking your configuration thoroughly before you post a question. It also answers the question whether pull-up resistors need to be set for the end stops.</em></p>

<hr>

<p>Basically you need to follow the instructions of the manual/sheet you mention in your question. Be sure to <strong>get all the changes correct in your configuration.h</strong> file!</p>

<p>E.g. in your configuration</p>

<pre><code>//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
</code></pre>

<p>should be</p>

<pre><code>#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command
</code></pre>

<p>So no servo was defined (the servo pulls up the pin of the BLTouch sensor)! Also your BLTouch delay is <code>375</code> while <code>100</code> is prescribed. Please check that you managed to get all the proposed changes in the configuration file (as I stopped comparing for you after finding 2 errors in your configuration!) as I believe that you have not updated your configuration correctly as described. There should be no differences in setup for Marlin 1.1.6 or 1.1.8.</p>

<p><strong>To answer your question</strong>: No, you do not need to change pull-up settings.</p>

CC BY-SA 4.0
2018-06-06T08:19:46.973Z
2018-06-12T16:38:57.853Z
2018-06-12T16:38:57.853Z
0scar
<p>For security reasons, you cannot move Z until home position is applied to X, Y and Z.</p>

<p>With the level sensor attached, we need to home X and Y, and then Z will be homed in the middle of the bed (as configured). Execute <code>G28</code> to home all axis and then you shall be able to run 'Z'.</p>

<p>To test that, you can unplug just steppers (with power switched off to prevent damaging the stepper drivers) and move X and Y manually to home position, then just give a touch to the BL sensor (when servo/pin) is deployed to confirm home position.</p>

CC BY-SA 4.0
2018-06-07T08:27:32.980Z
That was the issue. I didn't home X and Y. Before enabling BL touch feature in firmware, Safe homing function was disabled. I didn't know I have to home X and Y before Z. I didn't read comments in that section of firmware. Seems like it's working now. I can touch BLTouch during homing and it works as a limit switch. I used separate stepper for Z axis not the one in my printer to avoid accidental crashing
Athul
CC BY-SA 4.0
2018-06-05T16:18:26.120Z
2018-06-05T18:08:23.110Z
2018-06-05T18:08:23.110Z
profesor79
<p>Has anyone configured BLTouch with Marlin firmware?</p>

<p>I could only find videos about older firmware version. I followed <a href="https://docs.wixstatic.com/ugd/f5a1c8_77c6538efc934dbeab2f6e06e175ec35.pdf" rel="nofollow noreferrer">this document</a>. To avoid causing any damage to the printer, I removed all connections, took the board out and connected a stepper to Z-axis terminal and BLTouch to Z-min and servo 1. All other axes are not connected. X-min and Y-min end stops were shorted using jumper (Mine is NC configuration). </p>

<p>After updating the firmware, I can move the X and Y steppers, but not Z stepper. There's a blue light glowing inside BLTouch, which turns off if I remove Servo connections.</p>

<p>The <code>M119</code> command shows all end stops are open.</p>

<p>Do I have to change pull up settings of end stop?</p>

<p>I cuurently have:</p>

<ul>
<li>Marlin 1.1.6</li>
<li>BLTouch Classic</li>
</ul>

<p>Here's my <a href="https://drive.google.com/open?id=1hX5qZ3nnSY7cxfvX1J8z8wPrAGqynfKL" rel="nofollow noreferrer">configuration</a> file</p>

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

CC BY-SA 4.0
2018-06-05T13:48:15.043Z
I connected jumper between Vcc and 5V, BL touch is powered up. Now it's the issue with firmware
Athul
<marlin><ramps-1.4><bltouch>
Configuring BLTouch with Marlin firmware
Athul
# Configuring BLTouch with Marlin firmware

(Asked by: username_0 on 2018-06-05)

Has anyone configured BLTouch with Marlin firmware?

I could only find videos about older firmware version. I followed [this document](https://docs.wixstatic.com/ugd/f5a1c8_77c6538efc934dbeab2f6e06e175ec35.pdf). To avoid causing any damage to the printer, I removed all connections, took the board out and connected a stepper to Z-axis terminal and BLTouch to Z-min and servo 1. All other axes are not connected. X-min and Y-min end stops were shorted using jumper (Mine is NC configuration).

After updating the firmware, I can move the X and Y steppers, but not Z stepper. There's a blue light glowing inside BLTouch, which turns off if I remove Servo connections.

The `M119` command shows all end stops are open.

Do I have to change pull up settings of end stop?

I cuurently have:

* Marlin 1.1.6
* BLTouch Classic

Here's my [configuration](https://drive.google.com/open?id=1hX5qZ3nnSY7cxfvX1J8z8wPrAGqynfKL) file

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

**Tags:** marlin, ramps-1.4, bltouch
> **Comments:**
> **username_0**: I connected jumper between Vcc and 5V, BL touch is powered up. Now it's the issue with firmware  

---

## 2 answers

### Answer by username_2 on 2018-06-05. Score: 4 | Accepted answer

For security reasons, you cannot move Z until home position is applied to X, Y and Z.

With the level sensor attached, we need to home X and Y, and then Z will be homed in the middle of the bed (as configured). Execute `G28` to home all axis and then you shall be able to run 'Z'.

To test that, you can unplug just steppers (with power switched off to prevent damaging the stepper drivers) and move X and Y manually to home position, then just give a touch to the BL sensor (when servo/pin) is deployed to confirm home position.

> **Comments:**
> **username_0**: That was the issue. I didn't home X and Y. Before enabling BL touch feature in firmware, Safe homing function was disabled. I didn't know I have to home X and Y before Z. I didn't read comments in that section of firmware. Seems like it's working now. I can touch BLTouch during homing and it works as a limit switch. I used separate stepper for Z axis not the one in my printer to avoid accidental crashing  

---

### Answer by username_1 on 2018-06-06. Score: 1

Edit: The answer below reflected the original question and upload of the configuration that was incorrectly configured. The value of this answer can be found in checking your configuration thoroughly before you post a question. It also answers the question whether pull-up resistors need to be set for the end stops.

Basically you need to follow the instructions of the manual/sheet you mention in your question. Be sure to get all the changes correct in your configuration.h file!
E.g. in your configuration
//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command

should be
#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command

So no servo was defined (the servo pulls up the pin of the BLTouch sensor)! Also your BLTouch delay is 375 while 100 is prescribed. Please check that you managed to get all the proposed changes in the configuration file (as I stopped comparing for you after finding 2 errors in your configuration!) as I believe that you have not updated your configuration correctly as described. There should be no differences in setup for Marlin 1.1.6 or 1.1.8.
To answer your question: No, you do not need to change pull-up settings.


---

