Hey, So I have never done anything like this before, so I am as new as possible. I have a lead screw, with a sleeve nut sliding up and down it. The screw is powered by a 12V DC motor. This is for retractable landing gear for a remote control airplane. So when the plane takes off, I need to retract the landing gear (by powering the lead screw) and then turn it off when the gear is retracted, and when landing I need to power the screw with reverse current, and similarly stop it when it is completely down. Somebody suggested using limit switches at either end a some sort of micro-controller. The problem is, I have no idea where to start for a micro-controller. So here is the question:
What controller would you suggest? Where can I find code to do such a thing? Any other info you think may be helpful would be seriously appreciated.