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

3.3RC1 Duet2 SBC Problems with Bltouch

Scheduled Pinned Locked Moved Unsolved
Beta Firmware
5
22
950
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.
  • undefined
    lahn92 @Phaedrux
    last edited by 10 May 2021, 07:52

    @phaedrux
    so tried removing my PT100 sensor and paneldue from my config to see if that was making somekind of problem.
    it did not help.

    busy grasping at straws here 😉

    undefined 1 Reply Last reply 10 May 2021, 08:16 Reply Quote 0
    • undefined
      dc42 administrators @lahn92
      last edited by dc42 5 Oct 2021, 08:18 10 May 2021, 08:16

      @lahn92 and @nmsmith89, the only reason I can think of why the Z probe triggering might be detected late is if either the BLTouch has a lot of leakage when it is triggered, or there is a lot of interference picked up by the BLTouch output wire (e.g. from an adjacent stepper motor cable); and the internal pullup resistor on the zprobe.in pin isn't sufficient to counter the interference or leakage.

      Here are two possible solutions:

      1. If your Duet 2 is version 1.04 then you can send a command to the BLTouch to pull the output to 5V when triggered, instead of relying on the pullup resistor.

      2. You could connect an external pullup resistor between Z probe in and +3.3V pins. I suggest a value between 2.2K and 10K.

      The limitation referred by @Phaedrux only applies to CAN-connected expansion boards.

      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

      undefined 1 Reply Last reply 10 May 2021, 09:40 Reply Quote 0
      • undefined
        lahn92 @dc42
        last edited by lahn92 5 Oct 2021, 09:43 10 May 2021, 09:40

        @dc42

        any instructions on doing number 1. as i at the moment i dont have a resistor handy?

        edit:
        is it this
        d28e6c29-0e2b-482c-8716-6632e68c0568-image.png

        undefined 1 Reply Last reply 10 May 2021, 10:45 Reply Quote 0
        • undefined
          dc42 administrators @lahn92
          last edited by 10 May 2021, 10:45

          @lahn92 yes it's that. The Duet 2 1.04 and later can tolerate 5V input from the BLTouch.

          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

          undefined 1 Reply Last reply 10 May 2021, 11:44 Reply Quote 0
          • undefined
            lahn92 @dc42
            last edited by 10 May 2021, 11:44

            @dc42 Tried it, it did not change anything.

            but i think the problem lies in deployment and retraction of the probe

            because if io do a repeatability test with the following code it does not hang anywhere. as it does not deploy and retract the probe between touch off.

            M291 P"Probe will be tested 10 times and return mean and standard deviation. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
            M401
            G28 Z
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P0 X100 Y101 Z-9999
            G30 P9 X100 Y101 Z-9999 S-1
            M402

            is there maybe a way to get it to not retract and deploy the probe between each point in a G29, as a quick fix solution?

            undefined 1 Reply Last reply 10 May 2021, 16:42 Reply Quote 0
            • undefined
              dc42 administrators @lahn92
              last edited by 10 May 2021, 16:42

              @lahn92 said in 3.3RC1 Duet2 SBC Problems with Bltouch:

              is there maybe a way to get it to not retract and deploy the probe between each point in a G29, as a quick fix solution?

              Yes, if you use P8 instead of P9 in the M558 command then it will do that. But that may fail, because after triggering the probe will extend immediately again; and if the Z axis is not fast enough then it may trigger immediately and go into the error state.

              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

              undefined 2 Replies Last reply 10 May 2021, 20:28 Reply Quote 0
              • undefined
                lahn92 @dc42
                last edited by 10 May 2021, 20:28

                @dc42 Will try that tomorrow

                1 Reply Last reply Reply Quote 0
                • undefined
                  lahn92 @dc42
                  last edited by 11 May 2021, 18:01

                  @dc42

                  so i have tried two things today.

                  first i tried running with the probe set as P8 and this seems to work just fin.
                  video

                  then i tried to switch out my current BlTouch 3.1 to an older 2.2 running as a P9.
                  this BlTouch does not have the same issue as the 3.1 but instead does a double bounce on retraction.
                  video

                  with both it does not seem to error out the Bltouch, but the 3.1 still seems to experience the hang up when deploying and retracting.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 12 May 2021, 09:03

                    @lahn92 please update to release 3.3RC2 from the package server.

                    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

                    undefined 1 Reply Last reply 12 May 2021, 13:39 Reply Quote 0
                    • undefined
                      lahn92 @dc42
                      last edited by 12 May 2021, 13:39

                      @dc42
                      tried updating, and after that i also tried reinstalling duetpi-lite.
                      both have not changed my problem

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Phaedrux Moderator
                        last edited by 12 May 2021, 16:00

                        And confirmed that RC2 was actually flashed to the duet?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 12 May 2021, 16:14 Reply Quote 0
                        • undefined
                          lahn92 @Phaedrux
                          last edited by 12 May 2021, 16:14

                          @phaedrux

                          Yup

                          M115
                          FIRMWARE_NAME: RepRapFirmware for Duet 2 SBC FIRMWARE_VERSION: 3.3RC2 ELECTRONICS: Duet 2 1.02 or later + SBC + DueX5 FIRMWARE_DATE: 2021-05-11 14:55:15
                          undefined 1 Reply Last reply 12 May 2021, 16:26 Reply Quote 0
                          • undefined
                            Phaedrux Moderator
                            last edited by 12 May 2021, 16:18

                            Thanks, just wanted to make sure.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              chrishamm administrators @lahn92
                              last edited by 12 May 2021, 16:26

                              @lahn92 If you are able to edit config files on the Pi, please try to change SpiPollDelay from 25 to 1 in /opt/dsf/conf/config.json and then restart DCS via sudo systemctl restart duetcontrolserver. This should reduce the response time before the BLTouch pin is deployed/retracted, but it will increase the CPU load on the Pi a bit. Please let me know if that fixes your problem.

                              Duet software engineer

                              undefined 1 Reply Last reply 12 May 2021, 18:13 Reply Quote 0
                              • undefined
                                lahn92 @chrishamm
                                last edited by 12 May 2021, 18:13

                                @chrishamm

                                made the changes you suggested, and it is getting it to a working state. there still seem to be a noticeable delay that changes from probe to probe. but none of them are long enough to error out the BLtouch.

                                so its working, but not sure if it behaving as intended. but maybe as good as it gonna get on a pretty unusual config.

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