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

BLTouch w/ DUet 3 mini 5+ Wifi (Ender 3 Pro)

Scheduled Pinned Locked Moved
IR Height Sensor
3
36
2.0k
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
    teachmedavis747 @Gixxerfast
    last edited by 12 Jan 2022, 22:27

    @gixxerfast Yes. Z-axis moves well.

    1 Reply Last reply Reply Quote 0
    • undefined
      teachmedavis747 @Phaedrux
      last edited by 12 Jan 2022, 22:37

      @phaedrux Sure.

      On the ender 3 the x-axis endstop pin is located on the far left of the x-axis. The y-axis is located at the back of the printer next to the y-axis stepper motor. I believe I have it set at low end for both when I configured the file using the RepRap tool.

      So if I changed the direction in 569 for both the x and y-axis motors... what others changes would be needed to get it to g28 in the right direction?

      y endstop.jpg x endstop.jpg

      1 Reply Last reply Reply Quote 0
      • undefined
        Gixxerfast @teachmedavis747
        last edited by Gixxerfast 1 Dec 2022, 22:42 12 Jan 2022, 22:41

        @teachmedavis747 said in BLTouch w/ DUet 3 mini 5+ Wifi (Ender 3 Pro):

        When I enter G28 the extruder travels in the wrong direction. Instead of going towards the pin, it travels the opposite direction.

        Just do be clear can you explain what you mean here exactly?

        Your homeall.g is not correct as it moves the y in the wrong direction. You should try to go to relative -(max bed size x + some more) and -(max bed size y + some more)

        Also, I would split that so I first home x, then y and lastly z.

        In my homeall.g I just call homex.g, homey.g and homez.g instead of repeating the commands again.

        Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
        Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
        Ender 3 Pro with BTT SKR-2 + RRF

        undefined 1 Reply Last reply 12 Jan 2022, 22:52 Reply Quote 0
        • undefined
          Phaedrux Moderator @teachmedavis747
          last edited by 12 Jan 2022, 22:42

          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Sun Jan 02 2022 00:25:05 GMT-0700 (Mountain Standard Time)
          G91 ; relative positioning
          G1 H2 Z5 F6000 ; lift Z relative to current position
          G1 H1 Y240 F3000 ; move quickly to Y axis endstop and stop there (first pass)
          G1 H2 Y5 F6000 ; go back a few mm
          G1 H1 Y240 F240 ; move slowly to Y axis endstop once more (second pass)
          G1 H2 Z-5 F6000 ; lower Z again
          G90 ; absolute positioning

          The Y endstop is at the min, so all the Y homing moves in here should be negative, but all your moves are positive, so that needs to be fixed.

          @phaedrux said in BLTouch w/ DUet 3 mini 5+ Wifi (Ender 3 Pro):

          -x should move left, +x should move right
          -y should move to the front, +y should move to the back

          Can you confirm this is the case? Note that for Y, movement of the bed is relative to the print head. So even though the bed moves forward, the print head is now at the rear of the bed, and vice versa.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 12 Jan 2022, 22:50 Reply Quote 0
          • undefined
            teachmedavis747 @Phaedrux
            last edited by teachmedavis747 1 Dec 2022, 22:51 12 Jan 2022, 22:50

            @phaedrux

            confirmed. When i go to MOVE on my display if I hit +1 the x axis moves rights. However, you were correct. The y-axis was moving the wrong direction. Here's the format I think you were referencing.

            222.PNG

            So I changed the config.g 569 to match this and now all is moving in the correct direction.

            M569 P0.0 S0 ; physical drive 0.0 goes backwards
            *M569 P0.1 S1 ; physical drive 0.1 goes forwards*
            M569 P0.2 S1 ; physical drive 0.2 goes forwards
            M569 P0.3 S0 ; physical drive 0.3 goes backwards

            Edit: I also changed the homey. Is this correct?

            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 Y-240 F3000 ; move quickly to Y axis endstop and stop there (first pass)
            G1 H2 Y5 F6000 ; go back a few mm
            G1 H1 Y-240 F240 ; move slowly to Y axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning
            1 Reply Last reply Reply Quote 0
            • undefined
              teachmedavis747 @Gixxerfast
              last edited by teachmedavis747 1 Dec 2022, 22:54 12 Jan 2022, 22:52

              @gixxerfast

              Instead of the print head moving toward the endstop pin... it travels to the right.. away from the pin.

              Edit:

              Can you send me an example of what that would look like... as far as separating the x and y and z?

              undefined 2 Replies Last reply 12 Jan 2022, 22:54 Reply Quote 0
              • undefined
                Gixxerfast @teachmedavis747
                last edited by 12 Jan 2022, 22:54

                @teachmedavis747

                Yes i understand. I first assumed you were talking about the probe pin and the extruder going up/down in the wrong direction.

                Btw, also edit your homeall.g with the changes you've made in homey.g above.

                Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                Ender 3 Pro with BTT SKR-2 + RRF

                undefined 1 Reply Last reply 16 Jan 2022, 22:25 Reply Quote 0
                • undefined
                  Gixxerfast @teachmedavis747
                  last edited by Gixxerfast 1 Dec 2022, 23:01 12 Jan 2022, 22:59

                  @teachmedavis747

                  Well it doesn't matter at all with the Ender as you can reach the endstops no matter where the other axis is but only as a personal preference.

                  You can disregard that comment 🙂

                  It's something like this I guess:

                  G91 ; relative positioning
                  G1 H2 Z5 F6000 ; lift Z relative to current position
                  G1 H1 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)
                  G1 H2 X5 F6000 ; go back a few mm
                  G1 H1 X-240 F240 ; move slowly to X axis endstop once more (second pass)
                  G1 H1 Y-240 F3000 ; move quickly to Y axis endstop and stop there (first pass)
                  G1 H2 Y5 F6000 ; go back a few mm
                  G1 H1 Y-240 F240 ; move slowly to Y axis endstop once more (second pass)
                  G1 H2 Z-5 F6000 ; lower Z again
                  G90 ; absolute positioning

                  Just as an example.

                  Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                  Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                  Ender 3 Pro with BTT SKR-2 + RRF

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    teachmedavis747 @Gixxerfast
                    last edited by 16 Jan 2022, 22:25

                    @gixxerfast

                    So after much etsting I realized that the printer is not reading the homex and homey correctly. It completely skips the "H1" commands. For example:

                    G1 H1 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)

                    Therefore, it never actually homes x and y to the endstop pins. I tried to change it to H2

                    e.g. G1 H2 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)

                    and it worked, however, it does not recognize the endstop pin. I'm stuck again. Any help here is greatly appreciated as always. Thank you.

                    G91 ; relative positioning
                    G1 H2 Z5 F6000 ; lift Z relative to current position
                    G1 H1 X-240 F3000 ; move quickly to X axis endstop and stop there (first pass)
                    G1 H2 X5 F6000 ; go back a few mm
                    G1 H1 X-240 F240 ; move slowly to X axis endstop once more (second pass)
                    G1 H2 Z-5 F6000 ; lower Z again
                    G90 ; absolute positioning
                    undefined 1 Reply Last reply 16 Jan 2022, 22:33 Reply Quote 0
                    • undefined
                      Gixxerfast @teachmedavis747
                      last edited by 16 Jan 2022, 22:33

                      @teachmedavis747

                      If it doesn't try to move -240 when in relative mode (G91) with the H1 parameter I guess that the endstop is maybe already triggered.

                      Check endstop status with the M119 command and see.

                      Otherwise I'm a bit stumped...

                      Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                      Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                      Ender 3 Pro with BTT SKR-2 + RRF

                      undefined 1 Reply Last reply 16 Jan 2022, 22:47 Reply Quote 0
                      • undefined
                        teachmedavis747 @Gixxerfast
                        last edited by teachmedavis747 16 Jan 2022, 22:47

                        @gixxerfast

                        I think you are correct. Without hitting either of the stops M119 reads:

                        m119 Endstops - X: at min stop, Y: at min stop, Z: no endstop, Z probe: not stopped

                        Edit:

                        I read another discussion and found this would finally work to get the print head to move towards the end stop... but the endstop pin is still not being recognized.

                        M574 X1 S1 P"!^io5.in"
                        M574 Y1 S1 P"!^io6.in"
                        undefined 1 Reply Last reply 16 Jan 2022, 23:08 Reply Quote 0
                        • undefined
                          Gixxerfast @teachmedavis747
                          last edited by Gixxerfast 16 Jan 2022, 23:08

                          @teachmedavis747 With Duet 3 boards you don’t need to explicitly enable pullups. So try to remove the ^ but keep the inverse (!) I guess you reverted back to the H1 parameter? Also check with M119 after you made the changes. Try holding in the endstops and check with M119 again.

                          Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                          Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                          Ender 3 Pro with BTT SKR-2 + RRF

                          undefined 1 Reply Last reply 17 Jan 2022, 01:47 Reply Quote 0
                          • undefined
                            teachmedavis747 @Gixxerfast
                            last edited by 17 Jan 2022, 01:47

                            @gixxerfast

                            Yes so with or without the "^" the "!" works. But now I ran into the other issue of the end stops reading properly. I guess the next step is to check the wiring on those and see what I can do. Thanks for your help on this. Hope you had a good weekend.

                            undefined 1 Reply Last reply 18 Jan 2022, 02:41 Reply Quote 0
                            • undefined
                              Phaedrux Moderator
                              last edited by 17 Jan 2022, 02:40

                              Yes please show us how the endstops are wired at the board.

                              H2 will move the axis regardless of the endstop. Not what you want to do.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              undefined 1 Reply Last reply 18 Jan 2022, 00:02 Reply Quote 0
                              • undefined
                                teachmedavis747 @Phaedrux
                                last edited by 18 Jan 2022, 00:02

                                @phaedrux

                                Okay. Thanks. Here is a photo.

                                2022-01-17 16.47.jpg

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Phaedrux Moderator @teachmedavis747
                                  last edited by 18 Jan 2022, 02:41

                                  @teachmedavis747 said in BLTouch w/ DUet 3 mini 5+ Wifi (Ender 3 Pro):

                                  But now I ran into the other issue of the end stops reading properly.

                                  What exactly do you mean by this?

                                  Wiring looks ok,

                                  When you check the endstop status with M119 when the switches are pressed and not, what does it say?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined 1 Reply Last reply 19 Jan 2022, 03:38 Reply Quote 0
                                  • undefined
                                    teachmedavis747 @Phaedrux
                                    last edited by 19 Jan 2022, 03:38

                                    @phaedrux

                                    m119 Endstops - X: at min stop, Y: at min stop, Z: no endstop, Z probe: not stopped

                                    this is when they are not pressed

                                    undefined 1 Reply Last reply 19 Jan 2022, 06:34 Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator
                                      last edited by 19 Jan 2022, 03:39

                                      And when they are pressed? Does it change?

                                      What is your M574 now?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Gixxerfast @teachmedavis747
                                        last edited by 19 Jan 2022, 06:34

                                        @teachmedavis747 The endstops on the Ender 3 are stock wired NC so with the builtin pullup this is how my configuration looked with the mini5+

                                        ; Endstops
                                        M574 X1 S1 P"io5.in"
                                        M574 Y1 S1 P"io6.in"

                                        I think you should remove the inverse (!) but as @Phaedrux says, check with M119 when the endstop IS pressed also.

                                        Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                                        Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                                        Ender 3 Pro with BTT SKR-2 + RRF

                                        1 Reply Last reply Reply Quote 1
                                        • undefined alankilian referenced this topic 25 Jan 2022, 15:11
                                        • undefined alankilian referenced this topic 25 Jan 2022, 15:12
                                        26 out of 36
                                        • First post
                                          26/36
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA