Skip to content
Mark edited this page Jul 22, 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

Error:No data or corrupt data from BDsensor, and the data is 1024

one possible reason is the cable that we can't measure the problem by the normal multimeter, but it can work well with the GPIO on the RaspberryPi. https://github.com/markniu/Bed_Distance_sensor/issues/111#issuecomment-2046685001