Why use a Raspberry Pi with a Duet 3?
-
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.
-
@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
-
@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..
-
@gfisher yeah, telegram bot is my main monitoring solution for many things, including 3d printing .. now I'm sure when duet3 becomes common the plugins will start to come, just like they did for octoprint..
-
@Phaedrux said in Why use a Raspberry Pi with a Duet 3?:
@gfisher said in Why use a Raspberry Pi with a Duet 3?:
Plus I can fully utilize my PanelDue.
This is actually proving to be a sticking point for me as well. A HDMI touchscreen with fill DWC is honestly more than I need or want for at the printer controls. I've gotten used to the PanelDue layout and have a lot of macros that are suited for the screen. For this reason I'm thinking of running standalone for the time being.
Eventually the SBC will have some plugins and features that might change that however.
I should have a version of DueUI for the SBC/DSF ready for testing on Monday if you're interested. It's been working great on my HDMI touchscreen.
-
Is there a plan to have a Duet3 with Wifi?
Also, does the ethernet connection provide significantly faster file transfer than the wifi of the Duet2? (my duet2 wifi file transfer is slow in general).
-
@zapta said in Why use a Raspberry Pi with a Duet 3?:
Is there a plan to have a Duet3 with Wifi?
We don't plan to do a WiFi version of the existing Duet 3. We plan to refresh the Duet 2 range later this year, but we haven't decided what to call it yet.
Also, does the ethernet connection provide significantly faster file transfer than the wifi of the Duet2? (my duet2 wifi file transfer is slow in general).
In my office, with good WiFi signal strength, I get around 800kbytes/sec to both Duet WiFi and Duet Ethernet, if CRC checking is disabled.
-
@dc42 so what is keeping the PanelDue from reading the list of macros and jobs on the RPi’s SD card? If I modify HomeX on the RPi to play a sound and then press HomeX on the PanelDue, it plays that sound- meaning it is calling the copy on the RPi.. the same should be possible for macros and jobs.
If this could be accomplished, I think the PaenlDue would become much more useful for the new generation of Duet 3.. please consider looking into this.
Thank you, Gabe
-
Hmm. Another idea, if you put on the PanelDue SD card macros that only contain one line ala
M98 Pmacro1.gcode
I'm guessing the Duet would executemacro1.gcode
stored on the SD card in the Raspberry Pi?