That is a little trickier, but still perfectly possible. One detail that you have not mentioned is whether you want coordinated movement - in other words do you want MotorA to move (say) 517 steps in the same time that MotorB moves 963 steps. There will be no problem making all 3 motors move at the same time. I reckon if you follow what has said you will actually get to a final working project more quickly.īut if there is a way to make all three motors move at the same time (or in the same time period, because the camera mounted on will be filming this and the movement must be smooth), like via some command I don't know about or some library perfect for this I also don't know about. It sounds long and laborious, but it will make you a better programmer and make for easier code to debug. You should probably measure time separate for each motor, but I should help and not write the complete solution for you. Starttime = millis() // reset the timer to measure next delay put your move code for motor three here Try using a for-loop with time measuring. I tried numerous ways to make all 3 motors rotate at the same time, but the only solution I see is to buy 4 arduinos, one for each motor and one master arduino. Basically the Slide, Rotation and Zoom are the 3 motors
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |