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

    Servo deployed probe on Duet Maestro

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    86
    3.7k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @Blacksheep99
      last edited by

      @Blacksheep99 said in Servo deployed probe on Duet Maestro:

      Z starts to move up

      This is ambiguous. Do you mean the probe and the bed are getting closer together?

      G31 Z15 means the nozzle is 15mm above the bed when the probe triggers? Is that correct? Yet your dive height is only 5mm M558 H5.

      Z-Bot CoreXY Build | Thingiverse Profile

      Blacksheep99undefined 1 Reply Last reply Reply Quote 0
      • Blacksheep99undefined
        Blacksheep99 @Phaedrux
        last edited by

        @Phaedrux said in Servo deployed probe on Duet Maestro:

        @Blacksheep99 said in Servo deployed probe on Duet Maestro:

        Z starts to move up

        This is ambiguous. Do you mean the probe and the bed are getting closer together?

        G31 Z15 means the nozzle is 15mm above the bed when the probe triggers? Is that correct? Yet your dive height is only 5mm M558 H5.

        Sorry, I'll try be more clear. The bed starts to move up towards the nozzle which is on a fixed XY. The probe deploys immediately.

        No the nozzle is close to the max 150mm build height. I've clearly misunderstood that part of the code.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Now that you have it working give this a shot

          https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

          Your dive height should be slightly higher than your trigger height.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Blacksheep99undefined
            Blacksheep99 @Veti
            last edited by

            @Veti said in Servo deployed probe on Duet Maestro:

            i am using this

            https://www.thingiverse.com/thing:3303618

            and it works on the maestro.

            all the connections are going to the z probe header.

            gnd is combined and 5v is combined in this case.

            So I've ditched my old probe and made one of these today. I've connected it up and it seems to be working as it should. I just can't get my head around what I need to get this to work with my printer. By that I mean bring the bed up, probe deploy and then bed probed.

            I'd appreciate some guidance, just to help my understanding.

            Vetiundefined 1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti @Blacksheep99
              last edited by

              @Blacksheep99

              its pretty close to bltouch. just select P8 instead of p9.

              same retract and deploy scripts (might have to adjust the angles slightly)
              although you need to add a M401 if you want to deploy it before and M402 when you want to retract.

              example homeall

              ; homeall.g
              ; called to home all axes
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.0 on Fri Jan 01 2021 18:39:48 GMT+0100 (Central European Standard Time)
              G91                     ; relative positioning
              G1 H2 Z5 F6000          ; lift Z relative to current position
              G1 H1 X-240 Y-240 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
              G1 H2 X5 Y5 F6000       ; go back a few mm
              G1 H1 X-240 Y-240 F240  ; move slowly to X and Y axis endstops once more (second pass)
              G90                     ; absolute positioning
              G1 X10 Y10 F6000        ; go to first bed probe point and home Z
              M401
              G30                     ; home Z by probing the bed
              M402
              
              ; Uncomment the following lines to lift Z after probing
              ;G91                    ; relative positioning
              ;G1 Z5 F100             ; lift Z relative to current position
              ;G90                    ; absolute positioning
              
              
              
              
              Blacksheep99undefined 2 Replies Last reply Reply Quote 0
              • Blacksheep99undefined
                Blacksheep99 @Veti
                last edited by

                @Veti Thanks, I'll give this a try when I finish work. What about my config.g file? or does this replace what's currently in there?

                1 Reply Last reply Reply Quote 0
                • Blacksheep99undefined
                  Blacksheep99 @Veti
                  last edited by

                  @Veti said in Servo deployed probe on Duet Maestro:

                  @Blacksheep99

                  its pretty close to bltouch. just select P8 instead of p9.

                  same retract and deploy scripts (might have to adjust the angles slightly)
                  although you need to add a M401 if you want to deploy it before and M402 when you want to retract.

                  example homeall

                  ; homeall.g
                  ; called to home all axes
                  ;
                  ; generated by RepRapFirmware Configuration Tool v3.2.0 on Fri Jan 01 2021 18:39:48 GMT+0100 (Central European Standard Time)
                  G91                     ; relative positioning
                  G1 H2 Z5 F6000          ; lift Z relative to current position
                  G1 H1 X-240 Y-240 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                  G1 H2 X5 Y5 F6000       ; go back a few mm
                  G1 H1 X-240 Y-240 F240  ; move slowly to X and Y axis endstops once more (second pass)
                  G90                     ; absolute positioning
                  G1 X10 Y10 F6000        ; go to first bed probe point and home Z
                  M401
                  G30                     ; home Z by probing the bed
                  M402
                  
                  ; Uncomment the following lines to lift Z after probing
                  ;G91                    ; relative positioning
                  ;G1 Z5 F100             ; lift Z relative to current position
                  ;G90                    ; absolute positioning
                  
                  
                  
                  

                  So taking your example I modified my home all to try this. I changed the X and X to my bed size. Sending just the M401 command deploys the probe fine, the M402 retracts it.

                  This is my config.g code.

                  M574 Z1 S1 ; Set endstops controlled by probe
                  M950 S0 C"^zprobe.mod" ; create servo pin 0 for BLTouch
                  M558 P8 C"^!zprobe.in" H2 F900 T6000 ; Set Z probe type to switch and the dive height + speeds
                  G31 P50 X50 Y-8 Z2.43 ; Set Z probe trigger value, offset and trigger height
                  
                  

                  When I home all the head moves out as expected, the bed starts to raise, probe deploys and the immediately retracts and the z stops.

                  My probe in the dashboard shows 0 when retracted and 1000 when deployed. Is the inverted pin causing an issue?

                  Phaedruxundefined dc42undefined Vetiundefined 3 Replies Last reply Reply Quote 0
                  • Blacksheep99undefined
                    Blacksheep99
                    last edited by

                    This is the bed and head setup. Excuse the chaos behind it!

                    IMG_7361.jpg

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator @Blacksheep99
                      last edited by

                      @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                      Is the inverted pin causing an issue?

                      Could be. Your description makes it sound like it assumes that it's triggered as soon as it deploys? Correct?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @Blacksheep99
                        last edited by dc42

                        @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                        My probe in the dashboard shows 0 when retracted and 1000 when deployed. Is the inverted pin causing an issue?

                        What happens if you don't invert the pin? Does probing work then?

                        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
                        • Vetiundefined
                          Veti @Blacksheep99
                          last edited by

                          @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                          My probe in the dashboard shows 0 when retracted and 1000 when deployed. Is the inverted pin causing an issue?

                          yes it needs to be inverted

                          change to C"^zprobe.in"

                          Blacksheep99undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                          • Blacksheep99undefined
                            Blacksheep99 @Veti
                            last edited by

                            @Veti said in Servo deployed probe on Duet Maestro:

                            @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                            My probe in the dashboard shows 0 when retracted and 1000 when deployed. Is the inverted pin causing an issue?

                            yes it needs to be inverted

                            change to C"^zprobe.in"

                            Ok, I've changed this. The probe itself is off the bed. Do I need to add a move command for X and Y to move the head over the bed?

                            I current have the mesh compensation commented out in the config.g not sure if that should be active?

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Blacksheep99undefined
                              Blacksheep99
                              last edited by

                              Probe now shows 1000 when retracted.

                              To test the probe is working I moved X and Y over the bed and tried to run G30. It doesn't run as it says probe is already deployed.

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @Blacksheep99
                                last edited by

                                @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                                Do I need to add a move command for X and Y to move the head over the bed?

                                yes.

                                @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                                I current have the mesh compensation commented out in the config.g not sure if that should be active?

                                what exactly do you have commented out?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Blacksheep99undefined 1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @Blacksheep99
                                  last edited by

                                  @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                                  it says probe is already deployed.

                                  In your homing files you may want to add a M401 at the start to ensure that the probe is retracted and so that the firmware is aware it's retracted.

                                  Then try again.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Blacksheep99undefined 1 Reply Last reply Reply Quote 0
                                  • Blacksheep99undefined
                                    Blacksheep99 @Phaedrux
                                    last edited by

                                    @Phaedrux said in Servo deployed probe on Duet Maestro:

                                    what exactly do you have commented out?

                                    ;M557 X15:265 Y15:135 S20                        ; define mesh grid
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      Yes you should uncomment that line out. It tells the firmware where to probe when doing a G29.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Blacksheep99undefined 1 Reply Last reply Reply Quote 0
                                      • Blacksheep99undefined
                                        Blacksheep99 @Phaedrux
                                        last edited by

                                        @Phaedrux said in Servo deployed probe on Duet Maestro:

                                        @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                                        it says probe is already deployed.

                                        In your homing files you may want to add a M401 at the start to ensure that the probe is retracted and so that the firmware is aware it's retracted.

                                        Then try again.

                                        Do you mean M402?

                                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                        • Blacksheep99undefined
                                          Blacksheep99 @Phaedrux
                                          last edited by

                                          @Phaedrux Thanks. Will do

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator @Blacksheep99
                                            last edited by

                                            @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                                            Do you mean M402?

                                            Yes, sorry. Retract the probe.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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