So i have found a way for arduino to control my hoist. but is there an better / easy way then what i have done?
On the picture you can see that i have taken 4 wires with 2 cables in eatch, and then use a relay to connect / cut the connection of first 1, hoist down and 2, hoist up.
I cant connect the 2 sides to 1set of cables as the hoist just sound wired and dont run, so right now im using 4 relays and 8wires to control it.
Is there a better way?
What you see on the picture is the handle with the push up and down button.
I have now added a picture of the print. on button press it will set output for relay 1and 2 for 2000ms and then wait 2000ms and then relay 3and 4 for 2000ms.
He's trying to emulate a DPDT switch using SPST relays. It's just a hoist; the switch allows it to reverse the current to the motor -- forward, off, reverse.
It can also be done with three SPST relays but I dunno if that's any better or worse than what you have.