Introduction: Make a Portable Computer Using a Raspberry Pi

Picture of Make a Portable Computer Using a Raspberry Pi

Have you ever wanted a portable computer you can take with you? This is the easiest way to build your own. For those of you who do not know what a Raspberry Pi is, it is a complete computer about the size of deck of cards that can run many different kinds of Linux. This portable computer will be complete with a screen, keyboard, wifi, and a battery. This is just to show how to make the components work on battery, this indestructible does not have instructions for building a case. There are a lot of interesting ideas for cases and I did want to limit anyone's options. I tried to find the easiest way of making a portable all in one battery powered computer.

For this project you will need to be comfortable doing electrical soldering and desoldering; if you are have not done electrical soldering before, there are many tutorials online.

Parts required

These instructions were designed for these parts, they can be interchanged but you may need to be adjusted.

Tools

  • Soldering gun
  • Small Phillips head Screwdriver
  • Wire Strippers/cutters

Created May 29, 2014

Step 1: Figuring Out the Layout

Picture of Figuring Out the Layout

Before doing any work in this project you need to take the screen, raspberry pi, battery, and 5 volt regulator and figure out where you will want them in the case you build. Keep in mind you will need space for the wires, SD card, and the micro USB cable going from the resister to the Raspberry Pi. Use this as a reference for length of wires throughout the project. The picture above shows the layout I used.

Step 2: Preparing the Screen

Picture of Preparing the Screen

Materials needed for this step.

  • Screen
  • Small Phillips screwdriver
  • Wire cutters
  • Soldering Iron (optional)


In this step you are preparing the screen to be wired in later, the screen is in many different steps so it is important to get it ready first.

1.First turn the screen so the back side is up. There are two screws on the back as shown in figure 1 (note one screw is under a sticker).

2.Now using the wire cutter to cut the wire prior to the three point split, make sure you have enough length to reach the battery and the Raspberry Pi as shown in figure 2.

3.Pull the back casing off of the screen.

4.Strip the large black wire casing, this should expose 4 smaller wires as seen in figure 3, depending on the length you may be able to pull it off, but in some cases you will have to use the wire strippers. (Make sure if you use the wire strippers to go slowly and make sure you do not cut the wires inside)

5. The white wire is not needed so you can choose to ignore it, cut it, or desolder it.

Step 3: Wiring the Battery to the 5v Regulator

Picture of Wiring the Battery to the 5v Regulator

Materials needed for this step

  • Deans Connector
  • 5 volt resistor
  • 16 gauge wire
  • Electrical Solder
  • Soldering iron/gun
  • Small Phillips screwdriver

In this step you will be wiring the 5 volt regulator to the deans connector that the battery will plug into. The 5 volt regulation is very important because the only made to run on 5 volts.

1. Take 1 red and 1 white 16 gauge wire and cut it to length, make sure it is long enough to reach the battery and the 5 volt regulator.

2. Use the 16 gauge hole in the wire strippers to cut 1/4 inch of the wire cover on each end of both wires.

3. Solder the red wire to positive and white wire to negative. If you are unsure which one is + and which one is - refer to figure 1.

4. Take the 5 volt regular and and unscrew the two screws until the head of the screws are just about the top of the plastic. You can see where the screw are located in figure 3.

5. Take the deans connector with the two wires connected and place the wire into its respective terminal on the 5 volt regulator, as shown if figure 4. The positive and negative ports are labeled on the bottom of the resistor.

Warning:It is very important you do not you mix up + and -. This could lead to short circuits and even fire.

Step 4: Wiring the Screen

Picture of Wiring the Screen

Materials needed for this step

  • Wire cutters
  • Screen
  • Soldering iron
  • Solder
  • AV cable (optional, seen step 4 to see if needed)
  • Raspberry Pi

1.Use the wire cutters to strip the casing of red, black, and yellow cable attached to the screen. Most wire strippers do not go that small of a gauge, this means you will need to use the cutters instead. Remember to cut slow.

2. Solder the red wire to the same deans connector as you did for the 5 volt regulator.

3. Solder the black wire to the same deans connector as you did for the 5 volt regulator.

Use figure 1 for reference to steps 2, and 3

4. for the next steps you have two options

Option A. You can desolder the AV input on the raspberry pi and solder the yellow wire directly to the board. Option A takes longer and is more difficult, but in the end takes up less space.

Option B. You can solder a male AV cable onto the yellow wire and plug it into the AV input. Option B is faster and easier, but takes up a lot more space.


