Introduction: Pan Tilt Device for Cell Phone

In this instructible I will explain how I made a pan tilt device for my phone. Originally I wanted to make something that could take photo spheres (a type of panorama) for me with the press of a button which stood on top of a tripod. In this instructible I will only explain how I made the hardware but I hope to update it some time and add some code . You don't just need to use this for panoramas and photo spheres though you can use it to make moving time lapses or filming etc.

The main principle is to have two servo motors that can turn the phone either horizontally or vertically this would all be controlled by an arduino uno. The arduino would be programmed to make the servo motors turn making the phone have able to point in any direction without having to move it by hand.

Step 1: What You Will Need

parts:

2 x servo motors (I used continuous so that I could have 360 degrees of view but this limits the precision.)

arduino uno

battery pack for arduino

single core wire

strip board

header pins

phone case that fits your phone

tripod

1/4-20 nut

3D printed parts (I will explain how to make these in the next step)

tools:

USB wire that connects arduino to computer + computer

3D printer

basic electronics tools: wire strippers,soldering iron etc.

acetone may be needed

glue gun

super glue optional

Step 2: 3D Printing

I have attached 3 STL files I printed mine off makerbots and they worked fine although there were some bridges that the software did not create supports for so when I was using ABS I used acetone to rub off sagging so my servo motor could fit in nicely but when I used PLA I edited the file so that I had 2 separate parts that I then glued together after they had printed. The parts that I have attached I designed specially for my servo motors(parallax continuous)and my phone (nexus 5) so check the dimensions of your parts before you print and you may need to edit some of the files. I used 15 % infill and 0.2 mm layer height but that is just what worked for me so feel free to use your own settings.

Step 3: Putting Together the Parts

Glue all the parts together as shown in the photo except don't glue the lower servo motor to the base because you may need to adjust the servo motors speed potentiometer later so leave it so it is accessible and glue it later when you are happy with how it works. you may also need to cut the rubber casing around the wire as it leaves the motor so it can fit into the hole.

.

Step 4: Put Together the Electronics

Cut out a 4 x 20 piece of strip board with the strips going the long way along the board. Scratch off the copper so the board is split into two parts. Solder on header pins two either side of the board the cut 6 wires about 20 cm long strip the ends and solder the the wires as shown in the picture: Two wires to the second top strip this will be ground, two wires to the third top strip this will be 5v,one wire to the third bottom strip this will be connected to pin 9, and one wire to the forth bottom strip this will be pin 10. Now tape up two bunches of wires one with the ground, 5v and pin 9 and the other with ground, 5v and pin 10. Slot this board onto the arduino like in the picture and connect up the wires to those of the servo motors and tape the arduino to the base. I connected the bunch with pin 9 to the horizontal motor and the bunch with pin 10 to the vertical motor.

Step 5: Screw Onto Tripod and Finnish

screw onto the tripod with the nut, attach the power and you have completed the hardware ! I also attached a ribbon to the phone cover so I could take my phone out easily without breaking anything.

Now that you have completed the hardware try programming it and share what you do with it in the comments. If you used continuous rotation servo motor like me you will need to do allot of tweaking with time and speed because you can not just tell it to go to a specific degree. I hope to soon update this instructable and add some code of my own.

I hope you liked my Instrucable please vote and like. I would love to win a formlabs printer so I could have high resolution printing made easy for me and have a printer that I can prototype on any time not only when it is open and I have time to go to the local fablab where the printers are highly demanded and always under repair.

Comments

author
seamster (author)2014-10-30

Very cool! Any sample videos made using this? That would be great to see.

About This Instructable

1,101views

20favorites

License:

More by ollie242:Designing Scissor Jaws in Fusion Paper Chinese Finger TrapSolids of a constant width with AutoCAD
Add instructable to: