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

    Duet Wifi BLTouch wiring

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    6
    28
    4.1k
    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.
    • Agniusmundefined
      Agniusm
      last edited by

      I am about to fit BLTouch to my printer and find information which varies so just want to make sure i am doing this correctly.
      My duet wifi board is 1.02 or later electronics firmare and 2.03 firmware with 1.22.6 DWC
      I am wiring my probe as per (https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/) tutorial
      Using Z PROBE IN and GND on Z probe connector for bltouch signal and gnd and +5V and Heater 7 on the expansion connector for bltouch vcc and servo
      I will shrt 2 gnd's on bltouch as i dont have extra pins on my extruder harness.
      i have setup my config.g as follows:
      ; Endstops
      M574 X1 Y1 S1
      M591 D0 P2 C4 S1
      ; BLTouch endstop
      M574 Z1 S2

      ; Z Probe
      M558 P9 H5 F500 T4000 X0 Y0 Z1
      G31 P25 Xxx Y0 Z0.0
      M557 X10:405 Y5:395 S129
      ; BLTouch - Heaters
      M307 H7 A-1 C-1 D-1

      I have created and uploaded deployprobe.g and retractprobe.g and uploaded to sys folder
      My questions are:

      1. do i need to use resistor, i believe i am getting newest version BLTouch?
      2. do i need I parameter in deployprobe.g and retractprobe.g files (as i read somewhere that they are not needed):
        M280 P7 S10 I1
        M280 P7 S90 I1
        ?
      3. Do i need more or less parameters in M558 command if using P9 parameter instead of P5?
      droftartsundefined 1 Reply Last reply Reply Quote 0
      • Eman74undefined
        Eman74
        last edited by

        @Agniusm said in Duet Wifi BLTouch wiring:

        https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/

        following as I'm doing same installation too, but I have a duex5 and I'm using PWM5 channel for servo function (so for me it's P5 and not P9, and I prefer to run the M307 line before)

        Emanuele

        droftartsundefined Agniusmundefined 2 Replies Last reply Reply Quote 1
        • droftartsundefined
          droftarts administrators @Agniusm
          last edited by droftarts

          @Agniusm said in Duet Wifi BLTouch wiring:

          1. do i need to use resistor, i believe i am getting newest version BLTouch?

          No, but... check your actual board version, printed on the Duet near the main microcontroller. If it’s 1.04, you’re fine. If it’s earlier, the BLTouch should work happily from 3.3V vcc rather than 5V (early ones didn’t). the current V3.1 BLTouch outputs 3.3V by default. No need for resistors or cut traces.

          1. do i need I parameter in deployprobe.g and retractprobe.g files (as i read somewhere that they are not needed):
            M280 P7 S10 I1
            M280 P7 S90 I1
            ?

          Yes. See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_Duet_2_WiFi_Ethernet_running_RepRapFirmware_Num_2

          Important: In the M280 commands in the following, leave out the I1 parameter if the BLTouch is connected to a servo output on a DueX board.

          1. Do i need more or less parameters in M558 command if using P9 parameter instead of P5?

          You should use M558 P9 for BLTouch and set F, H and T parameters. X, Y and Z are deprecated. Other parameters are optional, but can be useful, depending on application. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M558_in_RepRapFirmware_2_x_and_earlier

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          Agniusmundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @Eman74
            last edited by droftarts

            @Eman74 said in Duet Wifi BLTouch wiring:

            following as I'm doing same installation too, but I have a duex5 and I'm using PWM5 channel for servo function (so for me it's P5 and not P9, and I prefer to run the M307 line before)

            Use M558 P9. Your M307 should be H5, rather than H7 (PWM5 is H7). Doesn’t matter where you put it in config.g, as it is not used until you run M280. Your M280 should be P5 P7 and no I1 (outputs are inverted on Duex).

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            Eman74undefined 2 Replies Last reply Reply Quote 0
            • Eman74undefined
              Eman74 @droftarts
              last edited by

              @droftarts I actually followed all your recommendations, with no luck.
              I'm a bit struggling here cause I double-checked the wiring, my bltouch is latst version and should support both 3.3v and 5v, I configured jumper for 3.3 logic and I'm using PWM5 but I cannot get the pin to deploy.
              I'll keep trying but I'm starting to think I should upgrade to RRF3 to get better results...

              Emanuele

              1 Reply Last reply Reply Quote 1
              • Eman74undefined
                Eman74 @droftarts
                last edited by

                @droftarts I just got tired of banging my head and followed steps to upgrade to 3.2.2 ...wish me luck...

                Emanuele

                droftartsundefined 1 Reply Last reply Reply Quote 1
                • Agniusmundefined
                  Agniusm @Eman74
                  last edited by

                  @Eman74 PWM5 is Heater 7. I think you need to disable heater to use that pin. In firware 3 i think you need to use M950.
                  P9 is for probe type. It was P5 mode some time ago but now duet has dedicated P9 for bltoucj. It has nothing to do with pwm5
                  I would check your deploy and retract g files for syntax. My probe is comming on monday. I just set up all to start testing right away 🙂

                  1 Reply Last reply Reply Quote 0
                  • Agniusmundefined
                    Agniusm @droftarts
                    last edited by

                    @droftarts thanks. I will check board revision. I suppose then i can use 3.3V of the z probe connector!?

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

                      @Agniusm said in Duet Wifi BLTouch wiring:

                      I suppose then i can use 3.3V of the z probe connector!?

                      No, the BLtouch still needs 5v.

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        In case you wanted to update to RRF3...

                        If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
                        https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                        https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                        https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
                        That will get your firmware and DWC up to date.

                        You can see the change logs here:
                        https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

                        For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                        https://configtool.reprapfirmware.org/Start

                        Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

                        These documents will come in handy during the conversion.
                        https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
                        https://duet3d.dozuki.com/Wiki/Gcode

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @Eman74
                          last edited by

                          @Eman74 apologies, @Agniusm is quite right, PWM5 is Heater7, so should be M307 H7 and M280 P7.

                          RRF 3.x defines things a bit differently, and you can define the actual name of the pin you want to use, eg duex.pwm5. But I recommend you use the configuration tool to take the pain out of changing your config. You can also generate a config for RRF 2.03, and just use the probe section and retractprobe.g and deployprobe.g macros.

                          Apologies too, to @Agniusm; @Phaedrux is correct, the BLTouch does need 5V vcc. I’m sure I’d read of people running them happily on 3.3V, but haven’t tested myself. The v3.1 BLTouch does output 3.3V (default) or 5V, so you don’t have to worry about resistors or cutting traces.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          1 Reply Last reply Reply Quote 0
                          • Agniusmundefined
                            Agniusm
                            last edited by

                            Oo f..ck, no matter, going to cut and recrimp my vcc wire for the third time 😂

                            1 Reply Last reply Reply Quote 0
                            • Eman74undefined
                              Eman74
                              last edited by

                              I'm in the middle of a BLTouch nightmare... and I keep banging my head over it...

                              My BLTouch is original latest version 3.1

                              I updated to RRF 3 (lost a lot of time to get all axis and endstop working but all seems good a part from the BLTouch)

                              here is my config.g related (deployprobe and retracct are standard..):

                              M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
                              M558 P9 C"^zprobe.in" H5 F100 T3000            ; BLTouch connected to Z probe IN pin, free up MOD pin
                              M950 S0 C"exp.heater7"                         ; servo/gpio 0 is Z probe MOD pin tried also duex.pwm5 and !exp.heater7 without success
                              M280 P0 S10                                    ; send control signal to BLTouch through servo/gpio 0
                              G31 P25 X28 Y-61 Z0    		                   ; BLTouch set offset
                              M557 X50:350 Y50:350 S50                       ; define mesh grid
                              

                              My Troubleshooting:

                              1. Double-checked wiring and tested connectivity with a tester;
                              2. verified jumper presence on duex 5
                              3. verified led on heater7 is switched on when I start the system
                              4. replaced BLTouch with another perfectly working on my cartesian printer with duet wifi and the behaviour is the same erroneous one, it does lights on and blink red without passing the switch-on test
                              5. tried other heaters on the duex with same result...

                              NOTE: I have 3 Z motors configured and working on Drive 5:6:7 (M584 X0 Y1 Z5:6:7 E3)

                              Any help would be really appreciated I followed all documents but somewhere something is just not right and I know it shouldn't be a huge thing cause I tried with another surely working one and it does the same thing so it's a config matter somewhere...

                              Emanuele

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

                                @Eman74 probably best to start your own thread to keep things clear. It's hard to remember who said what about their setup.

                                What pin specifically are you using for the orange/yellow wire?

                                What Duet board?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Eman74undefined 2 Replies Last reply Reply Quote 0
                                • Eman74undefined
                                  Eman74 @Phaedrux
                                  last edited by

                                  @Phaedrux sure it's a duet wifi with a duex5 I'm going to start a thread thank you

                                  Emanuele

                                  1 Reply Last reply Reply Quote 1
                                  • Eman74undefined
                                    Eman74 @Phaedrux
                                    last edited by

                                    @Phaedrux I just tried but it prevents me from posting new topics... it seems the same issue there was this morning...

                                    Emanuele

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

                                      @Eman74 Try again after a few minutes.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • Agniusmundefined
                                        Agniusm
                                        last edited by

                                        Received my probe today which came V3.1. My duet board is V1.02
                                        All working good.
                                        Wired as per tutorial:
                                        Probe VCC to expansion slot 5V on Duet
                                        Probe GND and Servo GND to Z Probe GND on duet
                                        Probe Signal to Z_PROBE_IN on Duet
                                        Probe Servo to expansion slot Heater7(PWM5) on Duet
                                        Used all the code in the first post.
                                        Thank you for help

                                        1 Reply Last reply Reply Quote 1
                                        • Agniusmundefined
                                          Agniusm
                                          last edited by

                                          Just not to create another topic. I have this issue where after print, on the next print BLTouch does not deploy. I have to switch printer off, then back on for it to start working again. Is this a known issue or is there a fix for it?

                                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                          • JayJayundefined
                                            JayJay
                                            last edited by

                                            @Agniusm

                                            setup a macro to re-set the probe...

                                            M280 P0 S160 ;Re-Set the Probe BL Touch

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