<p>SOLVED -- The problem turned out to be that the BLtouch was set up for 3.3&nbsp;V and my Anet board is 5&nbsp;V. The docs were not clear on what the BL defaulted to and I mistakenly thought 5&nbsp;V. After I did a <code>M280 P0 S140</code> command, the carriage would home properly with <code>G28</code>. Why it was going up instead of down was a Red Herring. I changed the settings in <code>configuration_adv.h</code> to force 5&nbsp;V and did the EEPROM one time write. Now the A8 works correctly. Thank you for your help Oscar.</p>

CC BY-SA 4.0
2020-03-07T19:53:14.190Z
2020-03-07T21:03:07.830Z
2020-03-07T21:03:07.830Z
Tim Shoemaker
<p>I have a previously working Anet A8 that I just flashed to Marlin 1.1.9 (bugfix) and installed a real BLtouch sensor. I followed setup instructions and believe my wiring is correct. When I try to do a <code>G28</code>, the extruder moves to the front left corner properly, then moved to center the BLtouch over the bed. Then, it moves up instead of down, the BLtouch drops the probe, the extruder moves up again, the BLtouch drops the probe again and the extruder moves up again until the carriage is near the top. Using Pronterface I can move the carriage back down, but have to use <code>M211 S0</code> to let me get it close to the table. X, Y and Z move properly in Pronterface. I have changed the relevant settings in Marlin and recompiled with no success. The BLtouch does it's self test correctly and I can control the probe with commands. </p>

CC BY-SA 4.0
2020-03-03T13:26:57.670Z
Hi, welcome to 3DPrinting.SE! Could it be that `Z_MIN_PROBE_ENDSTOP_INVERTING` has an incorrect value? It should be `false`.
0scar
CC BY-SA 4.0
2020-03-03T18:43:40.900Z
I tried changing that with no effect. One setting I would like to try but can't is `#define Z_HOME_DIR -1` changed to `1`.  Marlin won't compile and gives lots of errors that I haven't been able to resolve.
Tim Shoemaker
CC BY-SA 4.0
2020-03-04T07:06:52.170Z
`Z_HOME_DIR` should be `-1`. Please add the instructions you followed, the BLTouch is a little more difficult to wire to the Anet board (using a pin from the LCD cable). For that reason I used an inductive sensor on my Anet A8.
0scar
CC BY-SA 4.0
2020-03-05T13:59:43.273Z
I replugged the z stop microswitch and disabled the BLtouch features and bed leveling in Marlin 1.1.9bf. The A8 functions perfectly with the manual z switch. I am able to print just fine. I then plugged in the BLtouch in place of the z stop microswitch, enabled the BLtouch features per the youtube https://www.youtube.com/watch?v=WWDkZtWwd6I&list=PLEJK8F0g9KPdtsSASKGWrmCzZGEvxRDM0&index=12&t=141s  The result is the same as before, with a G28 command, the nozzle homes to the center of the bed, but the carriage goes up instead of down. The BLtouch cycles the pin twice and the carriage moves up.
Tim Shoemaker
CC BY-SA 4.0
2020-03-05T14:05:29.070Z
Somehow in the homing sequence, the z servo is getting the wrong command. The z works correctly with Pronterface or when I use the mechanical z stop and disable BLtouch. It's got to be a setting or code issue with the BLtouch homing sequence.
Tim Shoemaker
<marlin><anet-a8><bltouch>
Anet A8 Marlin BLtouch moves up instead of down during homing
Tim Shoemaker
# Anet A8 Marlin BLtouch moves up instead of down during homing

(Asked by: username_0 on 2020-03-03)

I have a previously working Anet A8 that I just flashed to Marlin 1.1.9 (bugfix) and installed a real BLtouch sensor. I followed setup instructions and believe my wiring is correct. When I try to do a `G28`, the extruder moves to the front left corner properly, then moved to center the BLtouch over the bed. Then, it moves up instead of down, the BLtouch drops the probe, the extruder moves up again, the BLtouch drops the probe again and the extruder moves up again until the carriage is near the top. Using Pronterface I can move the carriage back down, but have to use `M211 S0` to let me get it close to the table. X, Y and Z move properly in Pronterface. I have changed the relevant settings in Marlin and recompiled with no success. The BLtouch does it's self test correctly and I can control the probe with commands.

**Tags:** marlin, anet-a8, bltouch

> **Comments:**
> **username_1**: Hi, welcome to 3DPrinting.SE! Could it be that `Z_MIN_PROBE_ENDSTOP_INVERTING` has an incorrect value? It should be `false`.  
> **username_0**: I tried changing that with no effect. One setting I would like to try but can't is `#define Z_HOME_DIR -1` changed to `1`.  Marlin won't compile and gives lots of errors that I haven't been able to resolve.  
> **username_1**: `Z_HOME_DIR` should be `-1`. Please add the instructions you followed, the BLTouch is a little more difficult to wire to the Anet board (using a pin from the LCD cable). For that reason I used an inductive sensor on my Anet A8.  
> **username_0**: I replugged the z stop microswitch and disabled the BLtouch features and bed leveling in Marlin 1.1.9bf. The A8 functions perfectly with the manual z switch. I am able to print just fine. I then plugged in the BLtouch in place of the z stop microswitch, enabled the BLtouch features per the youtube https://www.youtube.com/watch?v=WWDkZtWwd6I&list=PLEJK8F0g9KPdtsSASKGWrmCzZGEvxRDM0&index=12&t=141s  The result is the same as before, with a G28 command, the nozzle homes to the center of the bed, but the carriage goes up instead of down. The BLtouch cycles the pin twice and the carriage moves up.  
> **username_0**: Somehow in the homing sequence, the z servo is getting the wrong command. The z works correctly with Pronterface or when I use the mechanical z stop and disable BLtouch. It's got to be a setting or code issue with the BLtouch homing sequence.  

---

## 1 answers

### Answer by username_0 on 2020-03-07. Score: 2

SOLVED -- The problem turned out to be that the BLtouch was set up for 3.3 V and my Anet board is 5 V. The docs were not clear on what the BL defaulted to and I mistakenly thought 5 V. After I did a `M280 P0 S140` command, the carriage would home properly with `G28`. Why it was going up instead of down was a Red Herring. I changed the settings in `configuration_adv.h` to force 5 V and did the EEPROM one time write. Now the A8 works correctly. Thank you for your help Oscar.


---

