BIQU MicroProbe V2.0 on Spider with Klipper?

Just for future reference and AFAIK:

  • The impedance of MCU pins is between 100kΩ and 1MΩ
  • A pull-up > 10kΩ is considered weak in most cases (happily stand corrected here)
  • The STM MCU series have internal pull-ups in the rage of 30kΩ to 50kΩ (=weak)
  • Weak pull-ups can cause issues on timing critical pins as they form a RC circuit and the bigger the resistance is the bigger the impact on signal timing
  • Weak pull-ups are more susceptible to noise
  • On battery applications, weak pull-ups are preferred as they limit the current draw

This is my understanding of this matter, but I happily learn and stand corrected.

1 Like

that means it is a “strong” pull-up inside the MCU ?

No, according to the definition given by @Sineos

What is a STM MCU ?
STMicroelectronics? Fysect Spider is equipped with STM, so it is weak. I understand.
Then I have to use the Z-Max pin.
THX the Biqu is ordered.

You will of course need to correct the pins to your board, but I’m using the plug for BL-Touch without any change.

########################

BIQU Microprobe

########################

[gcode_macro Probe_Deploy]
gcode:
SET_PIN PIN=probe_enable VALUE=1

[gcode_macro Probe_Stow]
gcode:
SET_PIN PIN=probe_enable VALUE=0

[output_pin probe_enable]
pin: PB11 # Change this to the Servo/control pin number for your board.
value: 0

[probe]
pin: ^PE0 # Change this to the Probe/Z- pin number for your board
deactivate_on_each_sample: False
x_offset: 0.0 # Change the probe offsets to meet your machine requirements.
y_offset: 25.0
#z_offset: 2.350
speed: 7.0
samples: 1
sample_retract_dist: 4.0
samples_tolerance: 0.05
samples_tolerance_retries: 3
activate_gcode:
Probe_Deploy
G4 P50 # allow time for probe to deploy
deactivate_gcode:
Probe_Stow

[safe_z_home]
home_xy_position: 199.9, 201.4 # Change coordinates to the center of your print bed
speed: 100
z_hop: 5 # Move up 5mm
z_hop_speed: 5

1 Like

@gert.halberg

Please set your code snippets into preformatted text
Format

The way it is, no one can use the code for their configs.

1 Like

on the probe side, the pins are the same

1 Like

tried to test the BIQU Microprobe, connected to the std. BLTouch pins

Klipper does not like the printer.cfg, according to the upper post and the BIQU discription the printer.cfg is changed, but he whants to have a control pin ?
printer.cfg (14.9 KB)

Can you post the error message that you’re getting from Klipper?

Taking a screen shot of the error should be good for a start.

thx

  • found, at the end of the printer.cfg there was a bltouch setting

now other issue:

  • found, missing a space infront, now running

  • printer is not referenced, of course, probe macro does nothing

pin PA2 should be the control
pin PA0 sensor

blue LED is on, on the BiQU Microprobe

probe pin goes out on power on, PA2 or !PA2 does not change anything

I’m glad you caught those two errors.

Now, what do you mean by “printer is not referenced, of course, probe macro does nothing”?

Are you trying to run gcode?

The Biqu description gave a code for Klipper, the code that was already posted here is similar. GitHub - bigtreetech/MicroProbe
With this code I’m trying to test the Biqu to see if it works.
There are macros in the code so you can move the pin in and out.
As soon as I turn on the power on the printer, the pin comes out and otherwise no longer moves, the macros (buttons in the mainsail) have no effect, i.e. the G-code functions. not, the settings in the printer.cfg are not correct.
The pressure is not referenced without a working Z-probe, I don’t think that will have an impact on the macros.

BLTouch is deactivated:

#[bltouch]
#sensor_pin: PA0
#control_pin: PA2
#pin_move_time: 0.15
#lift_speed: 10  # max 30
#x_offset: -38
#y_offset: 0
#z_offset: 2.1 
#speed: 1

BIQU should be active:

########################
#BIQU Microprobe
########################
[output_pin probe_enable]
pin: PA2 # Change this to the Servo/control pin number for your board.
value: 0 # Probe default retracted

[gcode_macro Probe_Deploy]
gcode:
SET_PIN PIN=probe_enable VALUE=1
[gcode_macro Probe_Stow]
gcode:
SET_PIN PIN=probe_enable VALUE=0

[probe]
pin: ^PA0 # Change this to the Probe/Z- pin number for your board
deactivate_on_each_sample: False
x_offset: 0.0 # Change the probe offsets to meet your machine requirements.
y_offset: 25.0
z_offset: 2.350
speed: 5.0

#samples: 1
#sample_retract_dist: 4.0
#samples_tolerance: 0.05
#samples_tolerance_retries: 3

activate_gcode:
 Probe_Deploy
 G4 P500 # allow time for probe to deploy

deactivate_gcode:
 Probe_Stow

[safe_z_home]
home_xy_position: 199.9, 201.4 # Change coordinates to the center of your print bed
speed: 100
z_hop: 5 # Move up 5mm
z_hop_speed: 5

mounted on the Fysect Spider 2.2 board on the same pins as the BLTouch, later on Z-Max.

what could be the problem ?

Could you please post your klippy.log after fixing BIQU MicroProbe V2.0 on Spider with Klipper? - #30 by 4711Austria?

klippy.log (12.7 KB)
moonraker (3).log (7.7 KB)
thx

1 Like

I cannot really tell from the pictures you have posted:
Do you have connected the cable, called “Servos (PE5)” in below picture, to your PA2?

like the schematic above
PA2 Control (Servo, PWM)
PA0 Signal Probe

No idea. Have you tried different pins?

found, the small plug with grd/signal has to be turned around, plugged in the wrong way, now the Probe does a check on power on, does go out and back on macros.
Startig referencing Z he tells me now, the z-endstop still is active
ok, that means I have to change something in the printer.cfg?

if I deploy the probe, both are active
Unbenannt
printer (4).cfg (14.8 KB)

tried a view things with endstop, but do not get the point what he wants?
the signal from the BIQU are fine, but both Endstop Z and Probe are active on sensor out.

Klipper does not detect a toggling pin. It seems that the pin is always triggered and does not change.

If I understand the working of this probe correctly then the process should be:

  1. Probe pin is reported open
  2. Probe_Deploy is called → The probe’s tip gets extended
  3. The probe touches the bed
  4. The probe pin toggles “triggered” → Klipper notices the endstop signal
  5. Probe_Stow is called and the tip gets retracted again
  6. Probe pin is reported open again

This is run twice. When either #1 or #4 or #6 does not work correctly then you will either receive No trigger on [X / Y / Z] after full movement or the error in your screenshot.

This could be due to some wrong wiring / wrong pin assignment or due to the “pull-up” topic discussed above.

1 Like