loading
I received my Raspberry Pi and decided I needed a case. I didn't have much available to me in terms of laser cutters, 3D printers or woodwork skills etc. so I thought laterally. I'd previously had the idea of using the Pi as an emulator so I thought, "why wouldn't a Pi fit in a Mega Drive case?". About an hour and half later of taking my old Mega Drive II apart and thinking about the best ways of keeping everything tied down I had a very neat case for my Pi with (sort of) integrated USB hub.

For this Instructable you will need:

A Raspberry Pi with SD card inserted and OS installed (if you want to be pre-emptive with your case a credit card will help you see how it all goes together in place of the Pi),

A Sega Mega Drive/Genesis II (See the second picture if you're unsure which version you have),

A screwdriver that can undo all of the screws on the console (they're all the same size),

Some sticky tape,

A micro USB cableand power adapter for your Pi,

An HDMI cable, the thinner the better (or an RCA connector cable would work too),

(Optional, although highly recommended) A 4 port USB hub which is no wider than 105mm (about 4 inches), no taller than about 9mm (0.35 inches) and ideally no more than 30mm deep (1.2 inches). I used an old Kensington one. If it has a short USB cable attached, like mine, you may also want a USB extender cable.

USB Mouse and Keyboard (or any other connection type that you can get to work),

(Optional) Ethernet Cable.



Step 1: Dismantle Your Mega Drive/Genesis

For this step you need to remove every screw you can see from your console (see video below for help), inside and out except the ones holding the cartridge bay to the top of the case (see picture 1),unless you want to of course.

Keep all the screws safe (see picture 2; I unscrewed 9 in total but the number and type may vary slightly by model).

I used this video to help me take apart my Mega Drive as it shows you where to look for all the hard-to-find screws. Ignore the bit after 2:40 where he starts soldering; this is unneeded.


In the end you should end up with (see picture 3):
2 pieces of metal,
1 motherboard,
2 shells of plastic,
a plastic bar and
a load of screws.

Step 2: Making Room for the Pi and the Cables.

You should now have:
both halves of the plastic shell,
all the screws,
the plastic bar you removed earlier.

The next step is to remove the side panel from your console (located on the bottom half of the shell) where you would have originally plugged in a Sega CD or similar; this will be where the USB hub will go. It is likely that if it has never been removed before that it will be difficult to remove; don't worry too much if it takes a while to remove as that is normal (See picture 1 and 2).

Put the side panel to one side. Unless you have a very shallow USB hub you will not be using it again.

Now you must remove the clear piece of plastic between the 2 buttons on the top half of the shell. It should just pull off. This step may not be wholly necessary but it helps to guarantee that the shells will close again with all the new wires inside (see picture 3 and 4).

Reinsert the 9 or so short, internal screws you took out earlier into their positions inside the bottom shell. This will form the basis of your cable management system (see picture 5 for positionings).

Step 3: Inserting the Pi

Insert the Pi in the bottom half of the shell as shown in picture 1,2 and 3.

Plug in the HDMI cable. The Pi should lift slightly off the base of the case but ensure that it hasn't moved in any other ways as shown in picture 4 (you will probably need to hold it in position).

Insert the plastic bar over the top of the HDMI cable and screw it down using the 2 long remaining screws as shown in picture 5. Make sure they are tight and that the Pi cannot move after they have been screwed down.

Insert the micro USB through the large circular hole on the back of the case as shown in picture 6. Plug it into the Pi making sure it goes under the HDMI cable and wrap the cable between the 2 screw threads as shown in picture 7.

Place your USB hub as shown in picture 8. It probably won't stay there on it's own. I used sticky tape as shown in pictures 9 and 10 to secure it. Alternatively you could use glue (probably from a glue gun) or sticky pads instead. Be sure that there is enough room at the side of the hub for an Ethernet cable to get past if you plan on using one.

If your hub has a long enough cable (unlike mine) you can probably plug it in now. If the cable is too long or you require an extension USB lead wait and I will show you how to use the cable management system to keep the case neat.

Plug in your Ethernet cable bringing it under the HDMI cable but over the Micro USB cable as shown in picture 11.

To further secure your Ethernet cable you may want to tape it down like in picture 12.

If you have not already done so, plug in your extension USB cable or too-long hub cable at the Raspberry Pi end. If you are using an extension USB like I am, it may be easier to connect the extension cable to the hub last.

Wind the excess cable around the screw threads near the front of the case in a similar way to as is shown in pictures 13 and 14. If you have not already done so plug the extension cable into the hub. You may want to use some more sticky tape to further secure your extension cable.

This is where having the thin HDMI cable comes in handy. When looking at the case so that the HDMI is coming out of the Pi from the top, slightly to the right of where the HDMI cable naturally wants to go there is an indent in the case which should be semicircular. The other half can be found on the top half of the case. You need to bend the HDMI cable so that it goes into the indent and more or less stays there as shown in picture 15. This can be quite tricky.

If for some reason you can't do this you could always cut a bigger hole in the case for the cable to go through but I'm trying to do as little modification to the shell as possible.

After you have got the HDMI cable in position you should have something that looks a lot like picture 16.




Step 4: Putting the Case Back Together and Booting Up!

The next thing you need to do is place the top half of the plastic shell back on the bottom half and making sure the HDMI cable remains in place (which might entail pressing quite hard) flip the case over so it resembles picture 1.

You now need to put back your remaining 4 screws also shown in picture 1.

That's it!!!



All you have to do know is plug in your mouse and keyboard and all the other cables and you're away.

It should look something like picture 2 when it's all running properly.

I would like to thank Sega for making such an iconic console which, as it turned out works as a Raspberry Pi case too!

I would like to thank the Raspberry Pi foundation for retweeting this design on Twitter and letting everyone know about it.

I would also like to thank anyone who has used this Instructable and I hope that your case is as good as mine!!

This Instructable was brought to you by osholt. Follow me on Twitter.
<p>Good case for a retro console project. I made my proyect on the same case, but with the originals buttons an some customization. Here is my proyect: https://goo.gl/photos/BynuytUapJP2r4RV8 .</p>
<p>I&acute;m going the same way, except that I used an old Atari 2600 (Darth Vader/Polyvox) case (the console itself was damaged beyond repair, too many broken paths on the PCB - but the case was in pristine condition). <br><br></p><p>My &quot;work&quot; is still on &quot;Beta&quot; (I`m not using the old console switches, i&acute;ve only added a tactile microswitch for &quot;start shutdown&quot; routine), with a lot of stuff to do. </p><p>I also plan on using the old Atari DB9 ports (in Mega Drive standard, which is also compatible with the old Atari sticks) on the Pi. That will be my next step. :-) After I make that work, I&acute;ll see if I can use the remaining GPIO pins to make the &quot;select&quot; and &quot;start&quot; buttons of the Atari console work.<br><br>You can also try to (if you haven&acute;t so already) make something to start/shutdown the system using the stock Mega Drive power button and a tactile microswitch. :-) </p>
<p>How do you turn it on?</p><p>Any way to connect it to the original megadrive button?</p>
Any thoughts on connecting original Mega Drive 2 controllers using the GPIO ports, or do we need to use USB controllers? I've not been able to find any instructions online
I bought a special USB thing to do this for me but in theory it should be quite easy to connect a mega drive controller to the Pi. As Mega rive controllers use standard 11pin serial connectors if you found a serial library which works with the GPIO pins you could wire your controller straight on. The only difficult bit would be actually wiring the controller onto the GPIOs and possibly figuring out how to make the library trigger key presses when a button is pressed on the controller so you might have to brush up on your Python/C to do that bit. Best of luck!
cool
Now for the Sega Genesis emulator script for the Pi.
I looked into doing that at the time but because hardware acceleration was no where to be found then I gave up when I was playing Sonic the Hedgehog at 6FPS. I think I saw somewhere that someone got a Mega Drive emulator up and running pretty well (with instructions but I can't find it atm).
jabujavi- <br>Got mine ordered and delivered to the Dallas, TX for $43 US. The order confirmation showed $35 for the Pi, and $8 Standard Delivery (which was DHL I think).
How many dollars have you paid for the Raspberry? (If we can know it...)
I payed the standard launch day price from Element 14 on launch day which here in the UK, including VAT and postage was &Acirc;&pound;29 which works out at about US$35 + VAT as it is everywhere else in the world.

About This Instructable

46,899views

35favorites

License:

Bio: Technology enthusiast among other things.
More by osholt:Raspberry Pi Sega Mega Drive/Genesis II Case Cool Little Garden Peg Holder Jaws's jaws 
Add instructable to: