

The exciting part is likely getting the accuracy you need to do that. Once you have the mechanical stuff worked out then the coding is fairly easy, you just tell the motor to step the appropriate number of steps to get where you need to go. If you are trying to align tracks after the move (which I expect you are) you may need fairly high accuracy and repeatability and that may not be easy to achieve.

) The one in the ebay post moves 5.625° /64 (the motor itself move 5.625 degrees per step but the gear train divides that by 64.) With the gear train, I’m not sure how repeatable the steps are, so moving 10 steps right and then 10 steps left may not get you back to exactly the same place you started. In theory this project should be fairly easy, a stepper motor moves in fixed steps (hence the name. Probably not, Fritzing doesn’t currently have simulation so you need to use real hardware to test this. Once set up on Fritzing can I check somehow to see if it works, just on Fritzing or ? Once set up on Fritzing can I check somehow to see if it works, just on Fritzing or ? So I can then proceed to the physical Arduino etc. That will get me a long way and a lot more knowledgable. If the project url could show how to set up motor speed (always the same) set the stops, set the distance between stops.

Will get more complicated than that (with reverse direction and selection of non sequential button) but at the moment just get it to go to next stop. At the moment just want to push button on and motor goes to next set stop. Four buttons on ‘in’ side to select the right stop. For a transfer table for a model railway, a small section of track moves sideways (driven by stepper motor) to each position. Can someone help this aged challenged old man (77)Ĭan you give me a link to a stepper project that is for a stepper motor to have 4 steps (positions) to move a carriage between them.
