Help With BLTouch and smoothieware

Hello,

I followed the connection diagram and connected everything (I even connected the black cable to ground on the same row of pins as pin 1.23). At startup the BLTouch goes through the calibration routine and it is not blinking (it stays solid) but I am unable to make it do anything.

Here is my config file:

  1. switch module for servo control

switch.servo.enable true #
switch.servo.input_on_cammand M280 #M280 S7.5 WOULD BE MIDWAY, PS3.0 push down, PS7.0 push up, PS8.4 self test
switch.servo.input_off_command M281 #Same as M280 S0% duty cycle, effectively off
switch.servo.output_pin 1.23 #must be pwm capable pin
switch.servo.output_type hwpwm #H/W pwm output settable
switch.servo.pwm_period_ms 20 #set period to 20 ms

Please help

Imported from wikidot

This has been reported to work, including recently. Can you make sure your wiring is correct ? Do you have any means to test the bltouch outside of the Smoothieboard ?

hi, just browsing through as I’m encountering a bit of difficulty with my BLTouch setup currently. FWIW, the issue is that after following the recommended wiring diagram specifically for usage with the Smoothieboard, the sensor responds as it should, but interestingly, only while the board is running on 626pilot’s firmware fork that offers simulated annealing. When I decided to go ahead and load up the standard edge firmware offered via smoothieware homepage, suddenly the darn thing stops working for me, neither the raising and lowering of the probe pin nor proper response when checking activation via M119 g-code command. Upon re-installing 626pilots firmware, back working. Desperately trying to determine the underlying cause for this behaviour. Any tips whomever reads this may have would be very much welcome and appreciated.

Back to the point I have to the O.P. regarding the problem stated above, I would be remiss if I didn’t bring attention to the typographical error contained after the M280 statement. I think that the config file is sensitive to the spelling of the word COMMAND, as opposed to CAMMAND — as it is written incorrectly. HTH

I have the probe working perfectly without a Z Endstop on my Cartesian Printer using Delta Grid Auto Levelling.

I have Wiring Configured similar to the most recent diagram from BLTouch but i DO NOT have a resistor wired in and it works perfectly. Mine is wired as:

Probe Z Min Signal & Ground - Z Min Endstop Signal & Ground on the board.
Probe 5 Volt Supply - Z Min Endstop 5 Volt Supply on the board.
Probe Servo Signal - Any PWM Capable Pin - Needs to be defined in the config file, (In my case P1.23 (MKS SBase)).
Probe Ground - Grnd Next to P1.23 (Any Grnd).

The Servo Settings in the config file are as follows:

##BLTouch Servo Settings
switch.servo.enable true
switch.servo.input_on_command M280 S3.0 # M280 S7.5 Would be midway
switch.servo.input_off_command M280 S7.0 # Same as M280 S0 0% duty cycle, effectivley off
switch.servo.output_pin 1.23 # Must be a PWM capable pin
switch.servo.output_type hwpwm # H/W PWM output settable
switch.servo.pwm_period_ms 20 # Set Period to 20ms (50Hz) - Default is 50Hz

Gamma Min endstop is defined as nc.

The rest of the setup is done in the Pre-Print GCode, in Pseudo terms the process is:

  • Raise Z 10mm
  • Home X & Y
  • Move Toolhead to the bed centre
  • Deploy Probe Pin
  • G31 to probe the bed and turn on compensation
  • Return to the centre of the bed
  • G30 Znn - Here is where the Z Probe offset is defined.
  • Retract Probe.

In GCode it looks like this:

G1 Z10
G28 X Y
G1 X0 Y0
M280 S3.0
G31
G1 X0 Y0
G30 Z2.2 (My Z Probe Offset is 2.2mm)
M280 S7.0

If i have missed some details you need just ask, but this is working very well for me.

Thanks

Alex

How do you figure Z offset?

I have trying to setup my BLtouch on Sbase smoothieware board.

If anyone could post their full config file would be a help.

New to this, and i understand the additional lines, but have to see what setting may have to be turned off etc.

Thanks in advance.

You don’t need a full config file, you just need to take the switch module described in this post ( and in the documentation ) and paste it into your config file.

For all the rest, you need to read smoothieware.org/zprobe, and configure accordingly to your own setup, using somebody else’s config file isn’t going to work, you need to read, understand, and use the documentation so that your config matches your exact setup ( there are so many possible setups, you really need to do this, there is no way around it )

i understand that.
since its wired to p.28 and p.24or p.23, do you set the endstops as NC on these?

I also got a TFT32 connected and trying to use the leveling function in that, the x,y and z axis most to correct position, but the pin does not deploy.
and at times the x or y or z axis crashes against endstops…

Like i said i am new to this and trying to work through it all.

I was not going to use someones config file, just wanted to look through a working one so as to understand it more.

thanks

Did you make sure that in your TFT config file you have edited the line that depicts which version of code to use for leveling?
#The command of auto leveling (G29 is available for Marlin.While G32 is for Repetier and Smoothieware)