Skip to content
Mark edited this page Jun 14, 2024 · 10 revisions

Unknown pin chip name 'probe'

Check if there is a file BDsensor.py in the ~/klipper/klippy/extras/ and BD_sensor.c in the ~/klipper/klippy/src/, if not please install again by running ~/Bed_Distance_sensor/klipper/install_BDsensor.sh

Error:Probe triggered prior to movement

Increase the sample_retract_dist to 5mm

homing_retract_dist:5 in section[stepper_z]

mcu 'mcu': Unknown command: I2CBD or mcu 'mcu': Unknown command: I2CBDr

That means the code of BD_sensor.c does not build into the firmware,or does not flash succees.

~/Bed_Distance_sensor/klipper/install_BDsensor.sh
cd ~/klipper/
make menuconfig
./make_with_bdsensor.sh
make flash

Make sure there is Compiling out/src/BD_sensor.o on the SSH while run make_with_bdsensor.sh and note make flash is the command to flash the firmware into the mcu, this command is different for different board.

Error:'Endstop z still triggered after retract' or the distance value always 0.

  • Please calibrate BDsensor when using it for the first time
  • Try to decrease the value position_endstop in section BDsensor, E.g. 0.6