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

Duet 2 Ethernet and SBC

Scheduled Pinned Locked Moved
Beta Firmware
29
302
32.6k
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
    T3P3Tony administrators @deadwood83
    last edited by T3P3Tony 14 Sept 2020, 19:50

    @deadwood83 R100,R101,R105 on the SPI lines on the Duet 2 side are 47R. There are relatively short lines from those resistors to the relevant pins. External copper is 2Oz and these are 0.25mm traces. internal solder is 1Oz, same trace width.

    Where we use those buffers on the Duet 3 we don't have series resistors in the circuit as well as the buffers so the 470R is probably unnecessary

    www.duet3d.com

    1 Reply Last reply Reply Quote 0
    • undefined
      deadwood83 @arhi
      last edited by 15 Sept 2020, 01:16

      @arhi said in Duet 2 Ethernet and SBC:

      @deadwood83 said in Duet 2 Ethernet and SBC:

      The schematics/PCB

      awesome 🙂 thanks
      Did you made this in kicad and exported to easyeda or you made it directly in easyeda. I can redraw it in kicad but if you already have it in kicad it would save me some time 😄

      I made it in EasyEDA. I keep trying to go to KiCAD but snap to grid just... drives me completely insane. I wager that will become pretty much mandatory once I graduate beyond 2-layer.

      @smoki3 said in Duet 2 Ethernet and SBC:

      @deadwood83 Cool design. I use a would use a similar one but with an integrated 5V DCDC converter to power the raspberry. Otherwise you need an external one which is not so pretty and easy to use.

      I also integrated the same pin layout as on the raspberry to use a simple ribbon cable.

      But actually the firmware is the first thing which need to be fixed 🙂

      I fear that any buck which would fit on a reasonable sized board would not be up to snuff. I have seen LMs and MP bucks burn Pi's faaaar too many times to feel comfortable putting one in one of my designs. Also, when you put power to the pi through GPIO it is my understanding that it bypasses a significant section of input protection. I will stick to $10 10A converters. Much safer to run 10-30% of a very cheap piece of kit's rating IMO when it has questionable pedigree.

      RE: Ribbon cable; My personal preference is to twist MISO/MOSI lines from individual conductors. CS has a buffer resistor near the node end (and doesn't have the sensitivity of the other 3) and 3v3_Pi isn't near the SPI pins anyway. Plus anybody soldering to a 3d printer controller probably has some dupont connectors #DiabloEternal

      RE: Firmware fix; from the RF3.2 excel spreadsheet -
      Duet+SBC support
      Duet 2 SBC support Done
      🤘

      @PCR said in Duet 2 Ethernet and SBC:

      @deadwood83 Wrote you a PM

      Replied

      @bearer said in Duet 2 Ethernet and SBC:

      @deadwood83 said in Duet 2 Ethernet and SBC:

      2 layer FR4 1.6mm 1-Oz copper PCB

      4 layer and 2 Oz for the Duets

      Understood, my impedance calcs were based on my cheap PCB though. I am not worried about the Duet circuitry since it comes from more capable designers than I

      @T3P3Tony said in Duet 2 Ethernet and SBC:

      @deadwood83 R100,R101,R105 on the SPI lines on the Duet 2 side are 47R. There are relatively short lines from those resistors to the relevant pins. External copper is 2Oz and these are 0.25mm traces. internal solder is 1Oz, same trace width.

      Where we use those buffers on the Duet 3 we don't have series resistors in the circuit as well as the buffers so the 470R is probably unnecessary

      Thanks Tony. I have updated my PCB layout to remove that and will put a simple solder bridge once my PCBs arrive. Being 0403 size, it could probably be bridged with a c-store lighter! (I will use my T12 station)

      undefined undefined 2 Replies Last reply 15 Sept 2020, 01:46 Reply Quote 0
      • undefined
        arhi @deadwood83
        last edited by 15 Sept 2020, 01:46

        @deadwood83 said in Duet 2 Ethernet and SBC:

        I keep trying to go to KiCAD but snap to grid just

        😄 😄 😄 I'm still getting used to KiCAD since I don't have access to licenced Altium any more and since I don't allow "cured" software on my computers had to find alternative and KiCAD is kinda best I managed to find.

        The grid thing .. what I do is I make my own set of trace widths and my own grid values and then I switch between them ... there's probbly a better way to do it but...

        I wanted to steal from your design the dimensions - position of headers vs that hole on top and the screw and ... but since I'm doing a push-on daughterboard (I used eth modules so remove eth board, plug in this one) with 5A DCDC and maybe some leds I might actually don't need to worry about positions...

        undefined 1 Reply Last reply 15 Sept 2020, 05:37 Reply Quote 0
        • undefined
          deadwood83 @arhi
          last edited by 15 Sept 2020, 05:37

          @arhi

          There is a PCB in the EasyEDA link which is closed off and with through-holes for the ethernet board for those who want to just stick on some headers and go. The components are low-profile so it will fit top or bottom.

          The only things you would need to add are 5v buck and some LEDs. Look in the EasyEDA project for ethernetPCB and you will find it there, ready for you.👍

          undefined 1 Reply Last reply 15 Sept 2020, 10:05 Reply Quote 0
          • undefined
            wilriker @deadwood83
            last edited by wilriker 15 Sept 2020, 08:15

            @deadwood83 said in Duet 2 Ethernet and SBC:

            RE: Firmware fix; from the RF3.2 excel spreadsheet -
            Duet+SBC support
            Duet 2 SBC support Done

            Unfortunately this support is currently limited to Duet 2 only, i.e. no DueX2/DueX5 connected.

            EDIT: the above is still considered a preliminary limitation and it is being worked on to get this resolved.

            Explicitly pulling the ESP_Enable line down (for a still present Wifi module) should be added to firmware soon.

            Manuel
            Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
            with probably always latest firmware/DWC (incl. betas or self-compiled)
            My Tool Collection

            1 Reply Last reply Reply Quote 0
            • undefined
              arhi @deadwood83
              last edited by 15 Sept 2020, 10:05

              @deadwood83 seen that but I want to make it different (a pcb that will plug directly into rpi + duet), but looks like easier to measure distance of the hole from the header than reworking the easyeda project ... I'll share the project when I make it

              ? 1 Reply Last reply 15 Sept 2020, 10:15 Reply Quote 0
              • ?
                A Former User @arhi
                last edited by 15 Sept 2020, 10:15

                @arhi said in Duet 2 Ethernet and SBC:

                but looks like easier to measure distance of the hole from the header than reworking the easyeda project .

                the kicad sources for the duet gives you all the measurements, with the measurement tool in kicad? I used that to print a piece to glue some dupont headers to and keep the holes for the stand-offs.

                undefined 1 Reply Last reply 15 Sept 2020, 10:35 Reply Quote 1
                • undefined
                  arhi @A Former User
                  last edited by 15 Sept 2020, 10:35

                  @bearer said in Duet 2 Ethernet and SBC:

                  the kicad sources for the duet

                  HAAHA I did not see the tree from the forest ... thanks, I was trying to move the tiny board to kicad, danced with calipers... loading kicad source of the duet2eth board did not at any point come to mind 😄 😄 😄 thanks, that solves my problem 100%

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    arhi
                    last edited by arhi 18 Sept 2020, 20:10

                    I went with a WAAAAAY bigger board to avoid using any cables. Something like this .. I kept all 3 mount holes for the wifi board, expanded the board outside of the duet pcb so that this board can plug directly, in the same time, into duet and into rpi so no cables .. I also added a header for RX/TX for uart1 on the duet since it's not used any more might be useful for cnc pendant or second screen or ..

                    b92a983e-8ddb-41f1-a787-13de71aa781f-image.png

                    8c22c68b-1c76-42f5-b8ff-fd56d3784aac-image.png

                    815cba65-b9c1-4c5a-afc4-9b992c68679e-image.png

                    I still suck at kicad big time but this should work .. kicad files who wanna play, maybe make better

                    ? undefined 2 Replies Last reply 18 Sept 2020, 21:20 Reply Quote 1
                    • ?
                      A Former User @arhi
                      last edited by 18 Sept 2020, 21:20

                      @arhi said in Duet 2 Ethernet and SBC:

                      into duet and into rpi so no cables

                      interesting!

                      undefined 1 Reply Last reply 18 Sept 2020, 21:33 Reply Quote 0
                      • undefined
                        arhi @A Former User
                        last edited by arhi 18 Sept 2020, 21:33

                        @bearer said in Duet 2 Ethernet and SBC:

                        @arhi said in Duet 2 Ethernet and SBC:

                        into duet and into rpi so no cables

                        interesting!

                        I just ordered assembled boards from jlpcb (trying them out for the first time, normally I was using seed, itead and dirty) should be here in 5-6 days so will say how it works (or not 😄 )

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          JoergS5 @arhi
                          last edited by 18 Sept 2020, 22:00

                          @arhi I agree, it is an interesting idea to design without cables.

                          undefined 1 Reply Last reply 19 Sept 2020, 00:48 Reply Quote 0
                          • undefined
                            arhi @JoergS5
                            last edited by 19 Sept 2020, 00:48

                            @JoergS5 said in Duet 2 Ethernet and SBC:

                            @arhi I agree, it is an interesting idea to design without cables.

                            made sense to me, we'll see, fedex normally arrive inside 7 days so .. not a long time to wait and not expensive (2$ for 5 pcb's, 15$ assembly+parts, 15$ fedex) ideal board to try out the jlcpcb system

                            undefined undefined 2 Replies Last reply 26 Sept 2020, 09:30 Reply Quote 0
                            • undefined
                              deadwood83
                              last edited by 25 Sept 2020, 15:21

                              Have you ever had a DHL driver scream at you then throw a package at your face while shouting "Social distancing?"

                              Yeah, me either. They do leave things at my door and run away though. Jumper for scale.20200925_091645.jpg

                              Look at those tiny resistors. Aren't they cute? you could accidentally desolder them with an intense gaze. I'm going to do just that to R1 and at least once to an R2.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                smoki3
                                last edited by 25 Sept 2020, 15:57

                                Any news about a firmware fix for SBC and Duex5?

                                undefined 1 Reply Last reply 27 Sept 2020, 19:28 Reply Quote 0
                                • undefined
                                  deadwood83
                                  last edited by 25 Sept 2020, 18:21

                                  Dry run looks super promising. I goofed though and realized I do not have any 24->5V USB-C power delivery units.

                                  Duet2SBC_DryRUN1.JPG
                                  Duet2SBC_DryRUN2.JPG
                                  IMG_20200925_121720.jpg

                                  Now I need to build out a male-male harness, throw this on my delta, solder a second board to the delta duet, and try a real run.

                                  undefined 1 Reply Last reply 25 Sept 2020, 19:19 Reply Quote 0
                                  • undefined
                                    smoki3 @deadwood83
                                    last edited by 25 Sept 2020, 19:19

                                    @deadwood83 would be cool to have an integrated 5V regulator

                                    I used this one:

                                    https://www.amazon.de/PEMENOL-Einstellbar-Spannungwandler-Stromversorgung-Wirkungsgrad/dp/B07DP2MDJQ/ref=mp_s_a_1_2?dchild=1&keywords=5v+buck+converter&qid=1601061499&sprefix=5v+buxk+&sr=8-2

                                    They are super small. But I have to wire them with a cable directly from 24V

                                    undefined 1 Reply Last reply 26 Sept 2020, 04:27 Reply Quote 0
                                    • undefined
                                      deadwood83 @smoki3
                                      last edited by 26 Sept 2020, 04:27

                                      @smoki3 it would still require traces back to the 24v input. Also, the coils used on those (and more often the B or C-lot mp1584) are intolerant of feedback on the 12/24v line. Not to mention the RF noise it generates and the extra heat to dissipate. When the fail, they fail open. If that overwhelmed the 3.3v stepdown on the pi it would probably damage the input buffers on the PCB; so then you're either doing micro soldering or putting on a whole new daughterboard just to avoid running one tap from the PSU and a dedicated 5V for the pi.. in addition to having to buy a new pi.

                                      Add that to quadrupling the PCB cost due to needing to stretch all the way back to the inputs and suddenly that mod costs Pi+PCB+Time+Risk to damaging mainboard. Add a voltage regulator after the input and the PCB SMT cost skyrockets due to small quantity. It's just not worth it and defeats the tiny form factor. One of my goals was to give people an option to add SBC support without having to redesign mainboard housings.

                                      In comparison, a 50W Meanwell 5V supply is ~USD $13 and includes a meshed RF-blocking shell (for the high frequencies that could interfere with comms); voltage regulation; transient handling; and is not exposed to feedback spikes from, say, a ceramic-potted heater cartridge.

                                      The design is fully open source. I won't ever put a cheap digital buck, but nothing stopping you from dipping a toe into PCB creation and doing it yourself. That's how I got started, and I highly recommend it. It's pretty fun!

                                      My 5v PSU and USB-C hookup should be here Wednesday. Kudos to the firmware team for the excellent work on the Duet2 SBC support. I have not been able to derive a synthetic test which causes it to fail where standalone does not. I still have 4 PCBs I am willing to send at the cost of postage to homes in the continental USA.

                                      1 Reply Last reply Reply Quote 2
                                      • undefined
                                        taconite
                                        last edited by 26 Sept 2020, 09:22

                                        Wow awesome what you guys put together here!!
                                        Have some of you thought about a "official" step-by-step guide for duet 2 ethernet and wifi?

                                        Custom ANET A8
                                        Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                                        All I do here is under this license: CC BY-NC-SA

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          oliof @arhi
                                          last edited by 26 Sept 2020, 09:30

                                          @arhi I'd be interested in getting a board or two if you have spares (-;

                                          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                          undefined 1 Reply Last reply 26 Sept 2020, 09:58 Reply Quote 0
                                          179 out of 302
                                          • First post
                                            179/302
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA