BLTouch Support

So you have to put that in the start script? Right now all I have is G28 then G31. The print head moves to all the locations but the pin does not deploy. Is the deployment done in the start script?

Not all of it, but to my knowledge you need to manually deploy the pin before performing your operations, try this as your pre-print script:

M280 S3.0
G28
G31
M280 S7.0

Also change these lines in your config file:

switch.servo.input_on_command M280 S3.0 #M280 S7.5 WOULD BE MIDWAY, PS3.0 push down, PS7.0 push up, PS8.4 self test
switch.servo.input_off_command M281 S7.0

To this:

switch.servo.input_on_command M280 S3.0 #M280 S7.5 WOULD BE MIDWAY, PS3.0 push down, PS7.0 push up, PS8.4 self test
switch.servo.input_off_command M280 S7.0

Thanks

Alex

Did you leave out both resistors Alex?

I have no resistors fitted.

Thanks

Alex

Hi there,

i´m also trying to get my touch sensor working on a mks sbase runnig smoothieware.
My probe is just flashing (error)
My setup is:
Endstop-jumper to 5V
TouchSensor : SBASE
GND : GND Zmin
+5V : +5V Zmin
Zsignal : Zmin Signal
Control : P1.23

My configuration is:

zprobe.enable true # set to true to enable a zprobe
zprobe.probe_pin 1.28 # pin probe is attached to if NC remove the !
zprobe.slow_feedrate 5 # mm/sec probe feed rate
zprobe.fast_feedrate 100 # move feedrate mm/sec
zprobe.probe_height 5 # how much above bed to start probe

switch.servo.enable true # Enable servo module
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, effectively off
switch.servo.output_pin 1.23 # Must be a PWM capable pin
switch.servo.output_type hwpwm # H/W pwm output settable with S parameter in the input_on_comand
switch.servo.pwm_period_ms 20 # set period to 20ms (50Hz) default is 50Hz

i do have no resistor between control signal and GND
i tryed do put a resistor between Zmin and GND but this also did not help

Does anyone have an idea what is wrong?

Regards
Stefan

Hi there,

i have found the problem of my non working bl-touch sensor. At the internal control board one of the bridge driver transistors for coil control was not soldered probably. After putting the part back in place my problem was solved.

Sorry i could not post any picture in cause of my user state… up_picr_de/28553876oh_jpg (just replace the underlines to dots)

Hi

I am using the following connections for my BLT, everything works, APART from when I go to print the head sits around 15mm above the bed, it’s most likely something very simple BUT I can’t find it out. I also post my config in full.

flickr:34641515216

Config

  1. Basic motion configuration

default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves
default_seek_rate 4000 # Default speed (mm/minute) for G0 moves
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
#mm_per_line_segment 5 # Cut lines into segments this size
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable

alpha_steps_per_mm 200 # Steps per mm for alpha ( X ) stepper
beta_steps_per_mm 200 # Steps per mm for beta ( Y ) stepper
gamma_steps_per_mm 800 # Steps per mm for gamma ( Z ) stepper

acceleration 1000
#z_acceleration 1000
acceleration_ticks_per_second 1000
junction_deviation 0.05
#z_junction_deviation 0.0

  1. Cartesian axis speed limits

x_axis_max_speed 24000
y_axis_max_speed 24000
z_axis_max_speed 480

microseconds_per_step_pulse 1
base_stepping_frequency 100000

alpha_step_pin 2.0
alpha_dir_pin 0.5
alpha_en_pin 0.4
alpha_current 0.8
alpha_max_rate 30000.0

beta_step_pin 2.1
beta_dir_pin 0.11
beta_en_pin 0.10
beta_current 0.8
beta_max_rate 30000.0

gamma_step_pin 2.2
gamma_dir_pin 0.20
gamma_en_pin 0.19
gamma_current 1
gamma_max_rate 480.0

epsilon_current 1

## Extruder module configuration

extruder.hotend.enable true
extruder.hotend.steps_per_mm 456
extruder.hotend.default_feed_rate 3000
extruder.hotend.acceleration 1000
extruder.hotend.max_speed 50

extruder.hotend.step_pin 2.3
extruder.hotend.dir_pin 0.22
extruder.hotend.en_pin 0.21

