Introduction: 3D Printed Webcam Controller
Step 1: Materials and 3D Files
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
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 3: Screw Mounts
Print the screw mounts, as you can see there are several different ones, so make sure to place them in the right positions.
Cut small pieces of filament and push them into the holes. They will help you align the screw mounts and keep them in place
while you apply some superglue to them.
Step 4: Placing the Servo in Place
Place the servo motor in place and screw it in.
Step 5: Servo Adaptor
Push the nut into the adaptor and glue it with a few drops of superglue.
Assemble the adaptor to the servo accessory.
The screw is used to mount the camera to the box so you should use a screw with a gripper to make it easy to mount.
Step 6: Placing All Together
Solder the Teensy board to the PCB according to the attached schematic.
To program the Teensy you will need the PWMServo library.
Download the attached file and upload it with Arduino IDE.
Attachments
Step 7: Final Result
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.
Attachments

Participated in the
Instructables Design Competition
5 Comments
8 years ago on Introduction
I want to make
10 years ago on Step 7
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?
Reply 10 years ago on Introduction
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.
Reply 10 years ago on Introduction
I'm not sure that I understood your question but you can use those instructables:
atmega328:https://www.instructables.com/id/Bootload-an-ATmega328/
attiny85: https://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.
10 years ago on Introduction
Nice work and well planned!