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

    Why use a Raspberry Pi with a Duet 3?

    Scheduled Pinned Locked Moved
    General Discussion
    15
    68
    8.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.
    • oozeBotundefined
      oozeBot
      last edited by oozeBot

      Thanks all for chiming in. My Duet 3 is currently running from an RPI4. I recently hooked up the PanelDue and have been on the fence with which way to proceed. What I feel will happen is I'll leave the PanelDue attached for basic control and then use my laptop to start prints and run macros (although, if I can get a copy of the macros on both the Duet and the RPI, I could run them from both..).

      While I don't have ethernet readily available at my printer, I do have an extra one of these that could be utilized. I'm just tossing this out there for others who may not know they exist..

      https://www.amazon.com/IOGEAR-Ethernet-2-WiFi-Universal-Wireless-GWU637/dp/B018YPWORE/ref=sr_1_15?keywords=ethernet%2Bto%2Bwifi&qid=1579210085&sr=8-15&th=1

      A Former User? deckingmanundefined 2 Replies Last reply Reply Quote 0
      • A Former User?
        A Former User @oozeBot
        last edited by

        @gfisher said in Why use a Raspberry Pi with a Duet 3?:

        if I can get a copy of the macros on both the Duet and the RPI, I could run them from both..

        maybe you can? try it; insert a SD card (that does NOT contain a /sys/config.g file) and see if you're able to use the macros off that SD card. will require manual sync between files if changed but worth a try while waiting for better options.

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

          @gfisher I guess that's another usage case for the RPi - if you want to use WiFi rather than Ethernet as to the best of my knowledge, Duet3 does not have WiFi.

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

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

            The Pi makes for a pricy Wifi bridge, but as mentioned in a similar thread it was my main reason for using the Pi 😊

            1 Reply Last reply Reply Quote 0
            • oozeBotundefined
              oozeBot
              last edited by

              So.. the idea of running macros from the local SD card is compelling - it's not ideal, but it would be very workable. I took a clean SD card and put a few sample macros into a folder named "macros" off the root. It works! They all show up like expected and run! I'm pleased.. it's not perfect, but that's a big step forward.

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

                @gfisher said in Why use a Raspberry Pi with a Duet 3?:

                It works!

                wow, i had that put down to about 5% probability of success... there might be options for using g-code to sync the two (but my Duet3 doesn't have a SD socket so can't play with it)

                but yeah, once you have a stable-ish set of macros its at least something, for now:)

                1 Reply Last reply Reply Quote 2
                • Nuramoriundefined
                  Nuramori
                  last edited by

                  One factor for me is to leverage the pi4 I’m using and it’s dedicated CSI video pipeline for a monitoring camera that’s more integrated than just a usb camera.

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

                    Maybe you could keep experimenting for me..

                    We have M20, M28 and M29 to play with.

                    M20
                    M28 /test.gcode
                    G4 P500
                    M29
                    M20
                    
                    oozeBotundefined 1 Reply Last reply Reply Quote 0
                    • oozeBotundefined
                      oozeBot @A Former User
                      last edited by

                      @bearer it placed the file in the RPI's job folder.. still tinkering

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

                        Try using M20 P"0:/" M20 P"1:/" and M20 P"2:/" to see if there is a difference, if not it'll get tricky.

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

                          as someone using octoprint & smoothieware for many years the reason for rpi on duet3 :

                          • the spaghetti detective
                          • telegram bot

                          those are the two reasons for me to use SBC and why have octoprint connected to the duet2ethernet ... I could not care less about wifi, I don't use wifi for anything other than phones & tablets, even cameras in my house are wired, but TSD and TB .. those I reeeeeeeeeeeeeeeally can't imagine printing without .. now others might find other stuff also very useful like:

                          • octolapse type of plugin where you can make fancy timelapses ( https://youtu.be/gJUlzVLmhSk )
                          • printer statistic ( https://plugins.octoprint.org/plugins/stats/ )
                            ...
                          oozeBotundefined 1 Reply Last reply Reply Quote 0
                          • oozeBotundefined
                            oozeBot @A Former User
                            last edited by

                            @bearer said in Why use a Raspberry Pi with a Duet 3?:

                            M20 P"0:/" M20 P"1:/"

                            You are a half-step ahead of me.. I'm new to Duet but quick to get my feet under me.

                            M20 P"0:/" and M20 P"1:/" both work and definitely read the different SD cards. P0 seems to be the local SD card on the Duet and P1 is on the RPI.

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

                              @gfisher Awesome, try prefixing the filename in M28 with 0:/

                              oozeBotundefined 1 Reply Last reply Reply Quote 0
                              • oozeBotundefined
                                oozeBot @A Former User
                                last edited by

                                @smece Adding Octoprint is compelling for sure - I honestly didn't know if it was possible while using the same RPI as a host for the duet framework..

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

                                  @gfisher said in Why use a Raspberry Pi with a Duet 3?:

                                  I honestly didn't know if it was possible while using the same RPI as a host for the duet framework..

                                  Might be possible, but doesn't make sense to me; makes more sense to run Duet3 as standalone, with usb connection to octoprint and in RRF in marlin mode?

                                  oozeBotundefined 1 Reply Last reply Reply Quote 0
                                  • oozeBotundefined
                                    oozeBot @A Former User
                                    last edited by

                                    @bearer no go on that one.. One note, it is doing some sort of UNIX based mod to commands. M28 /test.gcode results in a file named "t e s t . g c o d e". I think that is related to the issue with switching directories.

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

                                      mkay, the linux side of sd things does a lot of strange tings, as its not a sd card but just a folder on the pi's filesystem, which amongst other things is now case sensitive.

                                      you may also find the above behavior to change, as it may be unintended..

                                      1 Reply Last reply Reply Quote 0
                                      • oozeBotundefined
                                        oozeBot @A Former User
                                        last edited by oozeBot

                                        @bearer Scratch it all- SD Card 0 and SD Card 1 are both the SD card in the RPI. In the GUI under Jobs, I can switch between them..

                                        Sorry about that - I was confused when it reported that SD0 was ~4GB which is the size card I put in the Duet.

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

                                          @gfisher said in Why use a Raspberry Pi with a Duet 3?:

                                          @smece Adding Octoprint is compelling for sure - I honestly didn't know if it was possible while using the same RPI as a host for the duet framework..

                                          I think you missed my point πŸ˜„

                                          I do not think one should use octoprint with duet3!!! I think one should develop similar plugins for the Duet3 platform, and that's only possible with SBC on the Duet3, not really something you should have in firmware πŸ™‚

                                          I use octoprint with duet2eth and is really not very "duet style work" so I shoot print to duet trough "duet system", and use "duet system" for everything just like octoprint does not exist, and octoprint there just "monitors" the print and allows me to use the two important plugins for me... I'm not "printing from octoprint", so for e.g. octolapse plugin is not something I could use (not that I normally use it anyhow)

                                          I was using octoprint plugins as example what could exist on duet3+rpi, not as idea to use octoprint with duet πŸ™‚

                                          oozeBotundefined 1 Reply Last reply Reply Quote 0
                                          • oozeBotundefined
                                            oozeBot @A Former User
                                            last edited by

                                            @smece Yep, totally went over my head! lol. I would only be interested in Octoprint for some of the ancillary plug-ins like you mentioned. I do love the telegram bot..

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