I hooked them up, I hooked up the pump, everything to small mosfets, to utilize the flyback diodes that are already there. The pump started working, the valve nicely turned on and off. But then I left it on for a while (say 30 seconds). Next thing I smell something burning.
Turned out that both mosfet and the flyback diode burned, and I'm trying to find the cause. There doesn't seem to be any shorts anywhere, the valve still works fine, but both the mosfet and the flyback diode are destroyed.
Looking at the datasheet of the diode used, it says that it's actually rated for 10V for reverse voltage only, while all the docs say that 24V is fine for the mosfet input votage (someone even mentioned it here: https://groups.google.com/g/smoothieware-support/c/OOvX1sTbwXs/m/6vfdoA1YBAAJ
but there was no follow up). Could this be a reason for this failure? Say the diode burned first, due to 24V>10V for the reverse voltage, the mosfet got excessive current and burned next? Did I miss something in the docs saying that?