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

    Installing BLTouch clone

    Scheduled Pinned Locked Moved
    General Discussion
    3
    11
    406
    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.
    • SerFabio89undefined
      SerFabio89
      last edited by

      Good evening everyone! I installed a Duet Wifi into my Davinci Pro 1.0. I also attached a BLTouch clone (latest version of TriangleLab's 3DTouch) but I'm not able to configure it properly. It retracts, and acts as it should be every time i run the mesh grid compensation I receive "Warning: the height map has a substantial Z offset. Suggest use Z-probe to establish Z=0 datum, then re-probe the mesh." Moreover the "show mesh grid heightmap" return an empty map.

      Any suggestions?

      Regards,
      Fabio

      1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal
        last edited by

        Are you running firmware V3 or V2?

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • SerFabio89undefined
          SerFabio89
          last edited by

          Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
          Firmware Electronics: Duet WiFi 1.02 or later
          Firmware Version: 2.05.1 (2020-02-09b1)
          WiFi Server Version: 1.21
          Web Interface Version: 1.22.6

          I have a custom machine as I wrote before. I'm trying to understand how the BLTouch works, in order to obtain an automatic bed calibration before each print. I have all optical min endstops (X, Y, Z) installed (and working) plus the BLTouch. I need a guide to mount it I think. For example, at which offset the tip of the BLTouch should be wrt the nozzle? Should I disable the z min endstop?

          Bests,
          Fabio

          PaulHewundefined 1 Reply Last reply Reply Quote 0
          • PaulHewundefined
            PaulHew @SerFabio89
            last edited by

            @SerFabio89 The BL Touch in your case a clone, replaces the Z stop switch.
            Please post your config.g
            If you have 'Independent' motors on your Z axis, I think you can use bed levelling.
            Because your bed is tilted slightly you are receiving the warning about the Z offset.
            If you only have 1 Z motor you will need to manually level the bed.

            Some helpful guides, just incase you have not found them previously
            https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe
            https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

            HTH

            Paul

            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

            1 Reply Last reply Reply Quote 0
            • SerFabio89undefined
              SerFabio89
              last edited by

              This is config.g:
              ; Configuration file for Duet WiFi (firmware version 2.03)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 27 2020 22:15:04 GMT+0100 (Central European Standard Time)

              ; General preferences
              G90 ; send absolute coordinates...
              M83 ; ...but relative extruder moves
              M550 P"Phoenix3D" ; set printer name

              ; Network
              M552 S1 ; enable network
              M586 P0 S1 ; enable HTTP
              M586 P1 S1 ; enable FTP
              M586 P2 S1 ; enable Telnet

              ; Drives
              M569 P0 S0 ; physical drive 0 goes backwards
              M569 P1 S0 ; physical drive 1 goes backwards
              M569 P2 S1 ; physical drive 2 goes forward
              M569 P3 S1 ; physical drive 3 goes forward
              M584 X0 Y1 Z2 E3 ; set drive mapping
              M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
              M92 X80.00 Y80.00 Z2552.00 E100.00 ; set steps per mm
              ;M566 X900.00 Y900.00 Z12.00 E500.00 ; set maximum instantaneous speed changes (mm/min)
              M566 X1000.00 Y1000.00 Z25.00 E500.00 ; set maximum instantaneous speed changes (mm/min)
              M203 X9000.00 Y9000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
              ;M201 X500.00 Y500.00 Z25.00 E250.00 ; set accelerations (mm/s^2)
              M201 X1000.00 Y1000.00 Z25.00 E500.00 ; set accelerations (mm/s^2)
              M906 X1000 Y1000 Z1000 E1200 I15 ; set motor currents (mA) and motor idle factor in per cent
              M84 S30 ; Set idle timeout

              ; Silent drives
              M569 F1 P3
              M569 F2 P2
              M569 F2 P1
              M569 F2 P0
              M569 B2 P0
              M569 B2 P1
              M569 B2 P2
              M569 B2 P3

              ; Axis Limits
              M208 X0 Y0 Z0 S1 ; set axis minima
              M208 X240 Y240 Z200 S0 ; set axis maxima

              ; Endstops
              M574 X1 Y1 S1 ; set active low and enabled endstops
              M574 Z1 S2 ; set endstops controlled by probe

              ; Z-Probe
              M307 H3 A-1 C-1 D-1 ; disable heater 3 - used for probe
              M558 P9 H2.5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
              G31 P500 X35 Y15 Z2.52 ; set Z probe trigger value, offset and trigger height
              M557 X40:200 Y40:200 S80 ; define mesh grid

              ; Heaters
              M305 P0 T100000 B4450 C0 R4700 ; set thermistor and ADC parameters for heatbed
              M143 H0 S120 ; set temperature limit for heater 0 to 120C
              M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
              M143 H1 S280 ; set temperature limit for heater 1 to 280C

              ; 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 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

              ; Tools
              M563 P0 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

              ; Custom settings
              M307 H4 A-1 C-1 D-1 ; disable heater 4 to repurpose gpio - ligths

              This is homeall.g:
              ; homeall.g
              ; called to home all axes
              ;
              ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 27 2020 22:15:04 GMT+0100 (Central European Standard Time)
              G91 ; relative positioning
              G1 H2 Z5 F6000 ; lift Z relative to current position
              G1 H1 X-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
              G1 H1 Y-225 F1800 ; 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-225 Y-225 F360 ; move slowly to X and Y axis endstops once more (second pass)
              G1 H1 Z-225 F360 ; move Z down stopping at the endstop
              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 Z5 F100 ; lift Z relative to current position
              ;G90 ; absolute positioning

              With this configuration i cannot home all axis without an head crash. Now I'm trying to understand how to modify homeall.g in order to have an accurate calibration before the print starts.

              Later, how to force the print to run a mesh leveling and apply the mesh before each print?

              Regards,
              Fabio

              PaulHewundefined 1 Reply Last reply Reply Quote 0
              • PaulHewundefined
                PaulHew @SerFabio89
                last edited by

                @SerFabio89 said in Installing BLTouch clone:

                ; Endstops
                M574 X1 Y1 S1 ; set active low and enabled endstops
                M574 Z1 S2 ; set endstops controlled by probe

                Try changing you M574 to 1 line with this
                ; Endstops
                M574 X1 Y1 Z0 S1 ; Set active high endstops

                Do you have 2 motors on your Z axis or 1?

                Regards,

                Paul

                RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                1 Reply Last reply Reply Quote 0
                • SerFabio89undefined
                  SerFabio89
                  last edited by

                  I have a single motor on the Z axis. Anyway I manage it to work. But would be nice if you @PaulHew can double check it. The config.g remained the same. Instead I changed homeall.g as the following:

                  G91 ; relative positioning
                  G1 H2 Z5 F6000 ; lift Z relative to current position
                  G1 H1 X-1000 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                  G1 H1 Y-1000 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-1000 Y-1000 F360 ; move slowly to X and Y axis endstops once more (second pass)
                  ;G1 H1 Z-1000 F6000 ; move Z down stopping at the endstop

                  M280 P3 S160 I1 ; Alarm Release and Push-Pin UP
                  G30 ; probe current position to reach the endstop
                  G90 ; absolute positioning

                  G1 H1 X20 F3000 ; compensate for gap between nozzle X and Y and real position in the printer
                  G92 X0 Y0 Z5.02 ; set Z position to axis minimum (you may want to adjust this) - it includes the G30 dive height and the height difference between bltouch trigger and nozzle

                  Now the home all command (G28) correctly positions the nozzle at the origin but remains lifted 5.02mm (that is the distance between the trigger point of the bltouch and the tipo of nozzle). I also took into account the x offset of the nozzle.

                  Is this the correct approach to setup the printer?
                  If i change:

                  G1 H1 X20 F3000
                  G92 X0 Y0 Z5.02

                  with only
                  G92 X-20 Y0 Z5.02

                  will it work? does it accept negative values?

                  Bests,
                  Fabio

                  1 Reply Last reply Reply Quote 0
                  • PaulHewundefined
                    PaulHew
                    last edited by

                    Fabio,

                    New homeall.g

                    G91 ; relative positioning
                    G1 H2 Z5 F6000 ; lift Z relative to current position
                    G1 H1 X-1000 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                    G1 H1 Y-1000 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-1000 Y-1000 F360 ; move slowly to X and Y axis endstops once more (second pass)
                    ;Z Probe Homing
                    G90                     ; absolute positioning
                    G1 X140 Y140 F6000        ; go to first bed probe point and home Z
                    G30                     ; home Z by probing the bed
                    
                    

                    Please post your deployprobe and retract.

                    Regards,

                    Paul.

                    RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                    Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                    1 Reply Last reply Reply Quote 0
                    • SerFabio89undefined
                      SerFabio89
                      last edited by

                      deployprobe: M280 P3 S10 I1
                      retractprobe: M280 P3 S90 I1

                      the homeall.g that you have posted is yours? i tried but it does not take into account the offset on z I think. I try

                      1 Reply Last reply Reply Quote 0
                      • SerFabio89undefined
                        SerFabio89
                        last edited by

                        The latest revision of my homeall.g is:

                        ; homeall.g
                        ; called to home all axes
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 27 2020 22:15:04 GMT+0100 (Central European Standard Time)
                        G91 ; relative positioning
                        G1 H2 Z5 F6000 ; lift Z relative to current position
                        G1 H1 X-1000 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                        G1 H1 Y-1000 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-1000 Y-1000 F360 ; move slowly to X and Y axis endstops once more (second pass)
                        ;G1 H1 Z-1000 F6000 ; move Z down stopping at the endstop

                        G1 X20 Y0 F3000 ; move the nozzle to be in real 0,0,Z position
                        G92 X0 Y0 ; compensate for gap between nozzle X and Y and real position in the printer

                        ;Z Probe Homing
                        M280 P3 S160 I1 ; Alarm Release and Push-Pin UP
                        G90 ; absolute positioning
                        G1 X75 Y95 F6000 ; go to first bed probe point (heatbed center)
                        G30 ; home Z by probing the bed

                        G1 X0 Y0 Z10 ;Go to origin with z lifted by 10mm

                        ; Uncomment the following lines to lift Z after probing
                        ;G91 ; relative positioning
                        ;G1 Z5 F100 ; lift Z relative to current position
                        ;G90 ; absolute positioning

                        IT WORKS as expected!

                        Thank you very much for the help

                        Bests,
                        Fabio

                        1 Reply Last reply Reply Quote 0
                        • PaulHewundefined
                          PaulHew
                          last edited by

                          @SerFabio89 said in Installing BLTouch clone:

                          G31 P500 X35 Y15 Z2.52 ; set Z probe trigger value, offset and trigger height

                          This line in your config.g sets the Z offset.

                          Homez.g does the homing for Z

                          my Homez.g

                          G91
                          G1 Z5 F800 S2
                          G90
                          G1 X140 Y140 F1000
                          G30
                          G1 Z2 F200
                          

                          regards.

                          Paul.

                          RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                          Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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