• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Klipper BL Touch Problem

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
11
4.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Phaedrux Moderator
    last edited by 27 Jul 2021, 19:29

    Not many klipper users here. Might have better luck on the klipper discord.

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 27 Jul 2021, 21:44 Reply Quote 0
    • undefined
      dc42 administrators @chickenwoman
      last edited by 27 Jul 2021, 20:15

      @chickenwoman, I believe @Luke-sLaboratory did the initial port of Klipper to the Duet 3 Mini, so he may be able to help.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      undefined 2 Replies Last reply 27 Jul 2021, 21:54 Reply Quote 0
      • undefined
        chickenwoman @Phaedrux
        last edited by 27 Jul 2021, 21:44

        @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.

        1 Reply Last reply Reply Quote 0
        • undefined
          chickenwoman @dc42
          last edited by 27 Jul 2021, 21:54

          @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

          undefined 1 Reply Last reply 28 Jul 2021, 17:52 Reply Quote 0
          • undefined
            PaulHew
            last edited by 27 Jul 2021, 23:32

            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.

            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

            1 Reply Last reply Reply Quote 0
            • undefined
              chickenwoman @dc42
              last edited by chickenwoman 28 Jul 2021, 13:24

              @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

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by dc42 28 Jul 2021, 13:51

                @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.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                undefined 1 Reply Last reply 28 Jul 2021, 13:59 Reply Quote 0
                • undefined
                  chickenwoman @dc42
                  last edited by 28 Jul 2021, 13:59

                  @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

                  undefined 1 Reply Last reply 28 Jul 2021, 14:38 Reply Quote 0
                  • undefined
                    dc42 administrators @chickenwoman
                    last edited by dc42 28 Jul 2021, 14:38

                    @chickenwoman PWML3 is a peripheral inside the MCU, whereas PWM5 is an output on the DueX. The PWML3 peripheral controls the PWM5 pin.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Luke'sLaboratory @chickenwoman
                      last edited by 28 Jul 2021, 17:52

                      @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.

                      Luke
                      http://lukeslab.online

                      1 Reply Last reply Reply Quote 0
                      11 out of 11
                      • First post
                        11/11
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA