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

    I can't get the Bltouch working

    Scheduled Pinned Locked Moved
    IR Height Sensor
    6
    73
    10.4k
    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.
    • Saltypetzundefined
      Saltypetz
      last edited by

      Everything is homing but it says the bltouch is triggered and the blue led is not on.
      Here is my config file. Everything is working heated bed extruders x and y just the zprobe is a problem.

      Thank you for the help

      ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri May 04 2018 09:52:39 GMT-0400 (Eastern Daylight Time)

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Network
      M550 TEVO BLACK WIDOW ; Set machine name
      M552 S1 ; Enable network
      ;*** Access point is configured manually via M587
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S0 ; Drive 1 goes forwards
      M569 P2 S0 ; Drive 2 goes backwards
      M569 P3 S1 ; Drive 3 goes forwards
      M569 P4 S1 ; Drive 4 goes forwards
      M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
      M92 X80 Y80 Z4000 E420:420 ; Set steps per mm
      M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
      M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X580 Y250 Z400 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 S1 ; Set active high endstops

      ; Z-Probe

      M307 H3 A-1 C-1 D-1 ; BLTouch
      M558 P9 X0 Y0 Z1 H5 F100 T2000 ; BLTouch used by Z axis, dive height 5mm, mode 9
      G31 X0 Y0 Z1.53 P50 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment

      ; Heaters
      M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M305 P1 X150 T"K" ; Set thermistor + ADC parameters for heater 0
      M143 H1 S370 ; Set temperature limit for heater 1 to 370C
      M305 P2 X151 T"K" ; Set thermistor + ADC parameters for heater 1
      M143 H2 S370 ; Set temperature limit for heater 2 to 370C

      ; Fans
      M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1:2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

      ; Tools
      M563 P0 D0 H1 ; Define tool 0
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P1 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
      M563 P1 D1 H2 ; Define tool 1
      G10 P2 X0 Y0 Z0 ; Set tool 1 axis offsets
      G10 P2 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

      ; Automatic saving after power loss is not enabled

      ; Custom settings are not configured

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

        Does it respond at all if you send it servo commands?

        Double check your wiring.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Saltypetzundefined
          Saltypetz
          last edited by Saltypetz

          I just check all the wires. I follow this diagram. When I turn on the printer the pin goes in and out. I am using the wifi board I hope this is the right diagram.
          Also here is my deployprobe.g file.
          alt text

          Thank you for the help

          ; deployprobe.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool on Fri May 04 2018 09:52:39 GMT-0400 (Eastern Daylight Time)

          ;M564 S0 ; don't apply limits
          ;G1 X25 Y93 Z40 F10000 ; put probe arm next to belt
          ;G1 X-5 F500 ; move probe arm across belt
          ;G1 X12 F1000 ; move probe back
          ;G1 X0 Y0 F10000 ; move to somewhere sensible
          ;M564 S1 ; apply limits again

          M280 P8 S99 T1

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

            I don't think that's the right servo command for deploy.

            see here: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch

            Here's what I use

            ; Probe deployment routine for BLTouch-Smart on DBot
            ;
            M280 P3 S10 I1		; Set servo position to deploy
            
            ; Probe retraction routine for BLTouch-Smart on DBot
            ;
            M280 P3 S90 I1
            

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Saltypetzundefined
              Saltypetz
              last edited by Saltypetz

              That worked now I have to change the z motor it going the wrong way.
              the blue led is on now.

              Thank you

              1 Reply Last reply Reply Quote 0
              • Saltypetzundefined
                Saltypetz
                last edited by

                Something is still not right the machine status Z-Probe is reading 1000

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

                  The probe status doesn't change visibly in the interface. It only flashes as it triggers and then goes back. You'll have to do a manual test to see if it stops the bed from moving during a G30. Raise the print head away from the bed and issue a G30 and the probe should deploy. Touch the pin with your hand to trigger it and the movement should stop. If it doesn't, turn the power off.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • Saltypetzundefined
                    Saltypetz
                    last edited by

                    When I do the G30 I get this error. I am new to the Duet Wifi Board it is pretty hard to setup for the first time.

                    Error: G30: Insufficient axes homed for bed probing

                    Thank you for your help

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

                      You'll need to home x and y first.

                      Then you can move the head into the position you want to probe.

                      I recommend reading through these guides.

                      https://duet3d.dozuki.com/c/Getting_Started

                      The Duet is a bit different than other boards and firmware, but it's also a lot more powerful and flexible.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Saltypetzundefined
                        Saltypetz
                        last edited by

                        Done - Move the nozzle until it is at a good Z=0 height (for example a height that will touch but not pin a piece of paper against the bed).
                        Done - Set this height as Z=0 with G92 Z0
                        Done -Move the print head up perhaps a centimeter

                        When I do this I get this error - Run a single probe without updating the printer's coordinates: G30 S-1

                        G30 S-1

                        Error: Z probe already triggered at start of probing move

                        Thank you so much for the help you are great help.

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

                          @saltypetz said in I can't get the Bltouch working:

                          When I do this I get this error - Run a single probe without updating the printer's coordinates: G30 S-1

                          G30 S-1

                          Error: Z probe already triggered at start of probing move

                          Does the probe deploy when you run that command?

                          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
                          • Saltypetzundefined
                            Saltypetz
                            last edited by Saltypetz

                            No It does comes on. Now everything is good but the BLTouch
                            But if I do this it come down and the blue light comes on.
                            M280 P3 S10 I1
                            If I lightly touch the BLTouch it goes up red led on and then comes down and the blue led comes on.

                            When I put this in all the pin does is goes in and out without stopping and blue led is on.
                            M280 P3 S120 I1

                            G30 S-1

                            Error: Z probe already triggered at start of probing move

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

                              Which firmware version are you using? Have you set up your deployprobe.g and retractprobe.g files as described on the wiki page?

                              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
                              • Saltypetzundefined
                                Saltypetz
                                last edited by Saltypetz

                                Here is the firmware I am running.

                                Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
                                Firmware Electronics: Duet WiFi 1.02 or later
                                Firmware Version: 1.21RC3 (2018-02-28 build 4)
                                WiFi Server Version: 1.21RC4(08b3)
                                Web Interface Version: 1.21-RC4

                                Editing 0:/sys/deployprobe.g
                                ; Probe deployment routine for BLTouchon on Tevo Black Widow
                                M280 P3 S10 I1

                                Editing 0:/sys/retractprobe.g
                                ; Probe retraction routine for BLTouchon on Tevo Black Widow
                                M280 P3 S10 I1

                                Also on duet Wifi Page where it say Z- Probe it says 1000. The BLTouch is wired with the Duet Wifi diagram.

                                I know I am so close It is driving me crazy. I have been working on this for 2 weeks.

                                Thank you,

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

                                  @saltypetz your deploy and retract commands are the same.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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

                                    As @Phaedrux says, also please use the 1.21 release firmware not the release candidate.

                                    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
                                    • Saltypetzundefined
                                      Saltypetz
                                      last edited by

                                      I did everything you said rolled the firmware back to 1.20
                                      and then all this.
                                      Commissioning & Testing
                                      To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:

                                      M280 P3 S10 I1

                                      Then put the Sensor in to test mode by inputting the following command:

                                      M280 P3 S120 I1

                                      If all is well the web interface should report a value of ” 0” in the Z probe column when the pin is extended. You can then lightly touch the extended probe pin to check that the pin retracts, the value in the Z probe Column should change to “1000”

                                      If all is good It is at this point that you can deploy the probe using the M280 P3 S10 I1 command and slowly lower the nozzle to the bed and find out your own Z trigger height, when the probe touches the bed and the pin retracts you can take a reading of the Z height and use that to input into the G31 command in the config.g file

                                      When the pin hit the bed it flashes red and the z says 3.60 but where is says Z-Probe is says 1000.
                                      is everything done know and ready to print.

                                      Thank you everyone for the help this board is real hard. Thank you

                                      1 Reply Last reply Reply Quote 0
                                      • Saltypetzundefined
                                        Saltypetz
                                        last edited by Saltypetz

                                        Now if i tell it all home it homes x and y and centers in bed then the BLTouch goes up and down continuously without stopping.blue and red led on.

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

                                          It sounds like you have the servo command to do a self test in your deploy macro instead of the command to deploy.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • Saltypetzundefined
                                            Saltypetz
                                            last edited by Saltypetz

                                            I hate to sound really dumb but now you lost me. I did all home x and y homed no problem and the Z runs into the bed.
                                            Can you give me a little more information than that I am lost and I am only 2 weeks in trying to get it to work.
                                            I am a newbie with the Duet Wifi but I love it already. I cant wait to get it going.

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