Pin alias error when setting up BLTouch

Basic Information:

Printer Model: Ender 3
MCU / Printerboard: SKR Mini 3 V1.2
klippy.log

Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed

Describe your issue:

Hello all, new here. At my wits end trying to set up a BLTouch. I have been running my Ender 3 SKR Mini 3 V1.2 board with BLTouch and Klipper for a year now, with no problems. I recently updated everything and messed things up. I have re-installed Klipper and Fluidd and it starts up fine. Now I’m trying to set up the BLTouch and as soon as I modify printer.cfg I get the error “Invalid pin alias ‘<5V>
[bltouch]’”
The BLTouch pins are correct. Any ideas?

Hello @ash2020 !

Please attach the klippy.log to your next post.

Apologies. Here it is.
klippy.log (101.2 KB)

I should say that I get the error as soon as I add [bltouch] to the printer.cfg file.

[bltouch] is not meant to be added to the [board_pins] aliases.

It is a separate section in the printer.cfg.

This section should look like this:

[board_pins]
aliases = 
	EXP1_1=PB5, EXP1_3=PA9,   EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
	EXP1_2=PB6, EXP1_4=<RST>, EXP1_6=PB9,  EXP1_8=PB7, EXP1_10=<5V>

[bltouch]
sensor_pin = ^PC2
control_pin = PA1
x_offset = -44
y_offset = -23
z_offset = -1.85
stow_on_each_sample = False
probe_with_touch_mode = True

https://www.klipper3d.org/Config_Reference.html#bltouch

Thanks. That’s exactly what I’ve got.

Except all my files have : throughout, rather than =

This is after parsing by Klipper.

The question is now, why the parser crumbles these two section together.

You may try with a remark dummy line between the sections:

# Just a dummy line

Thanks. I’ll give that a try. What do you have for endstop_pin in the [stepper_z] section?

If you have a probe for the Z-axes, you use

endstop_pin: probe:z_virtual_endstop

in the [stepper_z] section

More on this here:

https://www.klipper3d.org/Config_Reference.html#probe

Thank you. That’s got rid of the error, for some reason. Cheers.

1 Like