Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

It's been more than two years since I posted about my Raspberry Pi in a NES Case. That article was spectacularly successful, gaining attention from LifeHacker and shortly being copied across many other blogging sites. Over the past two years I've had many people ask me about the details of the wiring and I must admit some of it was a bit flaky in my original article. So even though I've shelved this project, I dug it out, took it apart again and took a more detailed look at it.

I've put together a diagram of the wiring as well as some close up photos of where I connected my wires on the original NES boards. There are three places for wiring: NES Switch Board (at the front of the NES), NES Socket Board (at the rear of the NES) and the USB hub (at the power socket).

Keep in mind that the goal for the original project was to use all the existing sockets, this meant that the HDMI connector could not be used and the audio had to be connected to the A/V sockets by splitting the stereo jack that is plugged into the RPi.

If you just want to look at the photos for this article:
Open image gallery


Here's what it all looked like when I took the case off. The Raspberry Pi has since been repurposed and is no longer inside, but the rest of the wiring remains.
CIMG5949.JPG


The 5V power supply that I used for the USB hub has has the original NES connected spliced in instead of whatever plug it had previously.
CIMG5946.JPG


Just a quick reminder of what the sockets are on the rear of the NES...

CIMG5945.JPG CIMG5948.JPG




Now lets see the boards that are wired up (don't forget that I had to strip all of the components apart from the sockets from the original socket board)...
CIMG5950.JPG


In terms of a rough schematic, it looks like this...(you do need a 10k resistor inline with the white/gnd wire going from the LED to the 3v3 pin on the RPi, that resistor is not shown here).
schematic.png


Here's a closer look at the power socket wiring. Keep in mind that the red wire connects to the 'red' pin hole on the switch board, then the 'brown' wire is the one that connects to the USB hub positive terminal. This way the power to the USB hub can be switched on/off.
CIMG5954.JPG


This is the video plug wiring.
CIMG5956.JPG


...and finally the stereo jack wiring.

CIMG5957.JPG CIMG5958.JPG


That's all there is to it. Not going to go into controller wiring since that is covered sufficiently already.

Enjoy!

-i

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.