Basically, this robot will move a camera/smartphone on a rail and “track” an object. The target object location is already known by the robot. The math behind this tracking system is quite simple. We have created a simulation of the tracking process here.
The camera, placed on a carriage as it moves, will point at the target object according to the info provided to the robot (that is: the target current location. Keep in mind that the robot already knows where the camera is).
The speed and start/stop actions are controlled from your own smartphone. For this, the smartphone has to be connected to the robot´s WIFI network.
As the speed can be adjusted as desired (from the smartphone), you can move the “camera carriage” as slow as desired, making possible to create TIME LAPSE videos.
Control APP freely available on Google PLAY or iTunes Store
We have used common elements from the DIY/MAKER World in order to make this robot accessible and affordable.
Parts list:
Electronics:
You can get everything on your own (most of elements are the same used in the B-robot, iboardbot,sphere-o-bot, Scara Robotic arm, Air hockey Robot...) or save the hassle ordering the CUSTOMIZABLE KIT from our shop (and at the same time you will be supporting jjRobots):
GET THE CAMERA SLIDER PARTS from jjRobots (Customizable KIT)
More details at the end of this Instructable. You can control this robot from your smartphone. Go to Google play or iTunes Store and download the Android or iOS App
Then proceed to the CONTROL APP USER GUIDE or scroll down to learn how to use it
If you already have the parts needed to create this robot you already have 90% of the items needed to create:
All of them use the same electronics and ancillary elements
GET THE CAMERA SLIDER PARTS from jjRobots (Customizable KIT)
PLA will do the job. When printing, set the wall thickness= 1.2 mm and infill to at least 25%. The 3D part "10 teeth gear" has to be printed with an infill of 100%. This is important. This element will have to transmit the power from the NEMA motor to the rotating platform. Place the elements on the printer´s heated bed with the orientation indicated above. Depending on your 3D printer (nozzle size, type of PLA, flow...) the ball bearings/ metal bars can be hard to insert into their holes/slots but do not hesitate to use a small hammer to push them in. But be gentle!. All the 3D parts models are available at Thingiverse
Basically, this is a rail with a platform that will travel on it controlled by an Arduino + 2 NEMA17 stepper motors. The two motors will be in charge of: 1) move back and forward the camera platform 2) pan the camera as it moves on the rail. The GOPRO/Smartphone adapter is optional, so you do not have to 3D print it is you are planning to use a regular photo camera. The total length of the rail can be modifiable. Depending on the weight of the camera (SLRs) you will need to use steel bars for the rails or just aluminium tubes. The 3D parts have been designed for 8mm (or 5/16 inchs) diameter round tubes/ bars. To up to 1 meter, the robot behaves smoothly, over that length and for a camera of more than 500 grams (1.1 pounds) the metal bar might bend under the weight while the camera cross the middle of the rail.
This is the robot 3D model. Click on PLAY a take a 3D look at it. Get back to this model if you have doubts about where to place an element.
After printing the robot´s part, you will need to remove the support triangle/flap just under the shaft. It was needed to print it correctly but not needed anymore. Clean up the burrs. You can use pliers if you want. A knife will work too.
insert the 3 LM8UU linear bearings as shown. You will hear a "click" once they are fully inserted.
This is the GOPRO/smartphone adapter: This element is optional. We have created it as the GOPRO´s has the time-lapse feature and it is quite straightforward to use. The slider will allow you to place any smartphone on top of the adapter no matter it thickness. There is a 6mm M3 bolt in charge of keeping the slider (under my thumb in the photo) in the channel. You have to insert it from below and through the hole. Then "capture" it with the nut that you have previously inserted into the "nut cap". See the photos to get an idea of what we are talking about.
Insert the M3 nut into the "blocking cap" and use a M3 6mm bolt
NOTE: Over-tightening bolts: The frame of this robot has been made of PLA plastic. Do not force the bolts too much into their places.
Insert the camera screw and the 608 ball bearing as indicated.
Camera screw: this screw (1/4 " + ring) will fix the CAMERA (DSLR) to the rotating plate. It can be accessed from below using a screwdriver even when the 608 ball bearing is in place. To detach the camera from this plate you will have to lift the platform and unscrew it.
You will need 2x M3 15mm bolts to fix the GOPRO/Smartphone camera adapter to the rotating plate.
Now it is time for the motors. Fix this one to the MOTOR Legs using 4x M3 6mm bolts. Let the cable connector pointing to the right
Insert two 623zz ball bearings into the pulley and use a 15mm M3 bolt + self blocking nut to fix it to the Pulley Legs part. Once placed you should not feel any friction on this part.
Insert the 2 metal bars/pipes through the carriage and into the lateral legs. Run the GT2 timing belt through the pulleys as shown and pass the GT2 timing belt
With the KIT we supply 1.4 meters of GT2 6mm timing belt for a maximum rail length of 700 mm. Remember that you can use any length for this robot: The control APP can handle it. We will show that later. To finish this part, Insert the timing belt into the dented "catcher" as indicated and cut the remaining but before, tighten it.
Time to connect the motors. Depending on the orientation of the cable´s plugs connected to the DEVIA Control board, the motors will rotate in one direction or the other. That might be useful at some point, but by default, check how to connect them to the Brain shield. The stepper motor drivers (red modules) must be connected as indicated. This is important. The heatsinks (small aluminium pieces with a sticky pad on them) must be placed carefully on top of the black modules not touching any metal headers. Otherwise, you can create a short circuit and damage the electronics.
GET THE CAMERA SLIDER PARTS from jjRobots (Customizable KIT)
Camera Slider latest Arduino code: CameraSlider_V5_M0
a) Install the Arduino IDE on your PC from here (skip this step if you have the Arduino IDE already installed) This code has been tested and developed on IDE version 1.6.5 and later versions. If you have a problem compiling the code, let us know
b) Download all the arduino files , extract the files inside the same folder in your hard drive
c) Compile and send the code to the DEVIA control board:
Selecting the right board before uploading the code
d) Done!
[space size="20px"]
Get the control APP for your iOS or Android device:
Then proceed to the CONTROL APP USER GUIDE to learn how to use it
Download it (freely available) from Google Play (Android devices) or iTunes (iOS version)
Link to the USER GUIDE here (frequently updated)
It has been created to control, in a simple way, the camera slider. It will allow you to move the platform with almost any camera on top, with a predetermined speed. This speed can be modified in real time for cool video effects. By default (the limits can be changed in the Arduino code), the travelling speed of the platform can be set from 0.01 mm/sec to 35 mm/sec
Depending on your set-up you will need to adjust the RAIL LENGTH value: measure the total length of the rail the carriage can travel on. For example, if you are using 1000 mm metal bars, the available rail for the carriage would be around 800 mm (1000 mm minus the piece of rail inserted into the lateral supports).
In order to control the CAMERA SLIDER you will have to:
NOTE: You do not have to place the camera platform by the very end of the rail, you can start from anywhere.
The RAIL LENGTH value, will let the APP know how long the camera carriage will travel before start coming back to the original location. This value does not have to be the real length of the rail, just the segment in which the camera will swing back and forward continuously. Take a look at the image below: you can set the RAIL LENGTH value equal to 400 mm even when the REAL length of the rail is longer. Doing this, the camera travel will be restricted within a virtual rail of 400 mm. Keep in mind that the camera has to be pointing to the object before starting to move to track it correctly
CAMERA SLIDER PARTS from jjRobots (Customizable KIT)
Control APP link (Google Play).
Control APP link (iOS/ Apple).