Turning A Raspberry Pi Into An SNES

snes

Back at the turn of the century, shoving MiniITX motherboards into just about everything was all the rage with the technologist crowd. [waterbury] had the idea of making a computer out of an SNES, but with the added ability of reading SNES cartridges. This idea had been floating around in [waterbury]’s head for years now, and with a Raspberry Pi he can finally make his project a reality.

After desoldering a cartridge connector from an original SNES, [waterbury] plugged it in to a piece of perf board and started to figure out how to actually read the cartridge. An SNES cartridge need 16 address pins, 8 data pins, 8 bank control pins and 4 other control pins to be read; a total of 36 pins that [waterbury] accessed with the help of a neat I/O expander and a whole bunch of level converters.

[waterbury] accessed these data, address, and control lines via the Raspberry Pi’s I2C interface, a non-trivial task that took 70 minutes to read Donkey Kong Country before he found a way to speed up the Raspi by a factor of two. You can check out [waterbury]’s complete project – able to read cartridges and play roms with EmulationStation after the break. Also, the code for the cart reader is available on [waterbury]’s git
.

Continue reading “Turning A Raspberry Pi Into An SNES”

Hackaday Links: December 5, 2012

PS1 hombrew competition

code

The PlayStation Development Network is hosting a six-month long competition to develop homebrew games for the original PlayStation.We don’t get many homebrew games for old systems in our tip line, so if you’d like to show something off, send it in.

This is how you promote a kickstarter

snes

[Andy] has been working on an SNES Ethernet adapter and he’s finally got it working. Basically, it’s an ATMega644 with a Wiznet adapter connected to the second controller port. The ATMega sends… something, probably not packets… to the SNES where it is decoded with the help of some 65816 assembly on a PowerPak development cartridge. Why is he doing this? To keep track of a kickstarter project, of course.

What exactly is [Jeri] building?

jeri

[Jeri] put up an awesome tutorial going over the ins and outs of static and dynamic flip-flops. There’s a touch of historical commentary explaining why dynamic registers were used so much in the 70s and 80s before the industry switched over to static designs (transistors were big back then, and dynamic systems needed less chip area). At the end of her video, [Jeri] shows off a bucket-brigade sequencer of sort that goes through 15 unique patterns. We’re just left wondering what it’s for.

Finally, a camera for the Raspberry Pi

camera

In case you weren’t aware, the camera board for the Raspberry Pi will be released sometime early next year. Not wanting to wait a whole month and a half, [Jouni] connected a LinkSprite JPEG serial camera to his Raspberry Pi. The whole thing actually works, but [Jouni] didn’t bother posting the code. Maybe we can encourage him to do so?

Blatant advertising? Yes, but fireballs

Nintendo gave [MikenGary] a Wii U and asked them to make a film inspired by 30 years of Nintendo lore and characters. They did an awesome job thanks in no small part to Hackaday boss man [Caleb](supplied the fire), writer [Ryan] (costume construction) and a bunch of people over at the Squidfoo hackerspace.

SNES Emulator Has It’s Slot Sealed Shut

If you look closely you’ll notice there’s nowhere to put the game cartridge on this Super Nintendo system. That’s because this is a Rasberry Pi based SNES emulator that plays ROMs, not cartridges. Since the RPi board is used the only limit to what you can play is the board’s RAM and which ROMs you have on the SD card.

The case has basically been gutted and the unused cartridge slot was sealed with some Bondo before painting. In addition to the Rasberry Pi you’ll find a 7-port powered USB hub and a Teensy microcontroller board. The hub allows for the controllers to be connected via USB. The Teensy is recognized as a USB HID device and is used to connect the reset button to a functions on the emulator program. The power switch still works too. To make this happen [MIDItheKID] spliced a USB connector and a microB USB connector to the power switch. We think this draws power from the hub but we’re not 100% sure.

