I have a cycle switch I would like to monitor on an Arduino. I have a pump that cycles a cycle switch as it pushes oil through a pipe. If the flow stops or the switch fails, I would like to cut the pump off. Anyone have any advice? I just don't know what function I can use to create this. I may have to use an external timer, but I wanted to try to reduce parts if possible.
Thanks everyone! Kevin :)