Stratadue: Duet 2 to Stratasys Interface
-
I found some more pins that I had not documented. Looks like I'll be needing to add a few more I/O pins on a new hardware revision.
The uPrint has a pretty interesting feature where the Power Switch acts as a conventional On/Off switch, where A/C power flows through it. However once running, an internal relay takes over the voltage switch. So you can turn it on with a conventional power switch, but once it is turned on, the internal computer can take over and control the power. The power switch essentially becomes a momentary switch after that and the Duet can read the On/Off power switch status. I'd like for the Duet to also have this ability, so a hardware revision is necessary. A shutdown macro should ensure heaters are disabled, fans are run, temperatures are below a certain threshold and the build plate is stowed before the power is ultimately turned off.
There are also a few more things found such as a head Thermostat. The documentation about what it's function is, is not very detailed. It appears to be yet another safety switch that should be monitored.
I have still not determined why the system enable is not fully +5V on. The custom firmware has not been successful at allowing me to use the additional I/O chip yet.
-
I had a minor breakthrough on the uPrint today. I found that my changes to the firmware were actually successful. See pull request here. Both I/O chips are present and working, though the assignment of pins is still a little hit or miss. That is what was causing some issues, some things were working and others were not.
As of now I have control over the chamber heaters, extruder heaters, fan and the end stops are now working. Enabling the motors lock them up, but it is apparent there is something not quite right. They are noisy and do not lock up fully. I also have not yet gotten any movement out of them.
I also found that I made a fundamental mistake with the 'Power Enable' signal. I had assumed it was a standard I/O signal and therefore my logic level shifter would be sufficient to send the signal high. I'm finding now that it is actually a power signal and therefore needs a higher current signal. As soon as the 120VDC power supplies are enabled (which take the power enable signal directly) the voltage drops down to the 2-3 volt range. They are pulling the signal low.
It is possible my motor enable signal is also requiring a stronger signal.
I have updated the Reference on my Wiki with updated signal information and a few more Stratasys boards: https://wiki.cnc.xyz/Stratasys_uPrint_Retrofit#Reference
-
@AJ-Quick said in Stratadue: Duet 2 to Stratasys Interface:
...the assignment of pins is still a little hit or miss. That is what was causing some issues, some things were working and others were not.
Whoops, turns out I had capitalized the variables in the firmware. Once fixed, the logical pin assignments work correctly.
-
I was able to do some testing of the thermocouples on the uPrint. I found that they output data on these ranges:
Chamber: 23 - 90 degrees C
Model and Support: 89 - 345 degrees CThese ranges are +/- 2-3 degrees, did not have a very accurate meter when measuring.
The test points on the PDC are adjusted so that 1V = 100 degrees, 5v = 500 degrees.. etc. But that is not the same signal that is output on the header J15.
Under normal operation, 80 degrees C is the max for the chamber and 330 degrees C for the model and support. It makes sense that it is capable of reading just outside of that range. No idea why they would put the bottom end of the range where they did.
-
The latest design. Hopefully will be assembled and in-hand by the end of next week.
So many little changes between this version and the last. Namely: The Power Enable now uses a MOSFET to supply higher amperage to the Stratasys PDB.
New features:
-Control over the printer's main power supply. If the power switch is flipped off, the board will be able to keep it alive and go into a controlled shutdown. The Duet will be able to turn itself off in a controlled manner.
-Head Thermostat signal. There is an internal thermostat inside the printer's head that will trip if temperatures exceed a set point (100 degrees C). This is in addition to the head and chamber temperature alarms, and the three thermocouples.
-Bed Level Probe has an enable / disable. As it turns out you can turn the bed level probe on and off, so that it is only detecting when it is going through the bed leveling routine. This was discovered and added to this revision. Previously the bed probe was always enabled. I believe the reason for this is that the bed probe uses the signal to determine when the probe is stowed and then when it is sensing the presence of the bed.Finally all uPrint printers (and presumably Dimension and Fortus) have a secret Machine ID eeprom located on the main body of the machine. This eeprom contains the serial number of the printer and the type of printer. On Stratasys machines, the hard drive contains the code to run all models of their printers. The eeprom tells the on-board computer what software to run. I found that the eeprom runs on a serial data bus, which the Duet2 has available. I figured I would breakout the signals and include an area where the signals could be read by the Duet2 should the need ever arise. The signals are by default not connected, but can be added by bridging the solder joint.
My thought is that it could be possible for the Duet2 to read the eeprom and verify what type of machine it is plugged into (uPrint, Dimension, Fortus) and then load the appropriate configuration. It is completely unnecessary though.
-
This project is currently on hold. I had to go back to work on other things.
I have not yet ordered a new revision of the hardware as I need to make sure that the Attiny85 is actually capable of driving the servo and steppers in a robust manner. I worry that the processing rate of the Attiny is not fast enough for the servo motor. Tuning is very difficult. I have some control over the servo in a closed loop, but am worried about lost steps, overshoot and oscillation.
-
I just stumbled upon this project and i'm amazed !!! Great work !!! I'm looking forward to the day where i can order one for my printer
-
Is this still happening?
Can we get an update -
Would love to give you a hand, I was a field engineer for the larger fortus machines for 6 years.
-
@aj-quick Hello, I would be really interested in ordering the Stratadue PCB. Is this project still active or where could buy this adapter? Thank you very much.
-
@mafco77, et al
I have received a lot of messages regarding this, so I figured I would post an update here.
I have not gotten any further with the Stratadue project.
The limitation remains determining how to control the steppers and servo motors through the Attiny85. Perhaps the Attiny85 was a bad choice in chip as I am using literally all the pins for IO and that means reprogramming can only be done via a high voltage programmer. If I were to continue, I would need to swap to a device with more pins or an Attiny85 in a DIP socket.
I cannot remember, but I believe the device requires a Duet2 with custom firmware. Not sure if my changes for the multiple expansion chips was ever merged into the main code or not. It's unfortunate that Duet3 came out soon after I started working on this and it doesn't appear to be compatible either. Bad timing unfortunately!
I do have a few PCBs built, but without the Attiny85 code, and custom Duet firmware, I'm not sure it would be of much use. I still have ~10-12 uPrint printers sitting around gathering dust too! I would love to get them up and running but I believe technology has advanced so much that newer / cheaper printers are leaps and bounds better.
-
@AJ-Quick From where can I get this board?