Why use a Raspberry Pi with a Duet 3?
-
To the original question:
-
As mentioned, it is the only (supported) way to do WiFi on Duet 3 systems.
-
In addition to plain WiFi, any/all R Pi networking enhancements are available. Reverse proxies, firewalls, HTTPS, anything that you've wanted to do with the network connection of your printer beyond what RRF2 supports, now the entire portfolio of Pi networking is available, right there as part of the printer.
-
Upgrades of DWC and Firmware become a fixed sequence of two commands. Namely:
sudo apt-get update
sudo apt-get upgrade- Attaching an HDMI touchscreen allows full local control of a D3 based printer. (PanelDue works fine with a stand alone D3. With a Pi based D3, it has limitations that made me unplug it within one day).
Note that if you are concerned about "Full DWC", there are easy ways to "magnify" the DWC UI, thus making the touch buttons really big, and making the screen less cluttered. Not identical to Panel, but very similar.
- Future development is likely to be down this path. I'm sure Duet (the company and people) will back port as much stuff as they can as long as possible; still, the day will come when some feature is Pi only. It is inevitable.
Those are probably the more fact-based reasons. The "I don't like the command line" or "I don't know anything about Pi, and don't want to learn"... well, all I can say is I don't like arbitrary numeric codes for configuration. Really don't like them. Nonetheless, I do like Duet and learned the codes (really, learned to read the book) as an enabler to get Duet quality, power, flexibility, and precision. Your mileage may vary.
-
-
The video editing software that I use has multiple windows that can be shown/hidden, docked/undocked, resized and moved around at will. If one of the clever people on this forum wrote a web control which worked the same way, that would be a compelling reason for me to plug in my RPi.
-
@deckingman said in Why use a Raspberry Pi with a Duet 3?:
The video editing software that I use has multiple windows that can be shown/hidden, docked/undocked, resized and moved around at will. If one of the clever people on this forum wrote a web control which worked the same way, that would be a compelling reason for me to plug in my RPi.
I believe this is Chris' goal, and the reason he switched frameworks when he went to 2.0. Therefore, should be "Coming Soon".
Better get that Pi warming up now!!!
-
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..
-
@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.
-
@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.
-
The Pi makes for a pricy Wifi bridge, but as mentioned in a similar thread it was my main reason for using the Pi
-
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.
-
@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:)
-
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.
-
Maybe you could keep experimenting for me..
We have M20, M28 and M29 to play with.
M20 M28 /test.gcode G4 P500 M29 M20
-
@bearer it placed the file in the RPI's job folder.. still tinkering
-
Try using
M20 P"0:/"
M20 P"1:/"
andM20 P"2:/"
to see if there is a difference, if not it'll get tricky. -
as someone using octoprint & smoothieware for many years the reason for rpi on duet3 :
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/ )
...
-
@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.
-
@gfisher Awesome, try prefixing the filename in M28 with
0:/
-
@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..
-
@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?
-
@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.
-
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..