The bulk of the slide was made for the 3D printer build I had started, but failed to follow through. It was a quick fix to a want of creating a camera slide and seeing what could be done with it. That build information can be found at:
To change it over to be an isolated axis, an UNO was used to step the motor at the desired speeds.
Code can be found at github: baden0001/Camera_Slide
The program is setup to read two analog inputs controlled by pots and each individually control two motors. Currently only the single linear axis is connected. The second axis is intended to be a rotating axis and to be mounted onto the moving carriage.
The analog value of the pot is broken up into 5 ranges that are displayed by the 3 LED's per analog input. All off is the slowest setting, only the first light on is the next, then only the second, then only the third and finally all of them on is the fastest setting.
There is no homing sequence, so prior to power up, I make sure the carriage is all the way to the controller box. The carriage then cycles back and forth indefinitely.
A housing was designed with Fusion 360 and then 3D printed to stuff the UNO, a shield with two motor drivers and all the wiring and controls.
The power supply was sourced from something that I had scrapped in the past. Could have been a laptop or printer, but I don't recall. It was convenient in that it has a 5V supply (for the UNO) along with a 12V supply (for the motors).
Adding a plate with a 1/4-20 tapped hole on the bottom of the axis allows for it to be mounted to a tripod.
So far the slide works good for time-lapse videos.