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.
-
@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..
-
@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.