Before wiring in the display and power to the Raspberry Pi install the operating system (OS) onto the SD card.This is important because the install of the OS can fail if the battery dies.

Option A.

  • Desolder the 3 mounts on the under side of the Raspberry Pi. Use figure 2 as reference.
  • After the AV mount is desoldered and removed solder the yellow cable coming from the screen onto the top right AV mount that was desoldered. Use figure 3 for reference.

Option B.

  • Take the AV cable and cut it to length, it will need to be long enough to plug into the Raspberry Pi as well as touching the yellow wire from the screen.
  • Use your wire strippers to strip the AV cable 1/4 inch.
  • Solder the male AV cable and the yellow cable coming of the screen. (remember to put heat shrink over the wire before you start soldering)

Note: When cutting the AV cable you may notice wire surrounding the yellow cable inside. Those wires are the ground wires. The screen I am using shares a common ground with power, so these wires are not needed.

Step 5: Resizing the Micro USB Cable

Picture of Resizing the Micro USB Cable

Materials needed

  • Micro USB cable
  • Wire Stripper/cutter
  • Soldering iron
  • Solder

1. Cut your micro USB cable to length, remember there are two sides you need to cut each side to 1/2 the length you need. this cable will need to go from the 5 volt regulator to the Raspberry Pi.

2. Use the wire Stripper to strip the outer casing of the USB. It should look like figure 1. Remember to leave room for the heat shrink, give it a decent amount of room between it and where you're soldering, if they are to close it will shrink when soldering.

3. Remove 1/4 inch of casing off each smaller wire within, do this to both sides.

4. Solder the the matching colors together. (Do not forget about the shrink wrap)

5. Depending of the form factor necessary, you may need to remove the casing around each end, as you can see in both picture above.

Step 6: Assembly

Picture of Assembly
It is important to remember this step will vary based on your case and arrangement.
  1. Make sure everything fits in the original arrangement wanted.
  2. Plug the Micro USB cable into the raspberry pi and the 5 volt regulator
  3. Plug the Deans connector into the battery
  4. Make sure everything is operational

Step 7: Troubleshooting

Picture of Troubleshooting
  • If you plug the battery in and you do not see a red led light on the Raspberry Pi this means the Pi is not getting power. Check your solders, as well as make sure your micro USB cable in firmly attached at both the Raspberry Pi and the 5 volt resister
  • If the screen is not working, check the connection between the screen and the screen driver board as well as the connection to the Pi and the power solders. It is important to note that the screen will not turn on without video input.
  • If the screen is white, it means that when the Raspberry Pi turned on the screen had no power, but got power later. This means you have a loose connection. Most likely the ribbon cable connecting the screen to the driver board, but could also be the AV cable plugged in or soldered to the Raspberry Pi.

Comments

SaiV41 (author)2016-11-08

is there a way to convert the linex in the computer or raspberry pi to windows 10? please tell me as soon as possible

k3a (author)SaiV412017-01-09

That's the problem of windows and I recommend not using it. You can run linux everywhere and it will support your hardware forever.

TylerJohnson (author)SaiV412016-11-08

No you cannot put windows 10 on a raspberry pi.

Airoil123 (author)2016-11-08

Is there a way to convert the lines to windows 10?

easymods45 (author)2016-01-16

do raspberry pi's already have Linux on?

TylerJohnson (author)easymods452016-01-16

It depends on where you get it from, the one I got came with a bunch of different distros of Linux already on it.

cherianne (author)2015-12-22

Great project!

Venman_55 (author)2015-06-23

Never mind someone already asked this... Thank you for the great instructable.

Venman_55 (author)2015-06-23

Do you plug the micro usb cable into the pi and it also charges the battery?

LoserP (author)2015-06-17

Is there a screen with a better resolution that you recommend. If so is there any other modifications that would go along with it.

mdekker123 (author)2015-05-05

I think you could also use this monitor http://www.neosecsolutions.com//products.php?28&cPath=17 and a power bank to avoid any soldering or wiring

hrithikbansal70 (author)2015-02-23

Hey nice project I am not very familiar with raspberry pi so was wondering can we use this laptop to program an arduino ?

I have personally never programmed an arduino, but here's an Instrucables on how to do to on a raspberryPi.

https://www.instructables.com/id/Program-arduino-fr...

Thank u
very much

Crafterkid123 (author)2014-09-13

wouldn't it be more compact to use a power bank??

Depending on the power bank, yes it could be smallersmaller, but I have lots of these types of battery's laying around and most power banks are 5v and the screen needs more then 5v.

