-
-
Notifications
You must be signed in to change notification settings - Fork 28
FAQ
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
Increase the sample_retract_dist to 5mm
homing_retract_dist:5 in section[stepper_z]
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.
- Please calibrate BDsensor when using it for the first time
- Try to decrease the value
position_endstop
in section BDsensor, E.g. 0.6
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