Step 1: Materials and 3D files
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
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
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 5: Servo Adaptor
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
To program the Teensy you will need the PWMServo library.
Download the attached file and upload it with Arduino IDE.
Step 7: Final Result
Use the keyboard right and left keys to rotate the camera and the up and down keys to change the speed.