use a voltage boster they are small compact and cheap

nerd7473 (author)2014-06-14

This is a great instructable... P.S. I am running Ubuntu 14.04

xyndaen (author)nerd74732015-02-16

on raspberry pi b+?

nerd7473 (author)xyndaen2015-02-16

no, on a Gateway tower

DangerousTim (author)2015-02-05

Can i use the pitft screen? http://www.adafruit.com/products/1601

Yes, that screen looks like it should work, and that could make the whole project a lot smaller and simpler. Sense the adafruit screen used power from a raspberry pi that means you could use a 5v battery pack and wouldn't need a resistor. (WARNING: remember that any battery over 5v needs a 5v resistor, or it could be dangerous. and any battery under 5v wont be powerful enough.) Not to mention 5v battery packs are extremely common because of the demand for portable phone battery banks. Sense those battery packs are meant to be portable they will also be small. Keep in mind that the battery pack also would need to be at least 2 amps. Any battery pack that outputs to USB will be a 5v output. There are also a few down sides to using that screen. One of which is size 2.8" is very small. Another down side is the resolution; that resolution is 1/2 of the screen i used, and the screen i used was barley acceptable. I'm sorry for answering your yes or no question with very long paragraph. I hope all that information makes sense and was helpful. I think that screen would be a great improvement to the design.

trent.z.terrill (author)2014-12-16

I'm wondering. When you plug the unit into a mirco usb does it charge it? How does the battery charge? (I'm new to all this and i'm doing this as a nice side project.)

Hello, I'd like to start of by apologize for taking so long to reply, I did not see you question. The battery isn't charging of micro usb the batter is charged using a Deans plug. But the micro usb your seeing is the connector going from the batter to the raspberryPi to give the pi power.

bto11 (author)2015-01-24

hello I was wondering what you used for the casing on the back (the red case) as its not on the list of parts? any help would be appreciated

TylerJohnson (author)bto112015-01-24

I use some 12" by 12".118" acrylic I got on amazon, and used a box cutter to score the acrylic so it would break evenly. I then used super glue to put it together. It didn't tern out as well as I wanted and was kind of bulky. That's is why I didn't include it in my instructions. If I were to do it again I would cut out the inside of a book and stealth put it in.

aakashsunkari (author)2015-01-24

I got a Raspberry Pi B+ for Christmas, this sounds like an awesome first project! Great Work!

nerd7473 (author)2014-11-26

hey I may make a portable pi using a usb battery pack, a screen from adafruit. and a small keyboard from adafruit I just need to figure out a way to add audio out because it is a HDMI screen

nerd7473 (author)nerd74732014-11-26

sorry the keyboard will be from ebay instead to save money

Crafterkid123 (author)2014-09-24

would it work with a 4.3 inch 12V power supply monitor if the power consumption is 3W?

You need to look up the minimum voltage the monitor runs at to see if it will run on whatever battery you use.

ikbenlike (author)2014-06-11

i love it but what os do u run on it?

TylerJohnson (author)ikbenlike2014-06-11

i have the "noob" SD card that let's you try a bunch of different OS's. Iv been trying them all out before I pick one out.

nerd7473 (author)2014-06-09

I noticed a issue with the instructable, the first few links seem to be half complete...

TylerJohnson (author)nerd74732014-06-09

Im not really sure what could be causing your issue. On my end the links are working. Is anyone else having this issue?

nerd7473 (author)TylerJohnson2014-06-10

they look fine now, weird

biloute (author)2014-06-04

Hi ! I have the Rii RT-MWK02 BlueTooth keyboard. I can't use it with my RPi (for my openelec mediacenter). If your keyboard is really a BlueTooth one, how did you insall it ?

But I don't think your Rii keyboard is a BlueTooth model. It looks like the WiFi model, isn't it ?

TylerJohnson (author)biloute2014-06-05

I thought I bought the Bluetooth keyboard, but after looking I did buy the WiFi one. Here is thred about your keyboard on the raspberry pi forum. Http://www.raspberrypi.org/forums/viewtopic.php?p=88207 Hopefully its helpful. Good luck.

biloute (author)TylerJohnson2014-06-05

Thanks for the link. I'll try that :)

Jan_Henrik (author)2014-06-01

I have that keboard too, its very cool!

About This Instructable

124,277views

350favorites

License:

More by TylerJohnson:Make a Portable Computer Using a Raspberry Pi
Add instructable to: