I was looking for a fun project for my Raspberry Pi, and decided a case would be fun. I found an old rotary phone and converted it into a case for my Pi. I needed about $40 worth of parts, you might be able to do it for less. The whole project took me about 4 hours of planning, and about 6 hours to assemble.
The best feature: It powers on when you remove the handset, and powers off when you place it back into the cradle. Granted, it is not a graceful shutdown, but for most purposes this is fine.
Before you start: Please assess your rotary phone and plan where the components will go. Depending upon the size of the USB hub and the position of its external power connector, it may not fit, or it may interfere with other parts. Take your time and plan ahead so that your project is a success.
Here are the parts used for this project, and the reasons you need them.
Support tools and consumables:
My phone had 2 screws in the bottom. Unscrew those and the cover comes right off.
There is a ringer assembly that is held in place by 2 screws. Disconnect all the wiring, remove the screws, and then remove the ringer assembly.
My phone had another small circuit board held in place by a gray plastic holder. After removing that board from the holder, I used a Dremel tool to grind off the rivets from the underside of the phone. The holder came out easily.
The USB hub attaches from the underside of the phone at an angle, and the ports are accessible from the curved area behind the handset. One way to cut these holes:
From the inside of the phone case, position the USB hub circuit board.
I created 2 brackets by using small pieces of pipe hanging strap, bent so its holes align with the circuit board's holes. This will take some effort to measure and cut properly. The brackets are then epoxied into place.
Once the epoxy has cured, place small pieces of electrical tape on both sides of the board where it makes contact with the brackets. This will prevent short circuiting.
At this time, you should check the fit of the 90 degree micro USB to USB-A connector. This attaches the hub to the Pi, and depending upon your USB hub, this might be a tight fit. I had to grind away some of the phone case interior as well as the 90 degree connector's rubber material.
Then attach the board to the brackets with small screws and nuts.
Similar to the method used for the USB ports, cut a hole in the back of the phone to accept the micro USB panel mount port. For a flush mount, I used a razor and cut away the raised lobes so that the part fit flush against the interior of the phone case. Mount with 2 screws. The other end of the cable will (eventually) go to the Pi.
Drill a hole in the back of the phone to accept the DC jack for the USB hub. Install the fitting and secure into place with the provided nut.
On the inside, you'll have to use a scrap power plug to connect from the back of the DC jack to the USB hub. I had a spare 2.5mm plug, which I cut and attached crimp connectors. Attach this "cheater" to the back of the DC jack and then to the USB hub. Check the polarity by plugging in a USB device with a light and briefly applying power through the jack.
The fan I ordered is a USB fan, which means it plugs into a USB port and runs off the 5 volts provided. The fan was pretty loud, so I decided to wire it to run off 3 volts instead.
To do this, I cut the fan's USB wire and found the red and black power wires. Since I didn't have a nice connector, I ended up stripping about half an inch of insulation away and securing to GPIO pins 1 and 6 with heat shrink tubing. Be sure to check the polarity first.
My fan is set up to pull in air from the underside.
You could power up the phone by plugging in the micro USB and USB hub power, but I wanted something more: power on by lifting the handset.
To do this, you need to interrupt the power in the micro USB to USB-A cable (this accepts power from the back and delivers it to the Pi). Here are the steps I performed:
Along the way, you should have been checking for fit and planning cable management. I used hot glue in a couple places to secure wiring and keep things from getting pinched or interfering with the hook. You should also be confirming your connections and testing power and function.
My Raspberry Pi came with a small case. I removed all but the bottom tray, and with the Pi in that tray, found it wedged nicely (see pic). The tray protects the Pi and also keeps it from shorting out on the metal phone base.
Once assembled, you simply connect the HDMI, both powers (micro USB for the PI and the DC for the USB hub), and any USB accessories such as a keyboard, mouse, or game controller. Turn on your TV, and then lift the handset.