Go Down

Topic: Control of 2 steppers discretely for a camera slider. is it possible? (Read 450 times) previous topic - next topic

3alarm


I am having a great time building what i hope will be a camera slider with
a pan axis as well as the slider axis.

i am having a hell of a time figuring out how to control both motors at the same time.

I am using a MegaPi board, and the Makeblock motor drivers, but can only fire one motor
at a time, in any variation of setups i have tried.


here is what my pan system is looking like

https://goo.gl/photos/rUxTfnzFVCHp77ZFA


this is a test of the speed ramp an 18 inches of travel

https://goo.gl/photos/jSLxgF3U35Uwyqcq6

just cant get both movements to happen at the same time... which is obviously the objective.

Robin2

You need to post your program, post a link to the datasheet for your stepper motors and post a link to the datasheet for your stepper driver.

...R
Stepper Motor Basics
Simple Stepper Code
also look up the AccelStepper library
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up