Instructables
Picture of 3D Printed Webcam Controller
22.jpg
21.jpg
The camera controller box is an easy way to rotate a webcam from a PC or remotely through the internet.



Step 1: Materials and 3D files

Picture of Materials and 3D files
3d_2.JPG
3d_3.JPG
3d_4.JPG
3d_5.JPG
In this project I used a Teensy 2.0 micro-controller since it was available, but you can use any other MCU like an ATtiny85 or an atmega328. The servo model number is S9001.
I designed a place for a weight on the base part, in order to prevent vibrations and to keep the camera from falling off while it rotates.
The servo adaptor part is based on thing:19940.

Step 2: Printing and assembling - base

Picture of Printing and assembling - base
01.jpg
02.jpg
05.jpg
The first part that you need to print is the base part since everything else is connected to it.
If you have a weight (or made one to fit the print) use screws to screw the print to the base. 

Step 4: Placing the servo in place

Picture of Placing the servo in place
10.jpg
11.jpg
Place the servo motor in place and screw it in.

Step 7: Final Result

Picture of Final Result
22.jpg
The only thing left to do is to mount the camera and run the control software.
Use the keyboard right and left keys to rotate the camera and the up and down keys to change the speed.
 
Remove these adsRemove these ads by Signing Up
rkhool1 year ago
for teensy 2.0 we are using Aurdino IDE to copy the program into the Microcontroller. Coming to the AT tinny85 and ATMEGA 328 which device is to be used for dumping the program?
elabz rkhool1 year ago
Try Arduino ISP sketch for uploading the binaries to smaller chips that don't have a bootloader (or can use the space it takes for something more productive). You can actually go even smaller than Attiny85 - check out this Attiny13 with Arduino IDE tutorial. If you can fit your code into the 1K flash and run it in 64bytes of RAM, there's nothing Attiny85 can do that Attiny13 can't. Regardless of the actual chip you'll pick, the principals of uploading the code into the chip using a programmer, such as the Arduino ISP (or a specialized device like AVR ISP), are the same.  
tlevis (author)  rkhool1 year ago
I'm not sure that I understood your question but you can use those instructables:
atmega328: http://www.instructables.com/id/Bootload-an-ATmega328/
attiny85: http://www.instructables.com/id/Self-contained-16-Digit-display-Arduino-Attiny/step5/Burn-your-program-onto-the-ATtiny85/
If you use atmega328 you need to connect the servo signal to pin 9 (PB1).
For ATtiny85 you need to modify the library and use one of the pwm pins.
claudif1 year ago
Nice work and well planned!