External TMC 2208 UART
-
that give some more hints.
the mastro has an expansion port for 2 additional tmc2224 drivers. the fact that there are 2 uart ports indicates the need for uart.
however the tmc2208 need one uart per driver.
the new tmc2209 can use up to 4 driver per uart because they implement hardware addressing.marlin has an implementation for the LPC1768 chip that implements software serial, which allows to use non uart pins for the serial communication. but porting something like that would be far beyond any cost benefit.
i could think of an ugly workaround. you use an external source for the configuration.
see https://learn.watterott.com/silentstepstick/configurator/
and configure the stepper with a pc, but you would need to do the reconfiguration every time the duet starts. -
@deckingman yes, both will fitted, it's more about being lazy and not wanting to disconnect everything every time I do a tool change So was hoping to do a quick release system for the hotends to change between the diamond and the V6, but still have the extruders and cables connected.
I have been been toying with the idea of using the V6 on a secondary independent X carriage for doing supports with cheaper filament. But this will take me a while to figure out.
-
@veti I thought of that, but if a power failure were to occur, the drivers would lose their config and print resume would be an issue.
I came across this last night while trying to find info on ways to accomplish this.
https://www.instructables.com/id/SPI-to-4-x-UART-Bridge-MULTIUART/
But, it would probably cost more than buying 3 TMC2130 drivers.
-
Maybe this is of interest, guy using an external MCU to configure his TMC2208 at power on, leaving the original controller to do the step/dir stuff. I guess you could go one step further and craft a specially formatted M117 message that the external MCU could pick up and configure accordingly to make it a litt less of a pain to change the config.
https://github.com/Sergey-77/Cetus3d_TMC2208/blob/master/3_steppers_version/Attiny85_firmware_v2.ino
-
Thanks @bearer , will definitely check it out.
-
Come to think of it, I did upload a thing that parses the json message for the M300 beeps, should be relatively simple to adapt to parse the json sent by M117 and pick out the stuff you want and send it on with software serial from the esp8266 as well.
https://forum.duet3d.com/post/99591
also has another link to a similar effort.
-
You may want to look at the SMuFF which uses the paneldue port and an esp to control the filament changer from another printer board.
-
@oliof Ironically, one of my printers is an i3 mini
-
The standard firmware supports only one type of smart stepper driver per board. For the Duet WiFi/Ethernet this is the TMC2660. For the Duet Maestro it is the TMC2208/2224 which are the same chip in different packages. So on the Meastro you can add two UART-controlled TMC2224 or TMC2208 drivers. On the WiFi/Ethernet you can add TMC2660 drivers. You can also add "dumb" step/dir/enable drivers. This could include TMC2208 drivers but they wouldn't be UART-controlled.
-
@dc42 thank you very much for the reply DC.
Looking at the pin header of the Duet 2, I only see 2 x 3.3v power supplies. (On the 50 pin connector) Can I wire more than one board to the pin, or is it advisable to rather maker use of the two available on the 50 pin interface and wire the 3rd to the LCD-CON?
-
Yes you can use a single 3.3V pin to power multiple devices.
-
@dc42 Thanks DC, will post updates in case anyone is ever interested in doing the same.