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

    Issues getting a bltouch clone working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    8
    402
    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.
    • superpommeundefined
      superpomme
      last edited by

      Hi, please could I ask for some help with a bltouch clone. I have an official, but broken bltouch and then some 3dtouch clones (one of which I am trying to use), but I have never been able to get it working reliably. Previously I had it set up on the pin suggested here https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/ but have moved it to Heater3 pin 8 on mode 9, and am struggling.

      Deploy probe works:
      M280 P3 S10 I1

      retract probe works:
      M280 P3 S90 I1

      homez works in that it raises the bed until the bltouch triggers, but then half the time it gives the error " Error: Z probe was not triggered during probing move" even though it triggered and stopped:
      G30 ; Do a single probe to home our Z axis
      G90 ; Make sure we are in absolute mode
      G1 Z10 F6000 ; Rapidly move the Z axis to Z=10.

      trying to do the auto bed levelling just errors out with the same message.

      By now I think I have completely messed up my config files trying everything. Does anyone have an example config with working bltouch, or can advise on what I am doing wrong?

      Thank you for any help and advice you can give,
      Kind regards,

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

        Looks like RRF2 based on your deploy/retract commands?

        ; BLTouch
        M574 Z1 S2						; Use zprobe and home to Z Min.
        M307 H3 A-1 C-1 D-1					; Unbind heater 3 pins for probe use.
        M558 P9 H5 F60 T6000 			; 
        G31 X-43.2 Y31.9 Z2.33 P25				; probe XY offset and Z trigger height 
        

        Post your config and homing files. Verify your firmware version with M115.

        Then test if M401 and M402 deploy and retract the pin.
        Then test if G30 deploys the pin and test if triggering it by hand halts movement.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • superpommeundefined
          superpomme
          last edited by

          Thank you for your reply.

          My Config.g is:
          M574 z1 S2
          M307 H3 A-1 C-1 D-1
          m558 P9 H F700 T4000 X0 Y0 Z1

          ; Configuration file for Duet WiFi (firmware version 2.03)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sun Sep 29 2019 01:05:21 GMT+0100 (British Summer Time)
           
          ; General preferences
          G90                                                ; send absolute coordinates...
          M83                                                ; ...but relative extruder moves
          M550 P"My Printer"                                 ; set printer name
          
          M667 S1                                            ; select CoreXY mode
           
          ; Network
          m552 p192.168.0.108 s1
          
          M552 P192.168.0.108			; (0 = DHCP)
          M554 P192.168.0.1			; Gateway
          M553 P255.255.255.0			; Netmask
          
           
          
          M586 P0 S1                                         ; enable HTTP
          M586 P1 S1                                         ; enable FTP
          M586 P2 S0                                         ; disable Telnet
           
          ; Drives
          M569 P0 S0                                         ; physical drive 0 goes backwards
          M569 P1 S0                                         ; physical drive 1 goes backwards
          M569 P2 S0                                         ; physical drive 2 goes backwards
          M569 P3 S0                                         ; physical drive 3 goes backwards
          M569 P4 S0                                         ; physical drive 4 goes backwards
          M584 X0 Y1 Z2 E3:4                                 ; set drive mapping
          M350 X16 Y16 Z16 E16:16 I1                         ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z400.00 E95.00:420.00            ; set steps per mm
          M566 X900.00 Y900.00 Z12.00 E120.00:120.00         ; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00    ; set maximum speeds (mm/min)
          M201 X2000.00 Y2000.00 Z50.00 E250.00:250.00         ; set accelerations (mm/s^2)
          M906 X800 Y800 Z900 E900: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 X330 Y330 Z400 S0                             ; set axis maxima
          
          ; Endstops
          M574 X1 Y1  S0                                   ; set active low and disabled endstops
          M574 z1   S2 
          
          
          M307 H3 A-1 C-1 D-1
          m558 P9 H F700 T4000 X0 Y0 Z1
          G31 P25 x-8 y-15 z2 
          G31 P25 X-20 Y50.0 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment THIS NEEDS UPDATING WITH REAL LOCATION
          
          
          ; Heaters
          M305 P0 T100000 B4138 R4700                        ; set thermistor + ADC parameters for heater 0
          M143 H0 S120                                       ; set temperature limit for heater 0 to 120C
          M305 P1 T100000 B4138 R4700                            ; set thermistor + ADC parameters for heater 1
          M143 H1 S280                                       ; set temperature limit for heater 1 to 280C
          M305 P2 T100000 B4138 R4700                        ; set thermistor + ADC parameters for heater 2
          M143 H2 S280                                       ; set temperature limit for heater 2 to 280C
          ; BLTouch - Heaters
          M307 H7 A-1 C-1 D-1                                 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.
          
          
          ; Fans
          M106 P0 S0 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
          
          ; Tools
          M563 P0 S"Main extruder" D0 H1 F0                  ; define tool 0
          G10 P0 X0 Y0 Z0                                    ; set tool 0 axis offsets
          G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
          M563 P1 S"second extruder" D1 H1 F0                ; define tool 1
          G10 P1 X0 Y0 Z0                                    ; set tool 1 axis offsets
          G10 P1 R0 S0                                       ; set initial tool 1 active and standby temperatures to 0C
          
          ; Custom settings are not defined
          
          ; Miscellaneous
          M501                                               ; load saved parameters from non-volatile memory
          M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
          
          M552 S1                                            ; enable network
          
          

          My homing file is:

          
          
          G30 ; Do a single probe to home our Z axis
          G90 ; Make sure we are in absolute mode
          
          G1 Z10 F6000 ; Rapidly move the Z axis to Z=10.
          
          

          Firmware version 2.0(RTOS)
          m401 and m402 do deploy and retract the pin, and when I do a g30, it pops down the pin and goes until I stop it with my hand. If i do another g30 at that point, it will say the message about z probe not being triggered. I note that it will also sometimes spontaneously trigger when doing a g30, but not if I put the pin down and then move up and down on the z.

          Trying to do the bed levelling grid , it goes down to the first spot, triggers, but then just sits there without raising. The pin then extends again, but can't as it is already at the triggering height, and so it errors and sits there flashing until I do M280 P3 S160 I1

          Kind regards

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

            m558 P9 H F700 T4000 X0 Y0 Z1
            G31 P25 x-8 y-15 z2 
            G31 P25 X-20 Y50.0 Z0.0
            

            You're missing an H value entirely.
            Remove the X0 Y0 Z1 as it's no longer used.
            F700 is way too fast. Thankfully it's limited by your Z max speed.
            And you have duplicate G31 entries.

            I also notice you have some weird spacing here and there like double spaces. Try to avoid that.

            RRF2.0 is quite old at this point. Might be a good time to update to 2.05.1 at least.

            https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip

            You can upload that zip file as is to the system tab in DWC and it should take care of the rest.

            Here's a list of the changes since 2.0
            https://github.com/Duet3D/RepRapFirmware/blob/dev/WHATS_NEW.md

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • superpommeundefined
              superpomme
              last edited by

              Thank you for your reply again. I will give all of your suggestions a try in the morning and will post updates,
              Thanks

              1 Reply Last reply Reply Quote 0
              • xxexxundefined
                xxexx
                last edited by

                Same problem here: Duet 2 Ethernet , SW 3.1.1 and my BLTouch clone does not deploy (only self test).

                ; Z-Probe
                M558 P9 C"^zprobe.in" H5 F120 T3000 ; FW v3 BLTouch connected to Z probe IN pin
                M950 S0 C"exp.heater5" ; FW v3 create servo/gpio 0 on heater 3 pin on expansion connector
                G31 P500 X14 Y-35 Z2.7 ; Set Z probe trigger value, offset and trigger height
                M557 X35:225 Y35:225 S20 ; Define mesh grid
                M915 X Y S5 R2

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

                  @xxexx said in Issues getting a bltouch clone working:

                  Same problem here: Duet 2 Ethernet , SW 3.1.1 and my BLTouch clone does not deploy (only self test).

                  ; Z-Probe
                  M558 P9 C"^zprobe.in" H5 F120 T3000 ; FW v3 BLTouch connected to Z probe IN pin
                  M950 S0 C"exp.heater5" ; FW v3 create servo/gpio 0 on heater 3 pin on expansion connector
                  G31 P500 X14 Y-35 Z2.7 ; Set Z probe trigger value, offset and trigger height
                  M557 X35:225 Y35:225 S20 ; Define mesh grid
                  M915 X Y S5 R2

                  Not really the same problem. You're on RRF3 and he's on 2. Similar symptoms maybe. Please start a new thread for your issue.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 1
                  • superpommeundefined
                    superpomme
                    last edited by

                    Thank you for your help! Upgrading the firmware was painless as you suggested, and it looks like it was the H value that was causing the issues as you said. It would check the first one, but then instantly try to put back out the pin. Again, thank you so much, that was driving me crazy.

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