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

    Question about using existing and some new parts with duet 2

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    28
    2.7k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      For #1 I recommend you keep the 2 wire endstop cables. Connect the wires to the two outer pins of the 3-pin endstop connector on the Duet.

      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
      • dwfl89undefined
        dwfl89
        last edited by dwfl89

        @dc42 that is actually how the cable is connected on the endstop switch side. The middle pin has nothing connected to it but the pins on the side do. Only problem is the wires aren't color coded so I could only assume they are right and would go to the right pins on the duet if I match what the endstop side looks like.

        Most if not all the cables on this printer are like that. Think there is a chance I need to actually figure out how to test everything to figure out what wire is what and possibly rewire things? If so any suggestions as to how I would go about doing this and maybe tools I would need?

        I may of found the solution to 2nd question but I wouldn't really know until I wire everything up and test.

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

          you have to connect them to stop and gnd. Do not connect the 3.3v line.
          these are simple switches. so they either complete or break the connection. For this it does not matter and the connections can be swapped and you will get the same result.

          1 Reply Last reply Reply Quote 2
          • dwfl89undefined
            dwfl89
            last edited by

            So I have an additional question upon further inspection of my cabling. This is in regards to the ender 3 stepper motors. The stepper motors have 6 pins with the cable only having 4 wires coming from it. On the part that connects to the stepper motor (The side of the cable that has 6 pins) it has a wire then empty spot then two more wires then an empty spot then one last wire. Should I keep these cables exactly as they are like with the endstop or what should I do?

            deckingmanundefined 1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              You only need the 4 connections as described.

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @dwfl89
                last edited by

                @dwfl89 To elaborate on what @jay_s_uk has said, it sounds like the steppers have a centre tap (uniploar) which isn't being used. So the other 4 wires should be the ends of each pair of coils which is fine.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                1 Reply Last reply Reply Quote 0
                • dwfl89undefined
                  dwfl89
                  last edited by dwfl89

                  Ok, so the 4 connections in the exact same order they are already laid out in I assume?

                  I do have another question... I sort of want to move my box on a shelf below my printer and would need to extend my cables for the heated bed ... Anyone know of a safe/easy way to do it? I've seen suggestions about using xt60 adapters because they can handle up to 60A and can be used in a lot of hobby electronics would this be fine or do you all have a easier suggestion?

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    The 6pin PH to 4pin XH or dupont cabling seems to be very common, and all the ones I've seen has had a pinout compatible with the duet; but thats no guarantee that yours will.

                    If you have a multimeter its easy enough to measure the resistance between 1-2 and 3-4 they should be the same. If the motor turns the wrong way you can reverse the connector, or change the firmware.

                    Most cheap RC connectors will work as long as you keep an eye on the current rating. I used xt30 as they're smaller and still carry enough current. I'd pay more attention to the wire length, wire gauge and voltage drop to ensure it stays cool and you don't end up loosing too voltage resulting in a underpowered bed.

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

                      Unless you need rapid disconnect, I would just use a 30A chocolate block connector.

                      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
                      • Vetiundefined
                        Veti
                        last edited by

                        or wago 222.

                        1 Reply Last reply Reply Quote 0
                        • dwfl89undefined
                          dwfl89
                          last edited by

                          I just want to take a moment to thank everyone for their responses so far.

                          Ok so get a multimeter and measure 1-2 and 3-4 on the 4 pin side of the cable and make sure the readings match. Just to double check because I don't really fiddle with electronic internals. The connector needs to be connected to the stepper motor using the side that has the 6 pins when I am using the multimeter to check the 4 pin side correct?

                          When it comes to the distance for the cables I want to extend I'd say about 3 feet on the short end but likely around 4 feet. Will that be ok for the heated bed and other things like fans, stepper motors, & hotend? I want to keep my electronics one ikea table down the enclosure I am building.

                          1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User
                            last edited by

                            yeah, measure the 4 pin connector when the 6 pin connector is connected to the motor. (its likely more or less a formality)

                            3-4 feet isnt a very long cable, but you still have to take into account how much current goes through them and size it appropriately to avoid voltage drops that can affect performance. Noise might be something to consider though.

                            1 Reply Last reply Reply Quote 0
                            • dwfl89undefined
                              dwfl89
                              last edited by dwfl89

                              Would I get noise on a cable 3-4 feet? Also when you say size appropriately do you mean use slightly thicker wire?

                              1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User
                                last edited by

                                I mean know what current you need to put though the cable. Choose a cable that has a resistance that gives you an acceptable voltage loss and has a suitable current rating.

                                You might find this useful, note the example is purposely absurd.
                                https://www.calculator.net/voltage-drop-calculator.html?material=copper&wiresize=212.9&voltage=24&phase=dc&noofconductor=1&distance=4&distanceunit=feet&amperes=20&x=56&y=16

                                And this should give you a good idea of the ampacity for the different thicknesses of wire.
                                https://en.wikipedia.org/wiki/American_wire_gauge#Tables_of_AWG_wire_sizes

                                Noise? Complex question. Short answer, yes. Enough to cause problems, hard to say.

                                1 Reply Last reply Reply Quote 0
                                • dwfl89undefined
                                  dwfl89
                                  last edited by

                                  Just got multimeter in and tested 1-2 and the 3-4 pins have the exact same reading!

                                  However I do have another question now that I think about it. Someone on the comments awhile back on a fan I bought mentioned that the 2 wires were swapped on their fans so the red wire was actually black and the black wire was actually red. Is there a way to test for this before plugging the fans into the duet?

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

                                    @dwfl89 said in Question about using existing and some new parts with duet 2:

                                    Someone on the comments awhile back on a fan I bought mentioned that the 2 wires were swapped on their fans so the red wire was actually black and the black wire was actually red. Is there a way to test for this before plugging the fans into the duet?

                                    That wire swap would be very unusual. However, if you are not sure then you can connect the fan directly to the PSU to test it. Or, if your Duet is a WiFi or Ethernet revision 1.03 or later, plug the fan into an always-on fan port to test it, so that if the wires are the wrong way round it only risks blowing the blade fuse and not the fan mosfet.

                                    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
                                    • dwfl89undefined
                                      dwfl89
                                      last edited by dwfl89

                                      So I just realized something else. The connectors my cables for the endstops, stepper motors. and temp reader for the heated bed currently use won't fit on the duet. So it means I am going to get some crimpers to fix the cables. For some of the super short ones like the fans I want to make a male connector to connect to their current end then a female of the correct type for the duet. The longer ones I can just cut the end strip it and add the right connector. The one problem I run into is whenever I search for male connectors they are always pcb connectors not ones to use at the end of a wire like you can sometimes find on fan extension cables for computers. Anyone know the wording I should use to find some of these male connectors I am talking about?

                                      Anyone know of a guide so I can find what connectors my current cables use as well? I'm adding a few photos that may help. The first2 are examples of the connectors that my ender 3 uses for all it's electronics after that is a fan connector for one of the fans I bought. 0_1557013325451_IMG_2494.JPG 0_1557013358756_IMG_2495.JPG 0_1557013452556_IMG_2496.JPG

                                      A Former User? 1 Reply Last reply Reply Quote 0
                                      • Vetiundefined
                                        Veti
                                        last edited by

                                        they are jst-xh connectors

                                        you just solder wires to the female one and put a heatshrink over the solder job.

                                        1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @dwfl89
                                          last edited by

                                          @dwfl89 said in Question about using existing and some new parts with duet 2:

                                          Anyone know the wording I should use to find some of these male connectors I am talking about?

                                          https://www.aliexpress.com/item/10-20-50-Factory-Sell-XH-Connector-White-2-3-4-5-6-7-8Pin-2/32907788751.html

                                          Pictures didn't upload properly btw, so I'm just going off the other guy saying they're JST-XH conenctors. Male housing and pins cost much more than male headers. You might find cheaper if you shop around. But if the move is permanent, just cut off the old XH connectors and crimp on the new ones.

                                          1 Reply Last reply Reply Quote 0
                                          • dwfl89undefined
                                            dwfl89
                                            last edited by

                                            Edited & updated my last post so photos show.

                                            @Veti So the connectors I want are jst-xh connectors to extend a few short cables.

                                            @bearer I plan to just do that for most of the cables replace the connector on the end but a couple are super short so I figured making a extension cable for them may be easier,

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