Use Arduino to Run 24v Motor with Microswitch

Robin2:
If that has any relevance then you need to tell us what role you want the Arduino to play.

...R

It's taking over the role of vending machine controller for a compact vending machine.