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

    Duet3 BLTOUCH3.1 Probe deploys but doesn't trigger on Z Home

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    102
    4.8k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Well G28 Z calls homez and your homez contains a move to position the probe and then does a G30 to probe the bed, so that's a fine way to test.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • vistalertundefined
        vistalert
        last edited by

        @Phaedrux @Thalios - G30 same outcome, bed doesn't stop.

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Thaliosundefined
          Thalios
          last edited by

          actually, my deployprobe.g has:

          M280 P0 S10 ; deploy BLTouch
          
          
          

          and retract:

          M280 P0 S90
          

          Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
          Heavily modified Ender 3 Pro (Duet 3 6HC)
          Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
          CR-10S Pro V2 (Duet 3 Mini 5+)
          and a bunch of SLA printers..

          vistalertundefined 1 Reply Last reply Reply Quote 0
          • vistalertundefined
            vistalert @Thalios
            last edited by

            @Thalios - ditto for me too. Same commands in deploy/retract.

            1 Reply Last reply Reply Quote 0
            • vistalertundefined
              vistalert
              last edited by

              @Thalios out of interest - what is your printer spec? Home design/build?

              Mine is Rat Rig VCORE pro / linear rails / triple z screws.
              Volcano hot end, titan aero extruder.

              Interested to know for when I do finally reach bed calibration.

              1 Reply Last reply Reply Quote 0
              • Thaliosundefined
                Thalios
                last edited by

                Railcore II 300ZL fully upgraded, duet 3 6HC, enclosure, E3D V6 Gold because I prefer it to the Mosquito.

                I have a D3 on a Ender 3 Pro and a Tronxy X5SA-500 Pro. I have a Duet 2 Wifi on a frankenstein Tevo Tarantula that I home built to 330x330x300 with E3D V6. I'm waiting on the Duet 3 mini to go in my other Ender 3 Pro.

                Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                Heavily modified Ender 3 Pro (Duet 3 6HC)
                Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                CR-10S Pro V2 (Duet 3 Mini 5+)
                and a bunch of SLA printers..

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

                  @vistalert said in Duet3 BLTOUCH3.1 Probe deploys but doesn't trigger on Z Home:

                  G30 same outcome, bed doesn't stop.

                  I'd be inclined to connect the BLtouch directly to the board pins without extension and test on the bench (keeping the bltouch vertical) to see if it's in fact a poor connection with the white trigger signal wire.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Vetiundefined 1 Reply Last reply Reply Quote 0
                  • Thaliosundefined
                    Thalios
                    last edited by

                    I was looking at your Config.g file.

                    2 things I see different from mine:

                    You have a endstop configured for Z. Can you try to take that off? (M574 Z1 S2)

                    and the "^" in the probe type (M558).

                    Just to see if that solves it.

                    Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                    Heavily modified Ender 3 Pro (Duet 3 6HC)
                    Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                    CR-10S Pro V2 (Duet 3 Mini 5+)
                    and a bunch of SLA printers..

                    1 Reply Last reply Reply Quote 0
                    • Thaliosundefined
                      Thalios
                      last edited by

                      Did you do a full continuity test from the multipin connector on the BLtouch all the way to the connector on the board to see if it follows through on all pins with no shorts?

                      Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                      Heavily modified Ender 3 Pro (Duet 3 6HC)
                      Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                      CR-10S Pro V2 (Duet 3 Mini 5+)
                      and a bunch of SLA printers..

                      1 Reply Last reply Reply Quote 0
                      • Vetiundefined
                        Veti @Phaedrux
                        last edited by

                        @Phaedrux said in Duet3 BLTOUCH3.1 Probe deploys but doesn't trigger on Z Home:

                        I'd be inclined to connect the BLtouch directly to the board pins

                        he cant, he broke the original connector. he posted a picture of his fixed connector in the beginning of the thread.

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

                          @Veti said in Duet3 BLTOUCH3.1 Probe deploys but doesn't trigger on Z Home:

                          @Phaedrux said in Duet3 BLTOUCH3.1 Probe deploys but doesn't trigger on Z Home:

                          I'd be inclined to connect the BLtouch directly to the board pins

                          he cant, he broke the original connector. he posted a picture of his fixed connector in the beginning of the thread.

                          Oh right. Forgot about that. It's one long thread of many.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • vistalertundefined
                            vistalert
                            last edited by

                            You actually can't connect the original connector to the D3. It's a group of 3, ground/yellow/white, then a group of two +v/ground. The D3 io pins require that the default connectors be removed so the wires can be organised to match the io pins.

                            1 Reply Last reply Reply Quote 0
                            • vistalertundefined
                              vistalert
                              last edited by

                              @Phaedrux @Thalios @Veti - actually I did learn a very important lesson which I overlooked, and was flagged just now, and that's bench test all the components before you build. I could have spotted any potential issue with the BL Touch much sooner.

                              For now I'm settled on a couple more actions:

                              1. If I can get super motivated, I'll unmount the BLT get it connected to D3 on a bench and see if I can probe the BLT output with my little USB oscilloscope. This would prove beyond doubt that the BLT is providing an output or not.

                              2. Prove the ioports by configuring them as a switch endstop and check they report being triggered when I pull up the input pin.

                              3. If after all this the BLT is providing an output and all my ioports are good then I have only two possibilities ...either dodgy cable/connections, or interference.

                              The main thing dissuading me that it's a wiring issue is simply that I've done many continuity checks all the way from the BLT PCB to the D3 PCB. As I'm using twisted pairs, I'm also inclined to believe interference isn't the culprit.

                              This kinda sums up where we are. Of course, I'm also pending delivery of another BL Touch 3.1.

                              Fun days ahead! πŸ™‚

                              vistalertundefined 1 Reply Last reply Reply Quote 0
                              • vistalertundefined
                                vistalert @vistalert
                                last edited by

                                @Phaedrux @Thalios Some exciting input:

                                1. Update in my installation...I had a connector at the BL Touch end so I can easily disconnect my entire wiring harness at the hot end - i.e. disconnect thermistor, fans, heater and bltouch, with each having it's own connect.

                                My observation here is my connector at that location was completely redundant, because of course, the BL Touch has it's own removable connector if I needed it.

                                So I have now removed that connector you may have seen at the start of the thread, soldered and insulated each wire from BL touch running to the D3 (io5).

                                1. I've got the BL Touch off the printer, and attached the BL Touch output to my hobbyist USB scope.

                                I have the scope set to 1V divisions in DC mode, and timebase is 100ms / division.

                                I execute M401 and the probe deploys.
                                I can then periodically touch the probe.
                                The scope clearly shows a signal out of the BL Touch 3.1 going from 0v, to +1v, every single time I touch it. When I release, it falls back to 0. This seems to indicate the output of the BLTouch is a simple hi/lo to indicate that something is contact with the probe. There is no PWM like signal back.

                                The question now might be, is +1V enough to constitute logic 1 on the D3, when the BLT is powered with +5v?

                                This leads me to my next test. Issue G30 and then apply +5v to io5.in, and see if that emulates a probe trigger with a voltage which is certainly high enough to hold the input pin HI.

                                1 Reply Last reply Reply Quote 0
                                • vistalertundefined
                                  vistalert
                                  last edited by

                                  In this image you see the scope indicating that whenever the probe pin is touched, the BL touch outputs a higher voltage, and when released it falls.

                                  8ae01b7c-5b06-42d9-86ae-3e42ee27614c-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • Vetiundefined
                                    Veti
                                    last edited by

                                    are you touching the probe while the pin is retracted?
                                    maybe you need to adjust the grub screw a bit higher as the pin is not making enough contact with the hall sensor.

                                    1 Reply Last reply Reply Quote 0
                                    • vistalertundefined
                                      vistalert
                                      last edited by vistalert

                                      It's fixed!!! πŸ™‚ πŸ™‚ πŸ™‚

                                      It's a logic level issue as indicated in the 3.1 docs.

                                      ref: https://www.antclabs.com/logic

                                      Step 1: Connect the 3pin (brown, red, orange) and 2pin (black, white) to the control board.
                                      Step 2: M280 P0 S10 ← least 500ms
                                      Step 3: M280 P0 S140 ← least 100ms
                                      Step 4: M280 P0 S130 ← least 500ms
                                      Step 5: Pull the push-pin with your finger so that the red LED turns off.
                                      Step 6: M280 P0 S140 ← least 100ms

                                      Once I've executed this GCODE I then see much large voltage rage, hi to lo. Will post an image in a moment.

                                      Having executed the GCODE, I do HOME Z, and when I then touch the probe the bed retracts!! πŸ™‚

                                      I'm slightly happy and excited to be past this one.

                                      Thank you @Veti for being patient with me, and apologies again for that unwarranted tone half way through the thread.

                                      Thank you @Phaedrux and @Thalios for the input and suggestions that got me here.

                                      Back in a moment with an image to show the scope output after the GCODE above was executed. I'll do a full power cycle and ensure this config is retained by the EEPROM in the BLT.

                                      1 Reply Last reply Reply Quote 0
                                      • vistalertundefined
                                        vistalert
                                        last edited by

                                        2bc41374-d8bc-4dfd-9f47-26829bb7e87a-image.png

                                        Indicates the higher voltage applied to io.in, after the BLTOUCH is set for the new logical level

                                        1 Reply Last reply Reply Quote 0
                                        • Vetiundefined
                                          Veti
                                          last edited by

                                          did you connect the bltouch to the 3.3V line? or as described here.
                                          https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Duet_Num_3

                                          because nobody else had to do this on a 3.1 Version.

                                          vistalertundefined 1 Reply Last reply Reply Quote 0
                                          • vistalertundefined
                                            vistalert
                                            last edited by

                                            LEARNINGS captured from this very valuable discussion with credit to all who contributed:

                                            1. Issue, BL Touch 3.1 probe deploys, but on Z Home / G30 the D3 does not stop the vertical bed movement when the bed has contacted the probe.

                                            2. Observations on cabling. Be sure that crimping is done well. Apply solder if possible. Do not introduce conenctors, can be a source of noise, interference, cross-talk. Use twisted pairs to reduce risk of noise. My cable from Duet 3 to BLT is ~1 meter. My build plate is 500x500 so I need the length.

                                            3. Observations on config.g and with deployprobe.g and retractprobe.g correctly formed:

                                            config.g entries:
                                            M950 S0 C"io5.out"
                                            M558 P9 C"io5.in" H5 R1 F120 T6000 A5 S0.02 B1

                                            deployprobe.g
                                            M280 P0 S10

                                            retractprobe.g
                                            M280 P0 S90

                                            With these configs in place I was able to execute M410 (deploy) and M402 (retract)

                                            1. BL touch connected to io5:

                                            D3
                                            pin 1 +5v -> BLTOUCH 3.1 red wire supply +5v
                                            pin 2 out -> BLTOUCH 3.1 yellow wire enabling transmission of PWM from D3 to BL Touch
                                            pin 3 gnd -> BLTOUCH 3.1 brown and black grounding both wires at the BLT end
                                            pin 4 in -> BLTOUCH 3.1 white whire enable detection of logic hi/lo indicating probe trigger

                                            1. Observation, with everything correctly configured and connected, the bed would not stop rising on Z home.

                                            2. Connected oscilloscope and observed signal of 1v peak to peak from the BL TOUCH 3.1 output - assuming this is not sufficiently hi to consitute HI state on io5.in.

                                            3. Refer documentation, see GCODE to configure BL TOUCH 3.1 logic level

                                            https://www.antclabs.com/logic

                                            Modified to obviate, just go slow, command by command and don't copy paste and execute the entire block of code or run it as a macro, as pauses between commands may be critical.

                                            Step 2: M280 P0 S10 ← wait at least 500ms before next command
                                            Step 3: M280 P0 S140 ←wait at least 100ms before next command
                                            Step 4: M280 P0 S130 ← wait at least 500ms before next command
                                            Step 5: If the pin is not deployed...Pull the push-pin with your finger so that the red LED turns off.
                                            Step 6: M280 P0 S140 ← wait at least 100ms before next command

                                            The BL TOUCH is now configured to provide 2.5v peak/peak.

                                            The Duet3 will now recognise the HI state on io5.in.

                                            I hope this helps future readers.
                                            Chris

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