Introduction
A spare endstop can be used to trigger a full system reset. we will be using the arduino to convert the flow sensor signal into an on or off state. flow or no flow.
Tools
No tools specified.
Parts
-
-
Upload this code to youre arduino nano. Refer to the diagram on how everything is connected. The hardest part is crimping the pins for the endstop connector.
-
If you are using either the Duet 2 Maestro or hardware version 1.04 of the Duet 2 WiFi/Ethernet, these boards can tolerate 5V on the endstop inputs. Or you can add 4 diodes in series to drop the voltage to 3 ish volts.
-
here is a simple case i made for the nano.
-
-
-
Now we have to tell the duet what to do with the on/off signal using the M581 command. insert this into your config file.
-
M581 E1 S1 T0 C0
-
this explains what we are doing here.
-
And thats it!!! you can test by unpluging your pump or pinching a line, it should reset within a few seconds.
-