Open q3ok opened 6 years ago
Sounds like a good idea. However, I'd rather not go the way of having users making OR gates for themselves. Merely checking two pins should be easier from end user perspective.
I was thinking about logic gate, as soon there will be no enough free pins to connect something more :) 5 stepsticks + software SPI to avoid problems with SD cards, its 8 pins, so the whole AUX2 on ramps will be used, two pins for filament runout sensor and stallguard from E motor, and only 4 pins are left, when the RRD fan extension will be used - even no more easily accesible pins. More pins free will be available only if not every endstop will be used, but using the sensorless homing on X and Y can give 2 free pins from MAX endstops. And it's still on just one extruder, what if we want to have additional extruder, also driven by TMC2130? Even with any multiplexer, there can be a problem :)
I second this initiative! I have azteeg x5 gt, got it to compile with your bf2 2660 branch with all tmc2660 5x drivers. I have a filament runout sensor conected but adding the stallguard to the 2660's is the challenge. Let me know if I can test anything for you?
While the DIAG1 on X and Y axis can be used for sensorless homing, there I found additional usage of the stallGuard for E axis. It can be connected to filament sensor pin, to trigger the M600 when the filament is clogged, and detected by TMC2130. Together with filament sensor and connected with OR logic gate made from two diodes and resistors this can detect more problems with the filament. I strongly believe it's not a big problem to implement this, as it should be just enabling the DIAG1 as stallGuard on E stepstick, and there will be more with the cable connections :)