How to get a linear actuator to open & close a door & switch a relay at the end of the stroke so it reverses direction
I need the next time it powers up to reverse motor direction.
Also will need to get power from 110v timer switch to 12v power supply to the LA
Also if it is powered from the timer I use now to power the lights, they will stay on for 2 hours then off. So the relay must not send power back right away but delay until the power goes off and the next time it powers up then send it to the LA.
Or I need a separate battery power source and timer that will just give power long enough for one stoke then off. Not sure how to do that.
Any electrical wiz kids out there can help me with this?