extruder.hotend.retract_length 3 # Retract length in mm
extruder.hotend.retract_feedrate 45 # Retract feedrate in mm/sec
extruder.hotend.retract_recover_length 0 # Additional length for recover
extruder.hotend.retract_recover_feedrate 8 # Recover feedrate in mm/sec (should be less than retract feedrate)
extruder.hotend.retract_zlift_length 4 # Z-lift on retract in mm, 0 disables
extruder.hotend.retract_zlift_feedrate 6000 # Z-lift feedrate in mm/min (Note mm/min NOT mm/sec)
delta_current 0.6 # First extruder stepper motor current

## Temperature control configuration

  1. First hotend configuration

temperature_control.hotend.enable true # Whether to activate this ( “hotend” ) module at all.
temperature_control.hotend.thermistor_pin 0.24 # Pin for the thermistor to read
temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
temperature_control.hotend.thermistor Semitec
#temperature_control.hotend.beta 4066 # Or set the beta value
temperature_control.hotend.set_m_code 104 # M-code to set the temperature for this module
temperature_control.hotend.set_and_wait_m_code 109 # M-code to set-and-wait for this module
temperature_control.hotend.designator T # Designator letter for this module
temperature_control.hotend.max_temp 300 # Set maximum temperature - Will prevent heating above 300 by default
#temperature_control.hotend.min_temp 0 # Set minimum temperature - Will prevent heating below if set

  1. PID configuration

temperature_control.hotend.p_factor 66.8 # P ( proportional ) factor
temperature_control.hotend.i_factor 9.119 # I ( integral ) factor
temperature_control.hotend.d_factor 122 # D ( derivative ) factor#temperature_control.hotend.max_pwm 255

## Max pwm, 64 is a good value if driving a 12v resistor with 24v.

temperature_control.bed.enable true # Whether to activate this ( “hotend” ) module at all.
temperature_control.bed.thermistor_pin 0.23 # Pin for the thermistor to read
temperature_control.bed.heater_pin 2.5 # Pin that controls the heater
temperature_control.bed.thermistor Semitec #
#temperature_control.bed.beta 3974 # Or set the beta value
temperature_control.bed.set_m_code 140 # M-code to set the temperature for this module
temperature_control.bed.set_and_wait_m_code 190 # M-code to set-and-wait for this module
temperature_control.bed.designator B

## Switch modules

  1. Switch module for fan control

switch.fan.enable true
switch.fan.input_on_command M106
switch.fan.input_off_command M107
switch.fan.output_pin 2.4
switch.fan.output_type pwm
switch.fan.max_pwm 255

  1. Endstops

endstops_enable true
#corexy_homing false
alpha_min_endstop 1.24!^
#alpha_max_endstop 1.25^
alpha_homing_direction home_to_min
alpha_min -25
alpha_max 220
beta_min_endstop 1.26!^
#beta_max_endstop 1.27^
beta_homing_direction home_to_min
beta_min -25
beta_max 220
#gamma_min_endstop 1.28!^
gamma_min_endstop nc
#gamma_max_endstop 1.29^
gamma_homing_direction home_to_min
gamma_min 0
gamma_max 220
alpha_fast_homing_rate_mm_s 80
alpha_slow_homing_rate_mm_s 25
beta_fast_homing_rate_mm_s 80
beta_slow_homing_rate_mm_s 25
gamma_fast_homing_rate_mm_s 4
gamma_slow_homing_rate_mm_s 2

alpha_homing_retract_mm 5
beta_homing_retract_mm 5
gamma_homing_retract_mm 1

homing_order XYZ
move_to_origin_after_home true
#endstop_debounce_count 100
endstop_debounce_ms 1
home_z_first true

## Z-probe
zprobe.enable true # Set to true to enable a zprobe
zprobe.probe_pin 1.28 # Pin probe is attached to, if NC remove the !
zprobe.slow_feedrate 5 # Mm/sec probe feed rate
zprobe.debounce_count 100 # Set if noisy
zprobe.fast_feedrate 220 # Move feedrate mm/sec
zprobe.probe_height 10 # How much above bed to start probe
#gamma_min_endstop nc # Normally 1.28. Change to nc to prevent conflict,

