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

    Other analog Scanning Z Probes?

    Scheduled Pinned Locked Moved Unsolved
    Firmware wishlist
    5
    28
    1.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.
    • SanderLPFRGundefined
      SanderLPFRG @droftarts
      last edited by

      @droftarts Old topic, but I have another general analogue output probe (loadcell with op-amp structure and amplification with custom canBUS board)

      I can configure and measure using the scanning Z probe (11) definition, but a load cell is unsuitable for a "scanning" measurement. It is however not possible to define it as a P1 probe on a canbus toolboard.

      May I ask why this decision was made, and where in the firmware I could look to make it possible?

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

        @SanderLPFRG The wiki says here https://docs.duet3d.com/User_manual/RepRapFirmware/CAN_limitations#semi-permanent-limitations that it's technically possible to have other probe types beyond 8, 9 and 11. I think the concern is about latency, but @dc42 would know better, and be able to give you the advice on firmware.

        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

        SanderLPFRGundefined 1 Reply Last reply Reply Quote 0
        • SanderLPFRGundefined
          SanderLPFRG @droftarts
          last edited by

          @droftarts I see.

          I get why it would be a possible issue with latency but for our use we need to be able to define it as such.
          We found in the source code where it defines the probe and throws an error, but we would like some advice on if just removing the error gives us a solution

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @SanderLPFRG
            last edited by

            @SanderLPFRG I think there are two pieces of work needed to support other types of scanning Z probe: (1) allowing general analog-output Z probes to be used in scanning mode; and (2) supporting analog Z probes over CAN.

            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

            SanderLPFRGundefined 1 Reply Last reply Reply Quote 0
            • SanderLPFRGundefined
              SanderLPFRG @dc42
              last edited by SanderLPFRG

              @dc42 said in Other analog Scanning Z Probes?:

              Yeahh the biggest issue is that I do not want the loadcell configured as a scanning-type probe, but as a normal analog probe, which is prohibited for CANboards. so I am leaning to version 2.

              I am trying to build new firmware for the 6HC (to remove the error it raises when remote Z probe type is not 8, 9 or 11) but I am getting building errors regarding the CoreN2G...

              "../src/TinyUsbInterface.cpp:28:10: fatal error: tusb.h: No such file or directory"

              SanderLPFRGundefined 1 Reply Last reply Reply Quote 0
              • SanderLPFRGundefined
                SanderLPFRG @SanderLPFRG
                last edited by

                @dc42 please note that the tusb.h file is actually present

                ea46f954-fb95-4b06-acda-3fa8ee4c188c-image.png

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @SanderLPFRG
                  last edited by

                  @SanderLPFRG looks like you are using the wrong tinyusb project. The one we use is called Libtinyusb.

                  67f828f8-4fb6-4ff7-ac08-ef49d167df49-image.png

                  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

                  SanderLPFRGundefined 2 Replies Last reply Reply Quote 0
                  • SanderLPFRGundefined
                    SanderLPFRG @dc42
                    last edited by SanderLPFRG

                    @dc42 I just tried to build with the latest master branch of the libtinyusb from here; https://github.com/Duet3D/LibTinyusb

                    I also tried the 3.6.0 beta2 release, which is the same as the rrf sourcecode I am trying to build

                    still did not work, same error
                    73505666-fc50-4f14-995c-795fdcd8c7e6-image.png

                    SanderLPFRGundefined 1 Reply Last reply Reply Quote 0
                    • SanderLPFRGundefined
                      SanderLPFRG @SanderLPFRG
                      last edited by

                      @SanderLPFRG Got it working, version mismatch.

                      1 Reply Last reply Reply Quote 1
                      • SanderLPFRGundefined
                        SanderLPFRG @dc42
                        last edited by

                        @dc42 is it okay if I try to enable this functionality in a branch via github? If I manage I will make a pull request for you to integrate it into the main branches.

                        Lot to learn for myself, but I like a challenge.

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @SanderLPFRG
                          last edited by

                          @SanderLPFRG the firmware is open source so you can do what you like. There is already some support for analog probes in the expansion board firmware because the scanning inductive Z probe is in effect an analog probe.

                          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

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