[MIDItheKID] mentions in the Reddit comments that he’s thinking of grabbing that new RPi that has more memory and doing some similar work on his dead PSX.

Interfacing SNES Controllers With Your Raspberry Pi

This lovely set of wires lets [Florian] connect stock Super Nintendo controllers to his Raspberry Pi. The IDC connector in the upper left plugs into the GPIO header on the RPi rather than going the route of using an intermediary USB converter.

The setup lets you connect two controllers at once, so you’ll have no trouble going head-to-head on Mario Kart as seen in the clip after the break. The ports themselves were pulled from a pair of SNES extension cables. Since button signals are pushed to the console via a shift register there’s just five wires needed for each (voltage, ground, data, clock, and latch). As far was we know the Raspberry Pi pins are not 5V tolerant so you probably want to add some level conversion to this circuit if you build it yourself.

[Florian] wrote a C program which shifts in data from the controllers and converts it to HID keyboard inputs. This should make it extremely flexible when it comes to emulator setup, and using the technique for different styles of controllers should also be pretty easy.

Continue reading “Interfacing SNES Controllers With Your Raspberry Pi”

SNES-001 Advance Puts Displays In The Controllers

Twenty years ago, [Downing] would fight with his siblings over who got to watch TV. Obviously, this gave him the idea of putting a television inside his Super Nintendo controller, but at he tender age of 12, [Downing] had neither the experience nor skills to make that happen. Now that he’s older, and much less impressed by the Sega Nomad, [Downing] made his dream a reality.

Reading over [Downing]’s madebybacteria forum thread, he began the build by adding two controller ports and painting the system a classic Famicom red and white. The prominent feature of [Downing]’s design – a display in each controller – are connected to the console through a second pair of SNES controller ports. Internally, the video signal generated by the SNES is broken out to each controller; the controller displays are just a small mirrored version of whats sent to the TV.

Like [Downing]’s previous Genesis portable, the SNES-001 is a master work of Bondo and vacuum forming. After the break you can see a few demos of what this console mod can do.

Continue reading “SNES-001 Advance Puts Displays In The Controllers”

Multi-system Nintendo Emulator Uses Stock Controllers

The first month of [WoolyDawg5’s] summer break went into building one Nintendo emulator to rule them all. He thinks there’s nothing like playing the games on the original controllers, and we agree with him 100%. Here you can see that the cartridge door on this NES enclosure hides the extra connectors he needs.

With that door closed this looks like a stock console, but only from the front. If you take a look at the back of it you’ll see how he pulled this off. There’s a Zotac motherboard whose I/O panel has been fitted into the back. It’s responsible for emulating games for the NES, SNES, and GameCube consoles — we’re sure it can do more but that covers the controller ports seen here. Each port is wired to a USB controller module. The cables for these modules exit the back of the case and plug into the motherboard’s I/O panel. There is WiFi for the board, and that’s what [WoolyDawg] uses for configuration, tunneling into the OS instead of connecting a keyboard or mouse.

Of course you could just shoehorn all-original console hardware into one package to accomplish something like this.

[Thanks KoldFuzion]

Drop-in Board For NES ROM Chip Makes Cartridge Reprogrammable

Here’s the guts from [Dext0rb’s] Super Nintendo cartridge. It’s easy to pick out the dark-colored board which lets him reflash SNES ROMs via USB. We’ve seen this done a number of times, but this is a much cleaner option than hacks that just add a dead-bug-style memory chip.

The board he designed has a double-row of pin headers sized to fit the footprint vacated by the original ROM chip. The board has a mini-USB connector which can be accessed through a hole he cut in the side of the cartridge enclosure. This is in the right place so that you cannot plug it in when it’s being used in the SNES (which would cause damage). The ATmega32u4 chip handles USB connectivity and programs the 32 megabit flash chip which stores the ROM. He’s posted a few articles on the blog portion of his site which you’ll find interesting. We suggest starting with this hardware teaser.