Duet 3 Mainboard 6HC - initial production run.
-
The Freescale iMX6 platform is well supported in Linux. I wrote some of the device tree and driver stuff for it.
Not criticizing the choice of C#, just curious. I haven't done any C# development in about 10 years so I'll have to see what .NET dev tools are like for Linux these days. Hopefully there's an Eclipse plugin.
-
Hi Guys
Brain is wandering here. With this new equipment and its expansion capabilities.
Do you think one Duet-3 with expansion boards could be configured to control for example three identical printers, X3 Y axis drivers, X3 Y axis drivers X3 Z axis drivers and X3 extruder drivers all running at the same time (properly calibrated of course) im thinking print farm applications where numerous printers of the exact same make, model etc are all printing the same g-code at the same time.
Thoughts.
-
@calvinx IMHO it should be possible to augment IDEX printers to have three extruders.
-
@calvinx yes. Map the drivers to the axis and off you go. However if one printer fails you either need to pause all 3 or wait to the end of the tandem print to sort it.
-
Understood.
My next question is just looking for a little clarification on wiring between the Duet-3 and a Rasberry Pi3B+
The Engineer in me likes to be well prepared sorry..
The Wiring Diagram for the Duet-3 shows the pinouts for the SBC 26 pin connector as shown in my render below, my question is, are the pins i have question marked not used ? as they are not mentioned in the wiring diagram.
-
That's correct, those pins are not connected on the Duet.
-
David Thank you for the faster than light response.
this will allow me to make up a cable etc.
-
We intend to supply a 26 to 40 pin cable with the Duet 3 main board, however if you wish to connect to other pins of the RPi then you will need to use a splitter board or a custom cable.
-
@dc42 David this is very exciting news, I am looking forward to the possibilities for the future.
I am curious in the what way canopen was not fast enough as it is commonly used in multi axis coordinated motion control applications in Industrial automation.If you do bring canopen support into the firmware are you thinking of only supporting the newer canopen fd standard or will you be supporting the original canopen standard. I hope the original standard is supported as there tends to be a fair amount of used hardware on ebay that supports plain canopen
-
@mabover said in Duet 3 Mainboard 6HC - initial production run.:
I am curious in the what way canopen was not fast enough as it is commonly used in multi axis coordinated motion control applications in Industrial automation.
It's because the number of movements per second can be so high in 3D printers. Consider a curve that has been segmented into 0.2mm segments in the STL and is being printed at 100mm/sec. That's 500 moves/second. Each move may involve coordinated motion of 8 or more stepper motors, using today's technology.
If you do bring canopen support into the firmware are you thinking of only supporting the newer canopen fd standard or will you be supporting the original canopen standard. I hope the original standard is supported as there tends to be a fair amount of used hardware on ebay that supports plain canopen
The plan is to use CAN-FD on one of the buses for Duet3 hardware, and in future to support CanOpen (not FD) on the other one. Canopen-FD is very recent - I don't believe it existed when I started designing the protocols around this time last year, although it was talked about as a future development.
-
@dc42 said in Duet 3 Mainboard 6HC - initial production run.:
We intend to supply a 26 to 40 pin cable with the Duet 3 main board.
Excellent news.
Might I suggest a "what's in the box" list on the page that the Duet-3 is for sale on, it might help people plan.
My next question is about the control software, is the raspberry pi going to be running raspbian with a version of the DWC or whats the plan and where can obtain the required software ?
regards
-
@calvinx This probably won't help much but it might......
I've bought an RP1 4 on the recommendation of user @wilriker . Personally, I haven't got clue - never used an SBC of any sort - no idea about Linux. But to get me up and running for the TCT show, @wilriker is holding my hand. He has put together an iso disk image thingy that I've somehow managed to put on an sd card and he can hack into it remotely and do his stuff.
Anyway, I know that he uses Arch Linux rather than Rasperian. I also know that he is only using 9 pins to connect his RPi to the Duet. I think he only uses 2 gnd pins.
-
@calvinx
Might I suggest a "what's in the box" list on the page that the Duet-3 is for sale on, it might help people plan.
We have not decided all.of what's in the box yet but will do over the next few weeks. A connector pack is also being considered as the motor and medium current heaters (extruders) use JST VH connectors not Molex KK
My next question is about the control software, is the raspberry pi going to be running raspbian with a version of the DWC or whats the plan and where can obtain the required software ?
Raspian is our reference OS but @wilriker has been working with Arch Linux.
There is a new suite of software that runs on the Linux SBC called DuetSoftwareFramework that I hope @chrishamm will be able to write more about in the documentation soon. It will be installed using "apt" on top of an out the box Raspian image.
DuetSoftwareFramework has a number of programs. DuetControlServer is the core, it handles the SPI link to the Duet and pipes the gcodes and maintains an object model of the state of the printer. DuetWebServer uses the DuetControlServer API to provide DWC as we are used to using it. The design has the capability for DuetControlServer to have plugins to process the gcode and access the object model so in the future people can write plugins to do things like cancel part of the print job for example.
-
And just for the sake of completeness: on Arch Linux I maintain AUR packages for DuetSoftwareFramework so installation there is also very easy.
If the kernel on an arbitrary SBC is >=4.8 then "porting" DSF is merely a question of changing the config file for DuetControlServer since @chrishamm is using
/dev/gpiochip
for communication. -
What in your opinion makes Arch Linux a better proposal than Raspbian ?
-
@calvinx I'd say mainly personal preference. I run Arch Linux on all of my machines. I like the concept of a rolling release and having the latest version of all packages. On RPi 3B(+) there is even an
aarch64
image which let's the ARM A53 use its full potential (unfortunately there is no upstream kernel support for RPi 4B yet so this still has to wait). -
Tony, there is a bit of a conflict in the documentation https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Hardware_Overview.
The picture of the boards has a graphic with the words "6x stepper drivers rated to 4A peak". But under "Features" the words say "Six high-current advanced TMC5160 stepper drivers: SPI controlled will all the latest Trinamic features. Maximum motor current 6.3A peak per phase (4.45A RMS)."
As DC ran the thermal tests on an expansion board at 6.3A, I'm assuming the "4A" in the graphic is incorrect.
-
@gtj0 said in Duet 3 Mainboard 6HC - initial production run.:
The Freescale iMX6 platform is well supported in Linux. I wrote some of the device tree and driver stuff for it.
Not criticizing the choice of C#, just curious. I haven't done any C# development in about 10 years so I'll have to see what .NET dev tools are like for Linux these days. Hopefully there's an Eclipse plugin.
You may want to take a look at Mono for .NET. Microsoft has been putting a lot of effort into bridging the Linux gap in the last few years.
-
@phaedrux said in Duet 3 Mainboard 6HC - initial production run.:
@gtj0 said in Duet 3 Mainboard 6HC - initial production run.:
The Freescale iMX6 platform is well supported in Linux. I wrote some of the device tree and driver stuff for it.
Not criticizing the choice of C#, just curious. I haven't done any C# development in about 10 years so I'll have to see what .NET dev tools are like for Linux these days. Hopefully there's an Eclipse plugin.
You may want to take a look at Mono for .NET. Microsoft has been putting a lot of effort into bridging the Linux gap in the last few years.
Yeah, I've used Mono for running .NET assemblies for quite a while. The Microsoft .NET Core for Linux is also working fine. I just can't stand Visual Studio. Actually, the Acute plugin for Eclipse is at least workable for editing C# and I just built the DSF for both arm and x86_64 so maybe it won't be that bad. I might not even need to modify it for the Wandboard, just set the device paths in the config.json file. We'll see.
-
@gtj0 There is also MonoDevelop as an IDE. And the apps are actually based on .NET Core and as such do not need Mono (if anyone needs more recent packages of .NET Core on Arch Linux I have them in my Dropbox ).
EDIT: one of these days I need to look into finding a good Language Server for C# and then I can develop in neovim.