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

    Connection between Duet 3 6HC and SBC (Pi4)

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    16
    788
    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.
    • Dr_Ju_Juundefined
      Dr_Ju_Ju
      last edited by

      Hi Peeps,

      Is there a definitive list/diagram designating the required connection between the Duet and Pi4 GPIO connector, as all the guides just state to use the supplied ribbon cable (https://github.com/Duet3D/DuetSoftwareFramework/wiki/SBC-Setup-Guide etc.), but I also want to use the GPIO connector for other uses, e.g. external 5v input, so I need to know what is actually required.

      Thanks in advance..

      Julian,

      Old goat, learning new things….

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • rjenkinsgbundefined
        rjenkinsgb
        last edited by

        Both the 6HC and the Pi have alternate connections that can be used for the 5V supplies; they are preferable to the ribbon headers if possible.

        The connector pinouts are given in a table half way down this thread:
        https://forum.duet3d.com/topic/11540/duet-3-mainboard-6hc-initial-production-run/22

        You can also get splitter connectors such as these, to allow connection with the ribbon plug in place:
        https://www.amazon.co.uk/GeeekPi-Connectors-Raspberry-Expansion-Compatible/dp/B088DB57RY

        Robert J.

        Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

        Dr_Ju_Juundefined 1 Reply Last reply Reply Quote 0
        • Dr_Ju_Juundefined
          Dr_Ju_Ju @rjenkinsgb
          last edited by

          @rjenkinsgb thanks for the info, but it looks like I'll still be chasing it out / testing, as the linked article doesn't show that the 3.3v line is needed, but the linked Git page, under troubleshooting, it states to check continuity of the line ??

          The use of a splitter is limited, as I've fitted a full heatsink to Pi as I've had past issues with overheating .

          Julian,

          Old goat, learning new things….

          gloomyandyundefined rjenkinsgbundefined 2 Replies Last reply Reply Quote 0
          • gloomyandyundefined
            gloomyandy @Dr_Ju_Ju
            last edited by

            @dr_ju_ju The schematic for the Duet3 provides details of the pins in use at the duet end of things, it should be pretty straight forward to project them onto the rPi connector: https://github.com/Duet3D/Duet3-Mainboard-6HC/blob/master/Duet3_Mainboard_v1.01/Duet3_MB_Schematic_v1.01.pdf

            Dr_Ju_Juundefined 1 Reply Last reply Reply Quote 0
            • rjenkinsgbundefined
              rjenkinsgb @Dr_Ju_Ju
              last edited by

              @dr_ju_ju said in Connection between Duet 3 6HC and SBC (Pi4):

              The use of a splitter is limited, as I've fitted a full heatsink to Pi as I've had past issues with overheating .

              You will almost certainly need a vertical extender then; I use full heatsink cases on my Pi's and the IDC connector will not fit directly, it needs an extended header.

              Be sure to get one that has the proper square pins, many economy ones have thin pins that do not work well with other connectors.

              You could stack a splitter on the extender?

              Robert J.

              Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

              1 Reply Last reply Reply Quote 0
              • Dr_Ju_Juundefined
                Dr_Ju_Ju @gloomyandy
                last edited by

                @gloomyandy yep, the link shown the circuit diagram of the Duet 3, but it does NOT detail the required connections between it, and a Pi4.

                Also, I may well replace the Pi with either an Odroid/Pine64 device, so want what is actually required.

                Julian,

                Old goat, learning new things….

                gloomyandyundefined 1 Reply Last reply Reply Quote 0
                • chrishammundefined
                  chrishamm administrators @Dr_Ju_Ju
                  last edited by chrishamm

                  @dr_ju_ju I've been using a GPIO shield for my Pi so I can use a Duet 3 with a Pi touchscreen:

                  6e064fe8-4646-49ef-8f37-9ed0aa0afcbc-image.png

                  For SBC mode you need:

                  • +3.3V
                  • GND
                  • SPI0 (with CE0)
                  • GPIO25

                  You could use SPI1 instead of SPI0 or another GPIO pin instead of GPIO25, but that would require extra configuration steps on the Pi and in /opt/dsf/conf/config.json.

                  Duet software engineer

                  Dr_Ju_Juundefined 1 Reply Last reply Reply Quote 0
                  • gloomyandyundefined
                    gloomyandy @Dr_Ju_Ju
                    last edited by gloomyandy

                    @dr_ju_ju Page three of the schematic shows the connections to the SBC connector (and which pins within that connector are in use). Since this then connects to a simple ribbon cable and then to the rPi header it is relatively easy to work out the rPi connections. What is it that you think is missing? Other than the 5V supply (which needs to be provided to the rPi in some way), I'd say that all of them are required. You may be able to reduce the number of ground connections (or possibly use alternate ground pins on the SBC connector) but I'd be cautious about doing this as you may find doing so introduces noise problems.

                    1 Reply Last reply Reply Quote 0
                    • achrnundefined
                      achrn
                      last edited by

                      The wiring diagram on teh dozuki lists the pins in the connector, which I find easier to lay my hands on than the schematic.
                      https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Wiring_Diagram

                      It lists the 3.3V connected.

                      What I've done for using other connections for other things (including injecting 5V to teh Pi) is to use a stacking header and a little bit of tri-pad stripboardbetween teh ribbon and the pi.

                      1 Reply Last reply Reply Quote 0
                      • Dr_Ju_Juundefined
                        Dr_Ju_Ju @chrishamm
                        last edited by

                        @chrishamm Unfortunately the case I'm using works well, but severely limits access to the GPIO connector, i.e. it doesn't allow the use of a standard ribbon connector

                        Pi4.jpg

                        Julian,

                        Old goat, learning new things….

                        achrnundefined rjenkinsgbundefined 2 Replies Last reply Reply Quote 0
                        • achrnundefined
                          achrn @Dr_Ju_Ju
                          last edited by

                          @dr_ju_ju said in Connection between Duet 3 6HC and SBC (Pi4):

                          it doesn't allow the use of a standard ribbon connector

                          Is it just the corners? It looks like a few minutes with a file would make it fit...

                          Dr_Ju_Juundefined 1 Reply Last reply Reply Quote 0
                          • Dr_Ju_Juundefined
                            Dr_Ju_Ju @achrn
                            last edited by

                            @achrn Nah, its not just the inner corners, but the depth, and amount of material that is used for the mounting screws etc....

                            Julian,

                            Old goat, learning new things….

                            achrnundefined 1 Reply Last reply Reply Quote 0
                            • achrnundefined
                              achrn @Dr_Ju_Ju
                              last edited by

                              @dr_ju_ju That's a shame (but I did kind of think if it was that simple you'd have done it already).

                              The Pi4 has better thermal and power management than previous Pis and consensus seems to be it actually tends to have fewer heat problems than less powerful models. Mine driving a MB6HC has been entirely happy with one of these: https://shop.pimoroni.com/products/raspberry-pi-4-heatsink but I understand you might want to stick with what is proven in your setup.

                              1 Reply Last reply Reply Quote 0
                              • rjenkinsgbundefined
                                rjenkinsgb @Dr_Ju_Ju
                                last edited by

                                @dr_ju_ju said in Connection between Duet 3 6HC and SBC (Pi4):

                                Unfortunately the case I'm using works well, but severely limits access to the GPIO connector, i.e. it doesn't allow the use of a standard ribbon connector

                                I use the same (or very similar) heatsink assemblies - they are fine with an extender added, eg. a header socket with wire-wrap style pins the IDC connector fits to.

                                The ones I found that have the proper square pins but still cheap were "Geekworm" 2*20 Pin female header kits
                                https://geekworm.com/products/geekworm-raspberry-pi-2x20-40-pin-gpio-stacking-header-extender-kit

                                They are available on Amazon etc.

                                Pi_Duet_6HC.jpg

                                Pi_Header.jpg

                                Robert J.

                                Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                                Dr_Ju_Juundefined 1 Reply Last reply Reply Quote 2
                                • Dr_Ju_Juundefined
                                  Dr_Ju_Ju @rjenkinsgb
                                  last edited by

                                  @rjenkinsgb I have some of those on order, but they appear to be lost in the xmas postal rush 😞

                                  BTW, your picture still shows that you are using the ribbon cable, which I do not want to use, so I still need what actually needs to be connected ??

                                  Julian,

                                  Old goat, learning new things….

                                  rjenkinsgbundefined 1 Reply Last reply Reply Quote 0
                                  • rjenkinsgbundefined
                                    rjenkinsgb @Dr_Ju_Ju
                                    last edited by rjenkinsgb

                                    @dr_ju_ju said in Connection between Duet 3 6HC and SBC (Pi4):

                                    Unfortunately the case I'm using works well, but severely limits access to the GPIO connector, i.e. it doesn't allow the use of a standard ribbon connector

                                    ????? I was responding to that post.

                                    The required connections have already been linked in this thread, two or three times.

                                    eg.
                                    https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/33DEuEJZXP16vLbF.huge

                                    Robert J.

                                    Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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