Right, I just made a solid model of the device that I am thinking of on pro e and looking at how it will be made. There are a lot more problems with my first design the motor, relays, and switches being in an enclosed small space, heat being one of them. I am going to have to go back to the drawing board. But my main back ground is in mechanical not electrical so I just want to know is there even a way to make what I'm trying to create cause I don't want to be beating my head in for no reason.
basically if you have a mini cart (about 3 inches in length) with a motor on it where I need it to travel a selected distance (about 1 foot) once it gets to the end some how the motor will reverse polarity and travel back the other way. I was thinking it would be done by switches. And since it is going to be enclose I need to use the least components as possible.