Connection Mode for Duet 3 Mini 5+ Ethernet with Raspberry Pi 5
-
Hello,
We are using the Duet 3 Mini 5+ Ethernet and need advice on the best connection mode to use with a Raspberry Pi 5. So far, we’ve identified three potential approaches:
Direct USB Mode
- Minimal components required.
- USB connection to the Duet.
- No SD card needed.
- G-code is sent to and executed on the Duet.
Standalone Mode
- Duet operates from an SD card.
- DuetWebControl available.
- Macros and configuration files are stored on the SD card.
- USB connection and G-code execution work similarly to Direct USB Mode.
SBC Mode
- Serial connection between the Pi and Duet.
- Some processing tasks are offloaded to the Raspberry Pi.
- Macros and configuration files are stored on the Pi.
- G-code execution is similar to other modes but requires selecting the serial port.
Questions and Considerations:
We have some restrictions, requirements, and open questions that need addressing:- SD Card Reliability and Security
Concern: SD cards could fail, potentially disabling the machine and requiring professional servicing (which we want to avoid).
Security Concern: Someone might access the SD card, read stored information, or modify settings, which is unacceptable. - Connection Reliability
Which connection type (serial or USB) is more reliable for communication? - SBC Mode and Raspberry Pi Performance
We already run multiple tasks on the Raspberry Pi.
How much computing power does SBC mode require? Could it overload the Pi? - Error Handling and Machine Status Updates
In SBC mode, the browser interface allows monitoring of machine status and receiving error notifications.
Are these features (status updates, error notifications) still available in Direct USB Mode or Standalone Mode?
Is there a way to receive error/machine status notifications proactively, or must we request updates through G-codes? - Custom Machine Configuration in Direct USB Mode
How are machine configuration settings saved?
Is custom firmware compilation required in this mode? - Ribbon Cable Pin Usage
We need additional UART and SPI connections from the Raspberry Pi, but the standard ribbon cable blocks all GPIO pins.
Which pins are used by the ribbon cable?
Are other UART and SPI connections still available for use? - Object Model Features
Are any object model features missing when using Direct USB Mode?
Would you be able to answer our questions and make a suggestion, which mode of operation is most suitable?
Although it would be helpful to understand our whole setup, I can unfortunately not disclose much more information, as we are an industrial customer and information is confidential. We do have an NDA with Duet3d, but I could see on the website that technical support is only given in the forum. Would you be able to also provide individual technical support to us, perhaps in a TEAMS meeting?Best Regards
-
@TobiAsis I will reply via email as some questions are rather specific to your application
-
@T3P3Tony Thanks Tony, much appreciated!