This is my take on an Raspberry Pi enclosure. It's an all-in-one computer with display, keyboard, and trackpad built-in. The RPi's USB and audio ports are exposed to the back panel, and the \"cartridge slots\" can be removed to get access to the RPi's GPIO pins.
base and back panels: 1/4\" acrylic or polycarbonate sheeting (base and back panel)front and top panels: 1/8\" foamed pvc sheetingcompact usb keyboard and trackpadRaspberry Pi (I used a model 3+, but a 4 should work too)7\" TFT display and control board (widely available on eBay, comes with a control board that supports HDMI, VGA, etc).12v power supply, should support at least 5A (display runs on 12v)12v-to-5v voltage regulator (for Raspberry Pi, keyboard, and trackpad)HDMI cableheadphone extension cable, and panel-mount jack (brings an audio jack to the back panel)USB extension cable with panel-mount jack (brings 2 USB ports to the back panel)
large piece with holes for the screen frame and a cutout for the \"cartridges\"trim piece above the trackpadtrim piece below the trackpadtop \"nose\" piecebottom \"nose\" piece
The trickiest part of construction, by far, was getting the \"nose\" (the angled bit of the case in front of the keyboard/trackpad) right, so do that first. I printed templates from the sketchup file to get the angles at the ends of the nose pieces as close as possible; the width was off a bit, so adjust as necessary. From there it was just a process of sanding and tweaking until things fit.
keyboard, trackpad, and USB extender plug into the four USB ports on the Raspberry PiHDMI cable from Raspberry Pi to the displays HDMI input (on its control board)audio extension cable plugs into the Raspberry Pi's audio jack (get a 1/8\" male-to-male audio extension cable, cut it in half, and solder a panel-mount stereo jack to the cut end).For power distribution, cut the 12v wire coming out of the power supply and solder the switch into the break. Then pull a tap off the 12v wire and run it to the voltage regular (stepping it down to 5v) and wire the 5v end to a micro USB connector, which gets plugged into the power jack for the Raspberry Pi. (I salvaged the USB connector from a USB cable).
This is awesome! I really want something like this, and now that I need a new laptop I'm thinking to build a Pi rather than buy a Chrome. Thanks for sharing your work :-)(Do you have a source for the USB trackpad btw)
I installed raspian on this pi probably over a year ago, when I did a test to make sure all the electronics worked properly. I'm pretty certain the trackpad didn't require any additional drivers, but again -- it's been a long time, so my memory might be incorrect. 153554b96e