The case is split in two below the volume buttons on the iPhone. The lower portion is actually two pieces screwed together - one that holds the iPhone, and one that holds the electronics.
In addition to the prints themselves, this project uses a number of components.
These should be as small as possible. I was able to find a small motor and
gearbox from an old digital camera and webcam. I had the battery case, toggle
and lever switches leftover from various projects.
DPDT Toggle Switch
SPDT Lever Microswitch
Gearbox for motor
Battery Holder 4xAA
4 AA Batteries
For a wiring diagram, check out http://www.instructables.com/id/The-Most-Useless-Machine/step5/Wiring-Diagram/
This file depends on an iPhone 4 openSCAD model.
You can download it here: http://www.thingiverse.com/thing:12879
Just a warning: The OpenSCAD code is messy and was thrown together pretty quickly. I started a big refactor but ran out of time.