## BLTouch Servo Settings
## M280 S3 deploy pin
## M280 S5.5 zpin test mode
## M280 S7 Retract pin
## M280 S8.4 self test
## M280 S10.6 Alarm release

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

  1. Levelling strategy

leveling-strategy.three-point-leveling.enable false # a levelling strategy that probes three points to define a plane and keeps the Z parallel to that plane
leveling-strategy.three-point-leveling.point1 110.0,40.0 # the first probe point (x,y) optional may be defined with M557
leveling-strategy.three-point-leveling.point2 110.0,110.0 # the second probe point (x,y)
leveling-strategy.three-point-leveling.point3 15.0,200.0 # the third probe point (x,y)
leveling-strategy.three-point-leveling.home_first true # home the XY axis before probing
leveling-strategy.three-point-leveling.tolerance 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
leveling-strategy.three-point-leveling.probe_offsets 24.0,50.0,0.0 # the probe offsets from nozzle, must be x,y,z, default is no offset
leveling-strategy.three-point-leveling.save_plane false # set to true to allow the bed plane to be saved with M500 default is false

leveling-strategy.rectangular-grid.enable true # The strategy must be enabled in the config, as well as the zprobe module.
leveling-strategy.rectangular-grid.do_home true
leveling-strategy.rectangular-grid.x_size 190 # size of bed in the X axis
leveling-strategy.rectangular-grid.y_size 175 # size of bed in the Y axis
leveling-strategy.rectangular-grid.size 5 # The size of the grid,eg 7 causes a 7x7=49 3,5,7,9 odd numbers
leveling-strategy.rectangular-grid.probe_offsets 0,0.0 # Optional probe offsets from the nozzle or tool head
leveling-strategy.rectangular-grid.save true # If the saved grid is to be loaded on boot then this must be set to true
leveling-strategy.rectangular-grid.initial_height 10 # Optionally an initial_height can be set that tell the intial probe
# where to stop the fast decent before it probes, this should be
# around 5-10mm above the bed
## Panel

panel.enable true # Set to true to enable the panel code

panel.lcd reprap_discount_glcd #
panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4
panel.encoder_a_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 3
panel.encoder_b_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 5
panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2
panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1
panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8
panel.external_sd true
panel.external_sd.spi_channel 1
panel.external_sd.spi_cs_pin 0.28
panel.external_sd.sdcd_pin 0.27!^
panel.menu_offset 1
#panel.reverse true

panel.alpha_jog_feedrate 6000
panel.beta_jog_feedrate 6000
panel.gamma_jog_feedrate 200

panel.hotend_temperature 245
panel.bed_temperature 100

custom_menu.power_on.enable true
custom_menu.power_on.name Power_on #
custom_menu.power_on.command M80 #

custom_menu.power_off.enable true #
custom_menu.power_off.name Power_off #
custom_menu.power_off.command M81 #

custom_menu.BLT_Probe_Out.enable true #
custom_menu.BLT_Probe_Out.name BLT_Probe_Out #
custom_menu.BLT_Probe_Out.command M280 S3 #

custom_menu.BLT_Probe_In.enable true #
custom_menu.BLT_Probe_In.name BLT_Probe_In #
custom_menu.BLT_Probe_In.command M280 S7 #

custom_menu.BLT_Reset_Alarm.enable true #
custom_menu.BLT_Reset_Alarm.name BLT_Reset_Alarm #
custom_menu.BLT_Reset_Alarm.command M280 S10.6 #

## M280 S3 deploy pin
## M280 S5.5 zpin test mode
## M280 S7 Retract pin
## M280 S8.4 self test
## M280 S10.6 Alarm release

## Network settings

network.enable true
network.webserver.enable true
network.telnet.enable true

## System configuration
uart0.baud_rate 250000
second_usb_serial_enable false
#leds_disable true
#play_led_disable true

kill_button_enable true
kill_button_pin 2.12

#msd_disable false
#dfu_enable false

currentcontrol_module_enable true

Hello,

The same thing happens to me. Have you been able to solve it? If so, can you tell me how to solve it?

a greeting