Skip to content

Instantly share code, notes, and snippets.

@utlandr
Last active September 4, 2025 23:13
Show Gist options
  • Select an option

  • Save utlandr/c3dab6bbcca1fc19dfc402d81cfd75e4 to your computer and use it in GitHub Desktop.

Select an option

Save utlandr/c3dab6bbcca1fc19dfc402d81cfd75e4 to your computer and use it in GitHub Desktop.
Klipper probe config for the BIQU Microprobe (V1/V2)
## --- BIQU Microprobe Klipper configuration ---
# Not much different from a standard probe config. The
# main difference compared to most probes is to disable
# deactivating the probe (PROBE_UP) after each sample
#
# You can either copy pasta this directly or import
# into your config.yml using [include microprobe.cfg]
#
# Note: if you are changing from a bltouch or one of its
# clones, remove/comment out the [bltouch] config!
# That also includes any auto generated config stored
# at the bottom by the PROBE_CALIBRATE command
#
# Note: the current control and sensor pin values are
# configured for the 'BTT SKR E3 mini V2' controller
# board. You may need to update these values depending
# on your controller board model.
#
# Update (2023-10-17): This config is configured for
# the V1 microprobe. V2 users must update the
# polarity of the sensor pin in the config to be
# pull-down (^!) not pull up (^)
[gcode_macro PROBE_DOWN]
gcode:
SET_PIN PIN=probe_enable VALUE=1
[gcode_macro PROBE_UP]
gcode:
SET_PIN PIN=probe_enable VALUE=0
[output_pin probe_enable]
pin: PA1 # Set to the control pin on your board
value: 0
[probe]
pin: ^PC14 # NOTE FOR V2 users: Set this to ^!PC14 to set the low level trigger
deactivate_on_each_sample: False
x_offset: -40
y_offset: -35
z_offset: 0 # Will be overridden when you do a PROBE_CALIBRATE
samples: 2
samples_tolerance: 0.05
samples_tolerance_retries: 3
activate_gcode:
PROBE_DOWN
G4 P500
deactivate_gcode:
PROBE_UP
@utlandr
Copy link
Author

utlandr commented Feb 4, 2025

@Edikxp What control board is your printer using?

@jakehiggs0
Copy link

jakehiggs0 commented Feb 18, 2025

I also cannot seem to get my probe to lower. It will work fine to do a bed mesh however it does does not stow the probe once down. the macro to deploy the probe works, only if it has not been deployed yet, but the one to retract does not. on start up it does complete the 3 movements up and down. I am using a BTT Pico.

Edit: it does seem to time out and stow after several minutes of it being up

Microprobe

[output_pin probe_enable]
pin: gpio29 # The control IO pin
value: 0 # Probe default retracted

[probe]
pin: ^!gpio22
deactivate_on_each_sample: False
x_offset: 25
y_offset: 23
#z_offset: -0.8
speed: 10
samples: 2
sample_retract_dist: 3.7
samples_tolerance: 0.05
samples_tolerance_retries: 3
samples_result: median
activate_gcode:
PROBE_DEPLOY
G4 P200
deactivate_gcode:
PROBE_RETRACT

@utlandr
Copy link
Author

utlandr commented Feb 18, 2025

Your config doesn't include the PROBE_DEPLOY and PROBE_RETRACT macros, so maybe check those are are equivalent to the PROBE_DOWN and PROBE_UP macros.

@Edikxp
Copy link

Edikxp commented Feb 18, 2025

@utlandr
I got it, I increased the delay

activate_gcode:

    PROBE_DOWN
    G4 P900

@utlandr
Copy link
Author

utlandr commented Feb 18, 2025

Nice!

@jakehiggs0
Copy link

sorry, my macros are in a separate config file. I was able to get it to work by putting a 10k pulldown resistor on the servo line, Gpio 29 for the pico.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment