Klipper BL Touch Problem
-
Not many klipper users here. Might have better luck on the klipper discord.
-
@chickenwoman, I believe @Luke-sLaboratory did the initial port of Klipper to the Duet 3 Mini, so he may be able to help.
-
@phaedrux I'm trying both. I figured I would try here because the Klipper developers aren't familiar with the Duet Wifi pin numbers and setup. The first thing I need to know is the pin id of PWM3 on the Duex. I used this to get my pinout id's https://duet3d.dozuki.com/Wiki/Duet_2_Pinout_table and there's several different pin ids for PWM3. I'm not sure if it makes a difference on which one I use. The ^ in Klipper is to enable the pullup resister and the ! is to invert, I left that out in my original post.
-
@dc42 I see that he's done it with the Duet 3. The pin assignments would be different. I'm not really sure how the insides of the bltouch work. Seems like even if I had the PWM3 pin assignment wrong that with the white and black wire in the zprobe slots on the Duet that the open and trigger state would change by manually moving the pin. Maybe if I could understand this better it would help trouble shoot. I'll also try to reach out to @Luke-sLaboratory
-
Just had to rejoin the Klipper Discord server to get my Klipper BLTouch config, that I wrote last year.
Had to get a friend to re-invite me!TBH I got so fed up with the tramming under Klipper, sometimes it worked, most of the time it failed. When I reloaded RRF it all worked as it should.
Bought a Mini 5+ and a 1LC left it on RRF and never looked back.
Here is the config, hope it helps.
##################################################################### # BLTouch / Z Tilt and bits ##################################################################### [bltouch] sensor_pin: PC1 control_pin: !PC3 x_offset: 2 y_offset: 42 #z_offset: 5 samples: 3 samples_result: average samples_tolerance_retries: 3 samples_tolerance: 0.005 speed: 5.0 stow_on_each_sample: false probe_with_touch_mode:true [safe_z_home] home_xy_position: 150,150 # Change coordinates to the center of your print bed speed: 50 z_hop: 10 # Move up 10mm z_hop_speed: 5 [z_tilt] z_positions: -10, 22.5 #Left Front -10, 277.5 #Left Rear 333, 150 #Right points: 30, 45 30, 250 275, 250 275, 45 horizontal_move_z: 10 retries: 5 retry_tolerance: 0.02 speed: 100 #50
P.
-
@dc42 I solved it from one of your earlier post where you said heater 7 was associated with PWM 5. Even though I read that post over and over I thought you had misspoken on the PWM5. Instead I kept referring to the https://duet3d.dozuki.com/Wiki/Duet_2_Pinout_table which had Heater 7 associated with PWML3. I could use some help on how I misread the Duet Pin table. This is line
49: PA15 TIOA1 PWML3 WKUP14 HEATER7 15 HEATER7
Wouldn't this imply PA15 controls the PWM3 plug?
Also with the Duet do I need to activate pullup resistor to avoid floating input?Thanks, you're amazing.
It's amazing how one can spend days trouble shooting and not try something obvious lol.
For others having this issue my working arrangement is PWM5 which is control pin PA15.
[bltouch]
sensor_pin: PC1 # ^ = Activate pullup resistor to avoid floating input
control_pin: !PA15 # ! = Active low
x_offset: -16.88
y_offset: -18 -
@chickenwoman said in Klipper BL Touch Problem:
49: PA15 TIOA1 PWML3 WKUP14 HEATER7 15 HEATER7
Wouldn't this imply PA15 controls the PWM3 plug?Yes.
Also with the Duet do I need to activate pullup resistor to avoid floating input?
On the Z probe input and inputs on the expansion connector, yes. On the endstop inputs on the Duet, no.
-
@dc42 said in Klipper BL Touch Problem:
49: PA15 TIOA1 PWML3 WKUP14 HEATER7 15 HEATER7
Wouldn't this imply PA15 controls the PWM3 plug?Yes.
So since PA15 actually controls PWM5 and not PWM3 this must mean the pinout table at https://duet3d.dozuki.com/Wiki/Duet_2_Pinout_table is incorrect. Is there a place I can find a correct pinout table or am I just reading it wrong?
Thanks -
@chickenwoman PWML3 is a peripheral inside the MCU, whereas PWM5 is an output on the DueX. The PWML3 peripheral controls the PWM5 pin.
-
@chickenwoman @dc42 glad to hear that you got it figured out on the Duet2.
I did do the initial port to D3mini, and I believe there are others using it with a Bltouch.