camera focus rail help

hi new here and to using Arduino and stepper motors. i want to control a camera focus rail with a stepper and an Arduino. i want to be able to single step the stepper with a push button. i have looked at rotatry encoders but a simple push button will do what i want. what i need to be able to do is set it up at the first focus point the move the slide forward one step and take a picture move forward one step and repeat until the whole subject is photographed. this wil depend on the subject but usually wil require around 20 shots. the slide needs be within 1.5 mm accuracy for each shot. although new to arduino and steppers i am not new to electronics but rusty on programming but have done some basic and modular 2 programming in the past. shows how old i am!

bobgolding:
hi new here and to using Arduino and stepper motors. i want to control a camera focus rail with a stepper and an Arduino. i want to be able to single step the stepper with a push button. i have looked at rotatry encoders but a simple push button will do what i want. what i need to be able to do is set it up at the first focus point the move the slide forward one step and take a picture move forward one step and repeat until the whole subject is photographed. this wil depend on the subject but usually wil require around 20 shots. the slide needs be within 1.5 mm accuracy for each shot. although new to arduino and steppers i am not new to electronics but rusty on programming but have done some basic and modular 2 programming in the past. shows how old i am!

Welcome to the Arduino forum. If you have done programming in the past, then you know logical thinking is the key.

In that way of thinking, how will you have the stepper motor connected to the camera? What stepper motor do you have in mind? What are going to use to power your system?

Paul

hi paul i have the rail the power supply and a l298 h bridge. waiting for the arduino to arrive. as i am totally new to this i would have thought it woud be a simple thing to do , but so far no luck finding a solution. a rotary encoder would do the job but seems a bit overkill for my application. a simple push to make button would do. the camera is fixed the subject insects, move and the camera is operated manually.

Somewhere along you will need to determine how many steps the stepper motor needs to take to move the camera the distance you need, but that can wait until you can actually test the system.

A rotary encode seems to serve no purpose when your stepper moves in discrete steps, or partial steps.

Paul