Introduction: Lego Computer Case

About: I like eating burritos and spending way too much time sitting around tinkering with stuff. I'm too lazy to think of something to put here but at least it's a description, right?

Peace is a lie, there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through building a Lego computer, I gain hours and hours of sitting in a basement (lol)

Welcome to the Lego computer build instructable!  Through this tutorial I'll show you the general method for how to build a computer case of any style out of Legos!  To help with the instructions I'm going to use a Star Wars Imperial themed case that I put together.  The end goal should be to make a case EXACTLY how you want it though (i.e. custom colors, theme, exterior and interior shape, etc.) so you can accommodate whatever computer parts you want to use and whatever style you like.

This is a rather *big* instructable so I've broken it up into a few different sections to make it easier to follow. The sections are:

Basics of Lego Structures
Basics of Computer Building
Constructing a Computer Model and Design
How to Order Lego Parts
How to Build the Computer You Designed


Before we begin I'd like to lay out some of the pros and cons of building the case so that you have an idea of what you'll be getting out of the build.

Cons:
* Price (the case may be a few thousand lego parts and this could cost around $300 dollars, so it's pretty expensive but this varies depending on your design.)
* Heat (computers get hot inside and the abs plastic of Lego bricks is not good at dissipating heat)

Pros:
* Customizability (this case can be made to do pretty much whatever you want if you're willing to put in some time engineering it)
* Longevity (the case should last the rest of your life because you can add, subtract, or redesign Lego parts based on your needs)
* Awesomeness (you should be proud of your case and show it off a little because it probably looks cool and took a lot of time to make)
* Knowledge (if you didn't know much about computers when you started, you'll learn all kinds of things by the time you finish this project and don't worry, when I started I didn't know anything about how to build a computer)

I'm competing in the shopbot challenge so if you like this project don't forget to give me a vote!

Click this to check out my model designs(search the username "greenyouse" and click on the green arrow instead of hitting return. Note, I'm using an external optical disk drive for my case.  You'll need Lego Digital Designer from step 5 to view them in-depth.)

Step 1: Basics of Lego Structures

Ok, this step should be pretty easy to grok for anyone with experience building with legos but it's still really important.  Here are three basic rules to building lego structures that will direct how you build your computer case.

First: If the wall is only one brick thick, secure gaps between adjacent bricks within rows by placing a brick over or under the gap (pictures 3,5).

Second: If the wall is thicker, make alternating rows perpendicular to one another (pictures 2,4).

Third: Use larger, plate lego pieces for points that will receive the most stress.  Larger pieces will be more stable than small ones and three layers of plate pieces interlocked in a structure will be more stable than one brick (pictures 6,7).

(also check out what a brick, plate, and tile look like)

Use this site to understand the dimensions of lego pieces.  This is probably the most important thing to remember while building the case so keep referring back to it until you memorize the dimensions!

Step 2: Basics of Lego Structures - Mosaics

Here's how to make any image (aka Lego mosaic) for your computer case!  First find a picture that you'd like to use.  Then stare at it for nine or ten hours until you burn the image into your mind and can channel the force and make it on the fly in Lego Designer (jk, that's what I did)

If you want an easier way to construct the Lego mosaic try this:

1. Measure the number of pegs on your model that you want your image to take up (length x width)
2. Print the picture of the image you want and cut out a piece of tracing paper that have the same scale as the brick picture you measured in step 1
3. Make a grid on the tracing paper using x and y lines that match up with the number of bricks you counted from step 1 (i.e. 23 rows and 46 columns  if you had a space of 23 x 46 in step 1)
4. With the image under the tracing paper, use colored pencils to trace an outline of the shape of each of the colors in the original picture
5. Brickify this by making each square on the graph one color to symbolize one lego brick.  Try sticking to the color that takes up the majority of the square.  For example, if a square was 1/3 red and 2/3 black, it may be better to make the square black.  There will be some image distortion but try playing around with it until it comes out alright.

This could also be done with gimp or photoshop by automatically doing a grid overlay on the picture too http://www.wikihow.com/Transfer-Images-Using-a-Grid-and-a-Computer

The biggest rule of thumb for this section is that the larger the lego space, the more image resolution you'll get.  Try thinking of each brick as a pixel in a picture.  The more space you have, the more pixels, and the more detailed the image becomes.

Step 3: Basics of Computer Building - Parts?

Now the real work begins!  Okay, if you've already built a computer before you can pretty much skip this step, however, it may be good to peek at the checklist below.  For everyone else, it's time to learn how to build your own computer (Woohoo)!  Since there are already TONS of instructions on different websites for how to do this I'll leave it to a professional to explain:

Building Your Own PC
More
Even More!

To help with buying the parts, here's a cheat sheet of basic parts you'll need for the build:

PSU
GPU
Motherboard
CPU
Fans
RAM
CPU Cooler
Motherboard screws
Thermal gel
HDD/SSD
A Switch to the motherboard for power and reset
Optical disk drive (for CD's, DVD's, Blu-ray's, etc.)
Wireless internet adapter (Optional)
Fan controller (Optional)
Additional cables (Optional)
Additional accessories (Optional)

Remember to make a list of what you want your computer to be able to do (gaming, basic internet browsing, movie editing and animation work, etc.) and buy parts based on that.  If you didn't know already, new computer parts are EXPENSIVE!  To help, I'd suggest buying most of the parts during store sales (like black friday or cyber monday, I saved about $300 doing this).  Otherwise there's nothing wrong with older computer parts and you even may be able to buy all the old computer components for less than the case.

Step 4: Basics of Computer Building - Fans?

Uff da, that's a lot of computer research but hopefully you've gotten a feel for the basics by now.  Now let's focus on what type of case fans to get.  Since the case will need to circulate lots of air, I suggest getting fans that have high cfm (cubic feet per minute of air pushed) ratings.  I think it's probably best to get the same model intake fan as exhaust fan to try to get neutral pressure inside the case (here are couple discussions on case pressuremore pressure stuff, and the king of all fans if you can afford it ze über-fan).  Depending on the motherboard you get and the number of fans you want, you might need a fan controller.  Make sure to look at the number of fans your motherboard will be able to control to know for sure!

Getting fan filters for the intake fans is probably a good idea too because you won't want dust to accumulate inside your case.

Step 5: Constructing a Computer Model and Design

Good job making it through the beginning stages.  Be warned, next few steps will be much more challenging.  Think of the project as jedi training.  The lego and computer research you did was like the initial lightsaber training that Luke did onboard the Millenium Falcon.  This chapter of the project, however, will be like lifting an entire x-wing out of a swamp using only your mind.  Stay with it and don't give up because it will all be worth it when you finish!

The modeling software that I chose to use for the project is called Lego Digitial Designer.  It might be a little clunky when you first use it but read through the manual on how to use it because it will help a TON!

download here

look at the help manual here


I would strongly suggest building each part of the case (such as the left wall, floor, right wall, front wall, etc.) individually so each part has its own workspace (and don't forget to put each part in a group).  When all the parts are finished, create a mega workspace and import all the parts into it.  Then get excited as you see all of your pieces locking together to form the case (hopefully everything fits perfectly).  By using all the part groups for building the construction process will be tidier, more manageable, and more fun at the end when everything locks together!

Click this to check out my model designs(search the username "greenyouse" and click on the green arrow instead of hitting return. Note, I'm using an external optical disk drive for my case.  You'll need Lego Digital Designer from step 5 to view them in-depth.)

Step 6: Model and Design - Replication

Here's a little tip for building that I hope is helpful.  To make the design process easier try creating a small design of about four or so bricks that can be replicated over and over to form larger structures like a wall or corner column.  This will save lots of time and effort.  It's like when the Empire decided to just find one really good soldier and clone a few million copies of him.  Why spend time recruiting a bunch of people when you don't need to? When you have a nice mini-structure, just replicate it until you end up with something much bigger!

Step 7: Model and Design - Dimensions, Dimensions, Dimensions

Make sure to ALWAYS note the dimensions of each computer part you're thinking of purchasing so that you can incorporate the part into your lego case!  You must plan EXACTLY how each part will fit into the case.  This is a serious pain in the butt and may be the crux of the lego case designing.  Try keeping a little list of all the parts and their dimensions, including the case dimensions, (in millimeters or lego pegs) on your computer so you can work with it while designing.

There isn't too much I can offer to help with this section since the computer parts and the case design are up to you.  The motherboard and the PSU should be the biggest parts in your case so if there's any way you can sit the motherboard or PSU up vertically it will save some space.  I got the PSU to sit vertically in my case but the motherboard could be done by building little wells (where the motherboard screws and standoffs go) into one of the walls and smushing a little sugru into well to hold everything together.  If you're going to hang stuff off the wall it will be difficult though because legos can take vertical loads but aren't very good at lateral stress.  This means that a heavy motherboard may need to somehow touch the ground a little to take weight off the wall wells (as you can tell this is risky and complicated but try it if you're feeling daring).  You might want to come back to this page after working on the project a while.

I found it was helpful to doodle a little map of the inside layout of the case to plan where everything is going to go.  Each computer part is drawn in as a box and there are dimensions scattered about all over the place.  To start the doodle draw the boundaries of the case you'll be using.  Then just fill everything in accordingly.  Look at the dimensions of everything and make sure the parts will all fit nicely in the case. (the picture is of the original design I tried)

Stick with it and you'll get it to work eventually!

Step 8: Model and Design - Mobo Wells

Wells for the motherboard can be built really easily.  To secure the motherboard there will probably be seven or so standoffs which connect to screws (wikipedia article).  The screws pass through the motherboard and hold it down.  Normally the standoffs would screw into the case but since we're using legos we'll have to improvise a little.  The standoffs are really small and can easily fit into one peg of space.  Unfortunately the motherboard screws won't line up perfectly with the lego pegs underneath so I'd suggest making little wells with an opening the size of about four pegs in a square shape for a bit of wiggle room to put the standoffs in.  After this, a little bit of sugru can be molded into the well and hold the standoff securely in place.  

Always pass the top screws through the motherboard first.  Then tighten the standoffs onto those screws.  Add a dab of sugru into each of the wells and then place the screws with standoffs  and motherboard attached into the sugru.

Step 9: Model and Design - Accessibility

I guess this step is somewhat optional but if you know that you're going to use your case for a long time (remember it should last the rest of your life) you'll probably want to make the inside of the case accessible so you can clean and swap parts out.  The easiest way that I found for getting this was to make a case top that could easily pop off.  For my case all I would need to do to get inside is pop the top off and move the fans and plexiglass, then I could get at anything I wanted inside the case.  That takes about one minute and is incredibly easy.

Alternatively you could try making a swivel wall but this is much, much more difficult.

Step 10: Model and Design - Plexiglass Windows

If you want to put plexiglass windows in your case, it's pretty easy.  I put channels in my walls to hold the plexiglass so all I have to do is line up the plexiglass with the slots and drop it in.  Using plexiglass for walls will also mean fewer bricks that you'll need to design and eventually purchase, so it's cheaper and easier to construct.  I would recommend this for the first lego computer build.  Later builds could replace the plexiglass wall with a wall full of drive bays or something but it would be good to start with a basic build before tackling harder stuff.

Step 11: Model and Design - Drive Bays?

For housing the HDD/SSD there are a few options.  The first and easiest is to put the drive on the floor of the case.  There's not much to that, just make sure it gets some airflow (this is what I did for my case).  

Little beds could also be made to house the drives in the corners too.  I didn't quite finish the design for this but it would be good if the bed were resting on something solid (like on top of the PSU).  This would only take a handful of extra pieces and may be easy to make quickly.  This design also would get great airflow.

The most difficult style was making removable drive trays.  I did a little model of this that has locking drive trays and cords that run through the wall to connect to each drive (like the mac pro).  You'll also need the wall on the opposite side of the computer to swing open easily so you can get at your trays.  This means doing even more work!  In the end it takes tons a extra bricks and is much more difficult to build so I didn't quite finish all the design and decided not to use this for my first case model (I only needed one drive anyway).  

If you really need more than one drive, I'd suggest trying to stack corner drive trays before going to removable trays.  

Step 12: Model and Design - Motherboard Faceplate

This step is pretty simple, just make a hole in one of the walls for the motherboard faceplate.  Making one or two pegs of lego that stick out to hold the faceplate in place is a good idea for this part.  Doing a channel to hold the faceplate is also smart.

Getting the dimensions of the faceplate before ordering the motherboard may be difficult but snoop around a little on the internet for a manual because these generally will have the dimensions.  Otherwise don't sweat it too much because this part shouldn't be too difficult to put in quickly after your motherboard arrives at your house.

Step 13: Model and Design - Fan Holders

Ok, now we'll need to cook up a design for the fan holders (this is a long, difficult build but don't worry you're almost done with designing, and it's kind of fun right?).  Luckily most fans have two outer walls with a channel that runs in between the walls.  What we'll do is insert some lego bricks into the channels and if we can get a snug fit on all four corners of the fan it should stay in place.  I used these fans and tried estimating what the size of the channel was using some basic math (this fan is 140mm across and it's a circle inside of a square).  The estimation works pretty well although I ended up having to tweak the middle holders a little bit when I actually put the case together.

Keep in mind air circulation while your placing the fans.  Air should definitely be going to the motherboard and HDD/SDD!  

Step 14: How to Order Lego Parts - Counting

Huzzah!!  You did it, you designed an entire case out of legos and hypothetically got all of your parts to fit!  Well now you're almost done but you just have a little more to cover.  This is the last difficult part of the build.  Just imagine that you're Luke flying through the trenches of the Death Star.  All you have left to do now is to line up your shot and fire the proton torpedoes!

Before you order any of the lego parts, you'll need to take your model apart and count each lego of the pieces that were used and record the part types.  The simplest way to do this is to make a spreadsheet with three pages - one for bricks, another for plates, and a last one for tiles.  Then, within each of the sheets make separate rows for parts that only have a thickness of one peg and the rest of the parts.  Create columns for each of the parts, separated by the dimensions of the parts (like, 1x1, 1x2, 1x3 etc.).  Then leave a space in the row under the part type header to list how many of each part type there were in the model. 

If this explanation is confusing, check out my spreadsheet example (maybe you should just refer to that anyway).

To take stock of everything just use the building guide mode in LDD (upper right corner button or f7) and record each part (thanks sherrycayheyhey).  To quickly switch between applications when entering parts into the spreadsheet use alt + tab (apple + tab) and for windows within an application use alt + ~ (apple + ~).

Turn on some tunes while you work because this could take a while!

Edit: I uploaded the spreadsheet I used for ordering LEGOs.  Hope this is useful!

Step 15: How to Order Lego Parts - Ordering

Now that the monotonous counting is done, it's time to order the parts.  As you'll find out lego parts, unfortunately, are a little more expensive than you might expect.  Luckily, lego fanatics have created an online marketplace for legos called BrickLink and the  LEGO company has an online store too named Pick A Brick Shop.  You'll need to use these to get the lego parts you need (unless you have an ungodly amount of lego pieces siting around your home).  

BrickLink is usually a little cheaper than pick a brick and I would try searching the BrickLink in depth first and using the LEGO site as a fallback.  It pays to get anal about comparing stores!  On BrickLink I tried to use the 10 largest stores in my state and compared prices for each one (using a store in your state should cut down on shipping).  This is necessary because many stores have limited inventories and prices may vary considerably.  Unfortunately, some parts may not be available or are ridiculously expensive.  If this happens try changing your large or uncommon parts for smaller or more common parts (like a 2x16 to two 2x8).  This may require that you alter parts of your design a bit but hopefully your case will work out alright.  If there's no way to do a BrickLink order for a part try Pick A Brick but know that the prices are usually a little bit more expensive (they do have a basically unlimited supply though…).

Try ordering lego brick separator too if you don't already have one.  This is handy for taking bricks apart during the build and saves lots of time.  I think I used this at least one hundred times while I was building (that's not an exaggeration).

Step 16: How to Order Lego Parts - Base Plate

When you attach your computer model to a slab of wood, metal, or plastic in the next step, it will help to have a large base plate or a group of base plates so that you don't glue down the bottom lego layer of your computer and lose the ability to modify all of those lego parts later!  Try ordering an extra large, grey base plate from the Lego store or get a few smaller base plates from somewhere to avoid this problem.

Step 17: How to Build the Computer You Designed - Board

You're almost done!  Now you'll need to attach your lego baseplate to a board so that you can move the computer around without having it fall apart.  I used a piece of wood from Home Depot that was pretty cheap ($10) but feel free to use whatever you want - just don't use HDPE or LDPE material that you find in cutting boards because it's made of polyethylene so glue wont work on it at all.  For some extra style points you could try this board if you have some money left to spend.

Stick four globs of sugru onto the bottom of your board to act as adhesive feet.  Then, whip out some glue that can bond abs plastic to the board you're using (I used gorilla super glue) and glue your large, lego baseplate to the board.

(sorry I didn't get any pics of the lego baseplate attached to the wood but it's under the black and white bottom layer)

Step 18: How to Build the Computer You Designed - Build!

I would suggest building the building the bottom layer of your computer now and attaching it to the lego baseplate when you finish.   Getting plexiglass to fit into the case is pretty simple too.  Start by measuring the place where you'll put the plexiglass sheets so you know the dimensions that you'll need for the sheets.  Then use some painter's tape to outline where you want to make your cut (this will keep you from slipping and making a bad cut).  Finally, just score it  on both sides with a plastic cutter, snap it apart, and smooth out the edges of the plexiglass where the cut was made with a knife and drop it into the case.

If you're thinking of doing a plate and tile ceiling like I did you should know that it's a little unstable.  When a lot of lego plates are put in a big sheet they tend to buckle really easily.  I tried attaching a big green lego baseplate to the underside to stablize everything but it didn't totally fix it.  You could also try a plexiglass sheet underneath the ceiling to make the ceiling super reinforced (I wish I would've done that).

As you go you might run into some snags like a motherboard faceplate might not fit quite right with the motherboard inside (grr).  If something like this happens just go slow and be creative and hopefully everything will work out.  It definitely helps to have a little stash of extra legos just in case of emergencies.

Use step 8 for how to get the motherboard to fit in the case and start building the rest of your case, installing computer parts as you go (add a little sugru for extra reinforcement if needed)!

Here's a video of some of the build below (skip ahead for the final product).  Sorry I didn't film the entire build because it took lots of extra time to record. 

Step 19: Test It Out

Now, the moment of truth… TURN IT ON!  Hopefully everything worked out and after some hard work your imagination finally became a reality.  Install the operating systems and enjoy!  

Here are some pictures of other peoples' lego computers:

Lego Folding Farm (props to Mike Schropp! I built my computer using some design concepts from his awesome computer build)
City Computer
Lego Computer + Monitor
Ok, not a computer but cool none the less
Google "lego computer" for tons more examples


I hope you enjoyed the article, post lots of info if you build a lego computer yourself, let me know if you have questions about stuff and I'll try helping/posting more info, and may the force be with you!

ShopBot Challenge

Participated in the
ShopBot Challenge