Hello dear Makers.
I am on the process of making a camera slider based on Thomas Sanladerer's video (Build your own Arduino-controlled camera slider! - YouTube) but I've been encountering a feel issues along with it.
I'm modifying it for use on a Arduino Nano and a 5110 display.
The main problem now is that I can't manage to get the math right to sync the time and distance traveled. I've measured the numrums on a end to end travel and it's about 143000. If that helps.
Here's my current code: CameraSliderV3 - Pastebin.com
I've a 1.8ยบ stepper set to 1/16 stepping.
I tried changing the STEPSMM on line 57 to trial and error to match the set distance and time but without success. Can someone more mathematically initiated help a fellow maker?
I'm trying to get it working on a base level so I can expand upon, I removed about ~300 lines from the code that are for the LCD and calibration for the purpose of not confusing.
Here's the current project, later I'm going to code the camera panning, 3d mounts already done http://i.imgur.com/hqBSraz.jpg