Introduction: Raspberry Pi Laptop DIY
When first released, the raspberry pi took the world by storm. The idea of having a $35 full fledged desktop PC in your pocket with which you could program, modify, and basically satisfy any technological need your heart desires, was in a sense, mind blowing. Unfortunately one of the main drawbacks of a raspberry pi, is its portability, not because it is hard to carry (obviously) but because it-like any desktop PC-needs a monitor, keyboard, mouse, and a Ethernet cable to achieve its networking capabilities. So our goal was to address the limitation. During our research, we came upon a project from adafruit called "The Raspberry Pi Notebook". It solved all of the portability issues by using an LCD screen that connects using the i/o pins, a mini-wireless keyboard, a wifi dongle, and a 3D printed case.
Step 1: Parts and Tools
- Powerboost 1000c
- Raspberry Pi 2 Model B
- Raspberry Pi 2 3.5" PiTFT
- Miniature keyboard
- Lithium Ion Battery
- 3D Printer
- #2-56 machine screws
- #4-40 machine screws
- Raspberry Pi Wifi Dongle
- Soldering Iron
- Heat shrink and wires
- Wire Strippers
- Needle Nosed Pliers
I included some links from amazon, so you guys can go purchase the correct parts. If you do not have access to a 3D printer, you can send the files to a service or a local hackerspace/library.
Step 2: Software
One of the most confusing parts of DIY raspberry pi projects is configuring software properly. It can be intimidating to newbies (us a few months ago) but don't worry we have some very helpful links and tips to make the process easier.
In our project we use a special touchscreen made specifically for the raspberry pi. Despite its unique specifications, its just like any other peripheral, it needs kernel support and drivers to function properly.
Adafruit created a specific version of raspbian that provides kernel support to the screen. You can find it here. To load it on your raspberry pi just follow the classic SD card burning tutorial, except instead of burning NOOBS onto the SD card you have to burn in the special disk image given by adafruit.
Step 3: 3D Printing
3D printing can either be frustrating or extremely exciting. Well at least thats how it was for us. We had many failed prints, and had to constantly mess with the settings and details to be successful. Thanks to our teacher Mrs.Berbawy, we were able to emerge victorious. So a quick word of advice, always consult with someone who is experienced with 3D printing before printing, it saves so much time and will prevent you from making mistakes.
So for this project you need to 3D print four things:
- 4 Hinges
- Keyboard Case
- Back Cover
You can download all the STL Files here. There is a total of five files. The recommended settings for all the parts are:
- 230 Celsius Extruder Temperature
- 3 shells
- 3 top/bottom
- 50mms print speed
- 10% infill
Feel Free to tweak the settings depending on your situation and results. Be patient!
We used PLA filament for our prints. That does not mean you cannot use materials like ABS or bamboo etc.
Step 4: Soldering and Circuit
Ready to get your hands dirty? Here comes the fun part: connecting all your electrical components.
After scouring through the web looking for a simple circuit diagram, we found this beautiful illustration. This is all guidance you need for 95% of the soldering.
- The PAM8302 amplifier connects to the + and - sides of the mini speaker. Route power byconnecting VIN to 5V on the PowerBoost 1000C and then Gnd to G.
- PowerBoost 1000C hooks up to pins #2(5V) and #6(ground) on the Pi. Unfortunately the diagram failed to show the average person where the #2 and #6 wires must be soldered and it is really vague. After some looking into raspberry pi circuits we discovered that the powerBoost 1000C hooks up to pins #2(5V) and #6(ground) on the Pi. We provided you guys with another diagram that gives you the specifications for each pin.
- The slide switch will need to connect to Ground and Enable on the powerboost.
- Finally the Battery connects to the JST port next to the USB port on the Powerboost 1000C.
- Add heat shrink to any exposed wire to prevent short circuits.
- MAKE SURE YOUR SOLDERING CONNECTIONS ARE SOLID AND STRONG. I cannot stress this enough, our connections broke a few times since we did not check them properly at first. It is very annoying to fix a disconnected wire after you have everything assembled.
Step 5: Final Assembly
The first thing you want to do before you start putting all the components into the enclosure is to bend the header pins on the raspberry pi touchscreen. The small space created by this action lets you store the lithium ion battery, allowing you to fit all the components into the enclosure. For an extra precaution, you could also wrap the battery with gaffers tape to protect it.
Mount the touch screen onto the raspberry pi by aligning the the i/o pins on the raspberry pi with the i/o pin connector on the touch screen. Some people suggested using an extension cord but that would only add onto the price and take up valuable space in the case.
Now comes the last and final part. Mount the raspberry pi screen and raspberry pi into the enclosure. Align the screw holes (mounting tabs) with the standoffs in the enclosure and then screw it in. Also make sure the hdmi, audio, and power ports align with the cutoffs in the enclosure. Next snap in the speaker in the designated area. If it feels tight don't worry, the fit has to be snug.
Finally, mount the powerboost onto the lid of the enclosure using the standoffs, and then mount the audio amplifier on the vertical standoffs right next to the raspberry pi. Screw them all in, and mount the lid onto the exclosure. Now, the moment of truth, screw in the lid with the screws you bought. Now stand back and marvel at your creation.
Step 6: Random Pictures
We dedicate this awesome project to our beautiful teacher Ms.Berbawy for guiding us in the process of making.If you want to learn more about our Robotics class check out berbawy.com/makers .