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

    CNC style Pendant

    Scheduled Pinned Locked Moved
    Hardware wishlist
    28
    155
    17.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.
    • FelixHundefined
      FelixH @CTRDevelopments
      last edited by

      @CTRDevelopments there are machines with 4 or even 5 axis. The A position on the knob is for the 4th axis, if it exists.

      Take your time and see the existing code. I am not expert either, but it doesn‘t seem the most complicated thing I‘ve seen...

      1 Reply Last reply Reply Quote 0
      • dhusoloundefined
        dhusolo
        last edited by

        I've taken this code and made a pendant with toggle switches. It's working great but I can't figure out how to be able to move in increments of .1, 1, 10, and 100. Currently I can only do .1, 1, and 10.

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

          Use the toggle switches to set distanceMultiplier to 1, 10, 100 or 1000. I think that should be sufficient.

          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

          dhusoloundefined 1 Reply Last reply Reply Quote 0
          • dhusoloundefined
            dhusolo @dc42
            last edited by

            @dc42
            I tried but it doesn't work as I thought it would. I've added the parameters I thought that would be needed to the sketch to add but when I select 100 it moves 10

            const int PinTimes1000 = 12;
            const int feedAmountPins[] = { PinTimes1, PinTimes10, PinTimes100, PinTimes1000, };
            pinMode(PinTimes1000, INPUT_PULLUP);
            
            
            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              Are you sure that PinTimes100 isn't permanently active? It will override PinTimes1000 if it is.

              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
              • dhusoloundefined
                dhusolo
                last edited by

                I've tried multiple switches and it's the same outcome. I know when I flip it to 1000 100 isn't active. I've tested it with a multimeter.

                1 Reply Last reply Reply Quote 0
                • sinned6915undefined
                  sinned6915
                  last edited by

                  I have been researching this and am almost ready to undertake this... but one thought keeps coming to my mind..

                  since there is an Arduino Pro/Mini in there, what would it take to add a 0.96 OLED display to display things like position feedback for X/Y/Z/E and maybe display a menu list of macros that you would navigate with the wheel?

                  1 Reply Last reply Reply Quote 0
                  • rilotundefined
                    rilot
                    last edited by

                    I set up a CNC pendant using DC42's excellent sketch. I felt it was missing something though.
                    With the support for 12864 displays for DuetWifis being added in 3.2 I set about a modification to the design.

                    alt text

                    Luckily there are enough wires in the stock CNC pendant cable to support this so I just needed to make a small loom using some breadboard at both ends.

                    alt text

                    Works like a charm

                    alt text

                    Made some hangers for it:

                    alt text

                    alt text

                    CNCModellerundefined weed2allundefined chimaeraghundefined 3 Replies Last reply Reply Quote 3
                    • CNCModellerundefined
                      CNCModeller @rilot
                      last edited by

                      @rilot this is brilliant... I will be going through the thread and attempting to replicate!

                      From a quick scan of the thread, do I have to have a panel due or can I do it with just a duet ethernet a pendant, and a 12864 display?

                      Polar Duet3 Mini + 1HCL
                      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                      Wanhao D4S: Duet2
                      https://forum.duet3d.com/post/296755
                      K40 Laser, Duet2
                      https://forum.duet3d.com/post/312082
                      Wanhao D5S
                      https://www.youtube.com/CNCModellerUK

                      1 Reply Last reply Reply Quote 0
                      • weed2allundefined
                        weed2all @rilot
                        last edited by weed2all

                        @rilot that is really nice work...when you can share the project?...I'm about to start making the normal pendant for duet 3 board but now seeing this I want to add the lcd as well...!

                        https://www.thingiverse.com/weed2all/designs

                        1 Reply Last reply Reply Quote 0
                        • chimaeraghundefined
                          chimaeragh @rilot
                          last edited by chimaeragh

                          @rilot Are you able to home and run macros using the display?

                          Duet 2 Wifi, Ooznest Workbee CNC 1510

                          rilotundefined 1 Reply Last reply Reply Quote 0
                          • rilotundefined
                            rilot @chimaeragh
                            last edited by

                            @chimaeragh Yes, on both counts.
                            @weed2all I'll be sharing the files today on Thingiverse. Will post back here once uploaded.

                            1 Reply Last reply Reply Quote 2
                            • rilotundefined
                              rilot
                              last edited by

                              Design here: https://www.thingiverse.com/thing:4812429
                              I've included STEP files.

                              JvP79undefined 1 Reply Last reply Reply Quote 3
                              • CNCModellerundefined
                                CNCModeller @dc42
                                last edited by

                                @dc42 said in CNC style Pendant:

                                I have converted my CNC pendant to use an Arduino Pro Micro and updated the firmware at https://github.com/Duet3D/CNC-Pendant-Firmware. I've also added a wiki page about CNC pendants at https://duet3d.dozuki.com/Wiki/CNC_Pendant.

                                Great stuff @dc42 thanks for your efforts!

                                Probably a silly question but could I replace the 4 core wire with a pair of hc-06 Bluetooth modules?

                                I'm assuming it's just TTL between the Arduino and the duet?

                                Many thanks
                                Barry M

                                Polar Duet3 Mini + 1HCL
                                https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                                Wanhao D4S: Duet2
                                https://forum.duet3d.com/post/296755
                                K40 Laser, Duet2
                                https://forum.duet3d.com/post/312082
                                Wanhao D5S
                                https://www.youtube.com/CNCModellerUK

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

                                  @cncmodeller said in CNC style Pendant:

                                  I'm assuming it's just TTL between the Arduino and the duet?

                                  The signal levels on the Duet are 3.3V, not TTL.

                                  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
                                  • dhusoloundefined dhusolo referenced this topic
                                  • DocTruckerundefined
                                    DocTrucker
                                    last edited by

                                    Is, or has this work going to be wrapped up into a commercial product?

                                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

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

                                      @doctrucker we've no plans to commercialise it; but it's open source, so others are welcome to.

                                      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

                                      DocTruckerundefined 1 Reply Last reply Reply Quote 0
                                      • DocTruckerundefined
                                        DocTrucker @dc42
                                        last edited by

                                        @dc42 cheers. Wasn't looking to sell it, just would have been easier to buy it than make for the customer! I will read up, looks simple enough.

                                        Thanks.

                                        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                                        1 Reply Last reply Reply Quote 0
                                        • JvP79undefined
                                          JvP79 @rilot
                                          last edited by

                                          @rilot love the design and the additional display! Are you able to elaborate a bit on the wiring scheme as posted on thingiverse? Especially on what are the names referring to in the excel pic posted?

                                          Conn LCD = connection to lcd panel
                                          Conn sd = ?
                                          Exp1 = ?
                                          Exp2= ?

                                          Would be greatly appreciated!

                                          1 Reply Last reply Reply Quote 0
                                          • infiniteloopundefined infiniteloop referenced this topic
                                          • ww1g16undefined
                                            ww1g16
                                            last edited by ww1g16

                                            This thread was useful when debugging some issues I was having using this exact pendant with the Arduino Nano as the microcontroller. I'm not making use of the PanelDue passthrough, just the pendant straight to a Duet3 6XD. For some reason when using the resistors rather than a level shifter on TX to bring it down to 3.3V, I was having issues with awful noise between the 6K8 resistor and the Duet 3, both when transmitting anything on TX and when just sitting idle at 5V. The resistor was on the pendant side of the long cable, and the noise was present on both the Duet and pendant sides. I spent a while figuring out what I'd done wrong but wound up using a level shifter (can't find a receipt but it looks the same as the 4 channel variant here) on the Duet side instead and that worked.

                                            Perhaps it was due to me leaving the Nano unmodified, but my interpretation of the instructions here was that that was only necessary when using the PanelDue passthrough.

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