Forum

 

Notifications
Clear all

[Solved] Help needed with Marlin 2.0 Ender 5 Pro 4.2.2 and BLTouch v3.1


Pax
 Pax
(@pax)
Active Member Registered
Joined: 10 months ago
Posts: 6
Topic starter  

Hi,

I installed the BLTouch on the white connector on the main board. Not in the z-axis connector and not using a pin 27 board.

This works with the standard Firmware from Creality.

4.2.2 Ender-5 pro 32bit Marlin2.0.1 BLtouch V1.1.1without adapter board.rar

When I run Marlin 2.0.7.2 I can not adjust the Z offset. All other options work fine, I can level the bed etc.

I tried a lot of different settings to compile the firmware, but in al my tries it wil not let me adjust the “Probe Z Offset”, it tries to print in thin air.

The Creality Firmware is able to get this to work so it should be possible to get it to work with the latest Marlin Firmware.

Does anybody use the same BLTouch connection setup and got it to work?

 

 
This topic was modified 10 months ago by Pax

ReplyQuote
Pax
 Pax
(@pax)
Active Member Registered
Joined: 10 months ago
Posts: 6
Topic starter  

@creality is it possible you share your Configuration files for the Marlin Firmware?

 


ReplyQuote
Pax
 Pax
(@pax)
Active Member Registered
Joined: 10 months ago
Posts: 6
Topic starter  

Fixed by changing:

#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default

TO

#defineZ_MIN_PROBE_PIN Z_MIN_PROBE_PIN
 

ReplyQuote
Eli liu
(@eli-liu)
Reputable Member Registered
Joined: 1 year ago
Posts: 462
 

@pax thank you so much for sharing the solution. I have limited knowledge of firmware, so I couldn't help you. I'll stick your post to the top to help more users. 


Pax liked
ReplyQuote
rapalax
(@rapalax)
New Member Registered
Joined: 9 months ago
Posts: 4
 

@pax This is precisely what I am looking for, but for an Ender 3 v2 (also 4.2.2)..

Maybe the post was messed up, and maybe I am misunderstanding something, but this:

#defineZ_MIN_PROBE_PIN Z_MIN_PROBE_PIN

Looks likes a syntax error.

Also, did you uncomment
#define USE_PROBE_FOR_Z_HOMING
 
and comment out 
 
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
 
Would it be possible to share your config files (I don't see them anywhere).
 

 


ReplyQuote
Pax
 Pax
(@pax)
Active Member Registered
Joined: 10 months ago
Posts: 6
Topic starter  

@rapalax

Sorry for the late reply..

Here is the file I use for Marlin bugfix-2.0.x branch

https://gist.github.com/paxpacis/987d2fedfce417ec7da5b4571706c310


ReplyQuote
rapalax
(@rapalax)
New Member Registered
Joined: 9 months ago
Posts: 4
 

Perfect! I used these Bed Level Settings for my ender3 v2 and it has been working well also (They match what I had suspected above). I did however, leave

#define Z_MIN_PROBE_PIN

Commented out since there are comments that say:

* Define this pin if the probe is not connected to Z_MIN_PIN.
* If not defined the default pin for the selected MOTHERBOARD
* will be used. Most of the time the default is what you want.

Pin 32 seems to be the default for RAMPS (??) boards but not sure about this. You seem to be setting it to 'Z_MIN_PROBE_PIN' but not sure what value that evaluates to. Thankfully, it doesn't seem this gets used and the signal is received properly from the BLTouch somehow.

Thanks for the reply!


ReplyQuote
ASN
 ASN
(@asn)
New Member Registered
Joined: 7 months ago
Posts: 2
 

I've been struggling with something similar on the Ender 3 Pro. I purchased this kit: https://www.amazon.co.uk/gp/product/B07RZBFQK3/ref=ppx_yo_dt_b_asin_title_o04_s01?ie=UTF8&psc=1

and wired it up on the 4.2.2 32bit board as per instructions. it works perfectly on the Creality firmware, however I want more than 9 probe points as i know that the center of the bed has more warping than the edges.

When compiling the Marlin firmware for BLTouch, no matter which config (including the one shared here) the probe will not extend for homing.

Getting a view of the Creality source code would allow me to compare and work out what is missing (or needs to be excluded) to get this to work.

Is anyone from Creality in a position to assist? Or provide firmware with a variety of probe steps?


ReplyQuote
Neodac
(@neodac)
New Member Registered
Joined: 7 months ago
Posts: 1
 

@asn you using all 5 pins of the bltouch connector or three and the two zstop pins? from my ender 3v2 the creality firmware is set up for the five pins and marlin defaults to three and the zstop not sure how to change this in firmware i rewired


ReplyQuote
ASN
 ASN
(@asn)
New Member Registered
Joined: 7 months ago
Posts: 2
 

@neodac, it's split to pinboardA and the z-stop pins. I've included the wiring diagram. The bltouch splits to a 3 pin adapter to PinboardA, and to the z-stop.

Since it works with Creality firmware, I want to resolve the issue instead of re-wiring. Creality should be able to advise what settings are required for this (or someone who has hacked around with it already).

(wiring diagram link)

 


ReplyQuote
le_diabolo
(@le_diabolo)
New Member Registered
Joined: 3 months ago
Posts: 1
 

@asn, I had exactly the same problem. The BLTouch just wouldn't deploy and then do a test. After I entered this line: "#define HAS_PIN_27_BOARD" in the "Configuration.h" it worked immediately. I entered this line directly after the entry: "#define BLTOUCH". So that all in all it looks like this:

/**
* The BLTouch probe uses a Hall effect sensor and emulates a servo.
*/
#define BLTOUCH
#if ENABLED(BLTOUCH)
#define HAS_PIN_27_BOARD
#endif

Ender 3 Pro, Board 4.2.2, Marlin 2.0.8 and a BLTouch Clone


ReplyQuote