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

    BL Touch Installation what is Servo Pin?

    Scheduled Pinned Locked Moved
    General Discussion
    4
    80
    4.9k
    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.
    • SignPostManundefined
      SignPostMan
      last edited by

      What does the Servo Pin Do? In the configuration tool its called the PWM Control Channel. What does it do and do I need to connect anything to it?
      My printer will home X&Y and currently on Z I have a microswitch attached to the 43.io1
      I cannot make the BL Touch active

      795b7b4f-3365-4fe7-b32b-227cdabde63f-image.png

      SignPostManundefined 1 Reply Last reply Reply Quote 0
      • SignPostManundefined
        SignPostMan @SignPostMan
        last edited by

        @signpostman I currently have the BL Touch connected to the io5

        fcwiltundefined 1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @SignPostMan
          last edited by

          @signpostman

          Well the BLTouch has a set of 3 wires and a set of 2 wires.

          Aside from Power and Ground going to the BLTouch there is an Output which needs a Duet Input and an Input which needs the servo output.

          The servo output is what sends the commands to the BLTouch to deploy, retract, reset, etc.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

            If you're going to use io5 for the bltouch, connect the servo wire to the io5.out pin.

            duet3bltouch.png

            https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+3+Mini+5++Guide+Part+1:+Wiring/87#s336

            Z-Bot CoreXY Build | Thingiverse Profile

            SignPostManundefined 1 Reply Last reply Reply Quote 1
            • SignPostManundefined
              SignPostMan @Phaedrux
              last edited by

              @phaedrux I think I have the wiring right but it is not activating, I think because of the Code. I am not sure how I should have the called out the BL Touch.
              96cccf99-1de2-4e85-b3e5-9cae0d7f6d1e-image.png

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

                Remove the ^ from io5.out and io5.in

                ; Z-Probe
                M950 S0 C"io5.out"                           ; create servo pin 0 for BLTouch
                M558 P9 C"io5.in" H5 F120 T6000             ; set Z probe type to bltouch and the dive height + speeds
                

                You will also need deployprobe.g and retractprobe.g files in your system folder.

                ; deployprobe.g
                ; called to deploy a physical Z probe
                ;
                ; generated by RepRapFirmware Configuration Tool v3.3.1 on Wed Aug 25 2021 14:29:48 GMT-0600 (Central Standard Time)
                M280 P0 S10 ; deploy BLTouch
                
                ; retractprobe.g
                ; called to retract a physical Z probe
                ;
                ; generated by RepRapFirmware Configuration Tool v3.3.1 on Wed Aug 25 2021 14:30:02 GMT-0600 (Central Standard Time)
                M280 P0 S90 ; retract BLTouch
                

                Then you can test the pin movement with M401 and M402

                Z-Bot CoreXY Build | Thingiverse Profile

                SignPostManundefined 1 Reply Last reply Reply Quote 0
                • SignPostManundefined
                  SignPostMan @Phaedrux
                  last edited by

                  @phaedrux Made the fixes to the code and added the retract and deploy. 9cc36b87-dc28-415f-bf36-f01044e9a46d-image.png
                  I can delpoy and retract the probe manually but cannot get it to active upon Home All. The switch I have on the Z axis still works though

                  SignPostManundefined engikeneerundefined 2 Replies Last reply Reply Quote 0
                  • SignPostManundefined
                    SignPostMan @SignPostMan
                    last edited by

                    @signpostman I am getting this error
                    dfc464f4-475e-4049-9f69-6c3531adcf62-image.png

                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                    • engikeneerundefined
                      engikeneer @SignPostMan
                      last edited by

                      @signpostman you will need to change your homing files to use a G30 probe command instead of the G1 H1 moves.

                      You can post your homing files here (copy paste the text and use the </> code snippet button when you post) and someone can help you change them.
                      Alternatively you could just create a new set of homing files that use the BLtouch using the RRF config generator tool.

                      You might also find some of the guide useful from the dozuki:
                      https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
                      https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation (when you're ready to set up mesh comp)

                      E3D TC with D3Mini and Toolboards.
                      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                      i3 clone with a bunch of mods

                      SignPostManundefined 1 Reply Last reply Reply Quote 1
                      • SignPostManundefined
                        SignPostMan @engikeneer
                        last edited by

                        @engikeneer I created new file in the configuration tool but it didn't use the G30.
                        Could someone show me the changes needed?

                        ; homeall.g
                        ; called to home all axes
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.3.0 on Sat Aug 21 2021 12:06:10 GMT-0400 (Eastern Daylight Time)
                        G91                       ; relative positioning
                        G1 H2 Z30 F6000           ; lift Z relative to current position
                        G1 H1 X-2305 Y-1305 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-2305 Y-1305 F180  ; move slowly to X and Y axis endstops once more (second pass)
                        
                        G1 X250 Y650 F3000 ;move probe to centre of bed
                        G1 H1 Z-309 F360          ; move Z down stopping at the endstop (first pass)
                        G1 H2 Z5 F6000            ; go back a few mm
                        G1 H1 Z-20Y F180 		  ; move slowly to Z axis endstops once more (second pass)
                        
                        G90                       ; absolute positioning
                        G92 Z0                    ; set Z position to axis minimum (you may want to adjust this)
                        
                        ; Uncomment the following lines to lift Z after probing
                        G91                      ; relative positioning
                        G1 Z20 F1800              ; lift Z relative to current position
                        G90                      ; absolute positioning
                        
                        
                        
                        
                        engikeneerundefined 1 Reply Last reply Reply Quote 0
                        • engikeneerundefined
                          engikeneer @SignPostMan
                          last edited by

                          @signpostman

                          This should do. Note that you'll also need to change your homez.g to match.

                          Also, if you still have your z endstop installed at the low end, be careful that you aren't going to crash into it when probing

                          ; homeall.g
                          ; called to home all axes
                          ;
                          ; generated by RepRapFirmware Configuration Tool v3.3.0 on Sat Aug 21 2021 12:06:10 GMT-0400 (Eastern Daylight Time)
                          
                          G91 ; relative positioning
                          G1 H2 Z30 F6000 ; lift Z relative to current position
                          G1 H1 X-2305 Y-1305 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-2305 Y-1305 F180 ; move slowly to X and Y axis endstops once more (second pass)
                          
                          G90 ; absolute positioning
                          G1 X250 Y650 F3000 ;move probe to centre of bed
                          
                          G30 ; probe bed
                          
                          ; Uncomment the following lines to lift Z after probing
                          
                          G91 ; relative positioning
                          G1 Z20 F1800 ; lift Z relative to current position
                          G90 ; absolute positioning
                          
                          
                          

                          E3D TC with D3Mini and Toolboards.
                          Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                          i3 clone with a bunch of mods

                          SignPostManundefined 1 Reply Last reply Reply Quote 1
                          • Phaedruxundefined
                            Phaedrux Moderator @SignPostMan
                            last edited by

                            @signpostman said in BL Touch Installation what is Servo Pin?:

                            @signpostman I am getting this error
                            dfc464f4-475e-4049-9f69-6c3531adcf62-image.png

                            Are you using external drivers?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • SignPostManundefined
                              SignPostMan @engikeneer
                              last edited by

                              @engikeneer I think that got it! Thanks!
                              Is there a use for the existing endstop on my Z axis? as a max height?

                              fcwiltundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt @SignPostMan
                                last edited by

                                @signpostman said in BL Touch Installation what is Servo Pin?:

                                @engikeneer I think that got it! Thanks!
                                Is there a use for the existing endstop on my Z axis? as a max height?

                                I have a Z endstop at Z=0 (Z min) on all of my printers (as well a a Z probe).

                                It makes for simpler and quicker homing code.

                                For example to home with a Z probe you first have to home X and Y. To do that safely requires a bit of Z movement when homing X and Y.

                                With a Z endstop you can home Z first and then X and Y.

                                Frederick

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                                  @signpostman said in BL Touch Installation what is Servo Pin?:

                                  Is there a use for the existing endstop on my Z axis? as a max height?

                                  Yes, you can move it to the Zmax position and use it in cases of power loss recovery where you need to home the z axis but can't use the probe because there is still a print on the bed. You need to set the Z max travel distance exactly using the probe to determine Z0 first in order to get it to be the right height to match the print position.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  SignPostManundefined 1 Reply Last reply Reply Quote 1
                                  • SignPostManundefined
                                    SignPostMan
                                    last edited by

                                    It seems I still have a issue with the BL Touch. it does deploy and retract, but the Z axis keep descending without stopping after BL Touch triggered, the BL Touch keeps resetting but not stopping Z Descent.

                                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                                    • SignPostManundefined
                                      SignPostMan @Phaedrux
                                      last edited by

                                      @phaedrux I think I will do that

                                      1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @SignPostMan
                                        last edited by

                                        @signpostman said in BL Touch Installation what is Servo Pin?:

                                        It seems I still have a issue with the BL Touch. it does deploy and retract, but the Z axis keep descending without stopping after BL Touch triggered, the BL Touch keeps resetting but not stopping Z Descent.

                                        Please copy-and-paste, using the </> tag, your current homeall.g file and and homez.g file.

                                        Thanks.

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        SignPostManundefined 1 Reply Last reply Reply Quote 0
                                        • SignPostManundefined
                                          SignPostMan @fcwilt
                                          last edited by

                                          @fcwilt ```
                                          ; homeall.g
                                          ; called to home all axes
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.3.0 on Sat Aug 21 2021 12:06:10 GMT-0400 (Eastern Daylight Time)

                                          G91 ; relative positioning
                                          G1 H2 Z30 F6000 ; lift Z relative to current position
                                          G1 H1 X-2305 Y-1305 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-2305 Y-1305 F180 ; move slowly to X and Y axis endstops once more (second pass)

                                          G90 ; absolute positioning
                                          G1 X250 Y650 F3000 ;move probe to centre of bed

                                          G30 ; probe bed

                                          ; Uncomment the following lines to lift Z after probing

                                          G91 ; relative positioning
                                          G1 Z20 F1800 ; lift Z relative to current position
                                          G90 ; absolute positioning

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt @SignPostMan
                                            last edited by

                                            @signpostman

                                            Thanks.

                                            And you say M401 and M402 work?

                                            That would suggest that the signal from the BLTouch is not getting to the firmware.

                                            Things to check:

                                            • wiring
                                            • BLTouch configuration commands (M950, M558 and G31)

                                            Frederick

                                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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