mcornejo14 said:
Hello, I'm trying to re-purpose a 3D printer board (mks gen L v1.0) to trigger a 24V 0.75A solenoid valve. My idea was to connect the leads of the solenoid valve to the connector for the extruder or hot bed. This way, I can use the Mcode that sets the temperature to turn on the valve and then set the temperature back down to zero to turn it off. Or would it be best/easiest to add/edit custom/unused Mcodes?
Did you manage? I guess you prnting with a media under pressure that you dont have to extrude, just open close?
why not disconnect heater, put a monostable on the extruder stepper pin , or it with DIR to close the valve imediately when the extruder retract?