As all of us have been looking for a way to package our products, I came up with a case that I could modify at home. Being a hobbyist, I wanted something I could carry around, would have room for the special electronics I needed, and be sturdy.
So I used the case from Multicomp, MCRH3165, which is 165mm(D) x 100mm(W) x 32mm(H). The nice thing about this case is that it fits the Pi quite nicely across the width. If you turn the Pi sideways, the USB / Ethernet ports are exposed on the one side, with the SD card on the right. It does not allow for access to the RCA Video or audio. But I will add an extension for the audio to a chassis mount connector. I also did not expose the power, but instead use the GPIO port 5V pins to power the board. Here is the HK website for the box at Element 14.
http://hk.element14.com/multicomp/mcrh3 ... dp/1520395
Besides having the Raspberry Pi, I have included the following into the project:
- Switching power supply based on the LM2576 5.0V
- Dallas Maxim Low-cost i2c battery monitor DS2745. Monitors the voltage, current across a sense resistor, and the temperature of the chip.
- OLED from Adafruit. Monochrome 1.3" 128x64 OLED graphic display using in i2c mode.
- Raspberry Pi camera
I am going to add a power push button to turn on / off the Pi in a controlled manner. Still working on the exact electronics. Also will change the power LED to be displaying pin 8 (GPIO14 RS232 Tx) instead of just power (via a transistor). This way it will show when the box is really powered up / down. Now the LED is connected to the 5V, and I just display a message on the screen when powering up and down.
I originally had mounted the camera in front with 4 small screws, but it did not mount well, so I just changed to gluing it in. It's ok, but still worried about compressing the flat ribbon when enclosed. Still need to think on that one.
The nice thing about this case is that you can get to 3 of the 4 sides of the Pi. Just have to cut some plastic away to expose the USB, Ethernet, HDMI, and SD card. I have broken 2 of my SD card holders, so I replaced with some push-in push-out ones. The HDMI is a little difficult to insert as it sits a few cm back from the back case. The Pi is pushed all the way against the posts used for screwing the top half of the case to the bottom half.
To cut the holes in the sides, I just used diagonal cutters, and either cut through the upper or lower part of the case, each side, and then just moved the piece back and forth until it came off. Not the best way, but easy. And then cleaned it up with a file. So you will notice in the pictures that basically I either cut a hole in 1/2 the side of the case, or the whole side.
To cut the hole for the LED I marked off an area for the OLED, you can see this in the inside picture. Then just drilled a bunch of holes, cut between the holes with diagonal cutters, and then filed the rest. That took the longest.
I power the whole project by an external 12V 2A adaptor, which seems to be enough to support all the items plugged in, such as keyboard, mouse, external hub, Bluetooth, Wifi.
A lot of fun, and I think I am going to build another one.
NCR 310 - ZX81 - Apple II+ - Dell/Intel - Mac mini... Raspberry Pi!