Fixing An NES For Good

Sometime in the late 80s, the vast collective consciousness of 8-year-olds discovered a Nintendo Entertainment System could be fixed merely by blowing on the cartridge connector. No one knows how this was independently discovered, no one knows the original discoverer, but one fact remains true: dirty pins probably weren’t the problem.

The problem with a NES that just won’t read a cartridge is the ZIF socket inside the console. Pins get bent, and that spring-loaded, VCR-like front loader assembly is the main point of failure of these consoles, even 30 years later. You can get replacement ZIF sockets for a few bucks, and replace the old one using only a screwdriver, but this only delays the inevitable. That ZIF socket will fail again a few years down the line. Finally, there is a solution.

The Blinking Light Win, as this project is called, replaces the ZIF connector with two card-edge slots. One slot connects to the NES main board, the other to the cartridge connector. There’s a plastic adapter that replaces the spring-loaded push down mechanism created for the original ZIF connector, and installation is exactly as easy as installing a reproduction NES ZIF connector.

If you’re wondering why consoles like the SNES, Genesis, and even the top-loader NES never had problems that required blowing into the cartridge connector, it’s because the mere insertion of the cartridge into the slot performed a scrubbing action against the pins. Since the ZIF socket in the O.G. NES didn’t have this, it was prone to failure. Replacing the ZIF with a true card-edge slot does away with all the problems of dirty contacts, and now turns the NES into something that’s at least as reliable as other cartridge-based consoles.

Hackaday Links: August 3, 2014

hackaday-links-chain

A ton of people sent in this video of crazy Russians who have taken a microwave, removed the magnetron, taped it to a broom, and turned it on. Don’t try this at home. Or near us.

You know the Google Cardboard kit that’s a real VR headset made of cardboard (and a smart phone)? Google may have gotten their inspiration from Oculus, because every Oculus Rift DK2 ships with a Samsung Galaxy Note 3 inside.

paul allen

Ever design a PCB and be disappointed by the quality of the silkscreen? [Paul Allen] has been defining the edges of his PCB labels with the copper layer, and the examples are dramatic. Etching copper is what you actually pay for when you fab a board, so it should come as no surprise that the quality is a little higher.

Dunk tanks are fun, but how about competitive dunk tanks? [Chad] built a dunk tank (really more of a ‘dunk shower’) out of a 2×4 tripod, a garbage can, and a few parts from a the toilet aisle of Home Depot’s plumbing department. Then he built a second. Set up both dunk showers across from each other, give two people a few balls, and see who gets soaked last. Looks fun.

Want a MAME cabinet, but don’t want it taking up room in your house? Build a MAME coffee table! Here’s the reddit thread. Maybe we’re old-fashioned, but we’d rather have a giant NES controller coffee table.

Last week we saw a 16-bobbin rope braiding machine, but odd braiding machines like this aren’t limited to fibers. Here’s a wire twisting machine for making RS422 cables. It only produces a single twisted pair, but that’s really all you need to create a cable. Somebody get some paracord and make some Cat5.

Commodore 64 and Nintendo Make Beautiful Music Together with SYNCART

Cyncart

[Dan] has been hard at work developing CYNCART to get his Commodore 64 and original NES to play together. We’ve seen [Dan’s] handiwork before, and it’s pretty clear that he is serious about his chip tunes.

This project starts with something called a Cynthcart. The Cynthcart is a Commodore 64 cartridge that allows you to control the computer’s SID chip directly. In effect, it turns your Commodore 64 into a synthesizer. [Dan] realized that the Commodore’s user port sends out simple eight bit values, which happens to match perfectly with the NES’ controller ports. In theory, he should be able to get these two systems communicating with each other.

[Dan] first modified the Cynthcart to send data out of the user port on the Commodore. This data gets sent directly to the NES’ 4021 shift register chip in the second player controller port. The NES runs a program to turn this data into sound on the NES’ audio chip. The first player controller can then be used to modify some other sound settings on the NES. Musical notes are played on the Commodore’s keyboard. This setup can also be used to play music on both systems at the same time. Be sure to watch the video of the system in action below.

Continue reading “Commodore 64 and Nintendo Make Beautiful Music Together with SYNCART”

Tetris Duel with the Raspberry Pi

Tetris Duel

Building a multiplayer network game with multiple Raspberry Pis can be very difficult. Doing it in assembly is outright insane! This is exactly what a group of first year students at Imperial College London did; they created a network based multiplayer Tetris game for the Raspberry Pi.

[Han], [Piotr], [Michal], and [Utsav] have created this entire game from bare metal assembly, and it only consists of 4000 lines of code! The code is well documented, so be sure to look through their Github repository. This project is a great reference for those looking to learn bare metal assembly and networking. They even chose to use the old NES controllers, a very nice touch. While we have featured what seems like a million different Tetris games in the past, this is the first multiplayer version. See Tetris Duel in action in the video after the break!

This is a shout-out to all of you students out there. Take the time to create quality documentation for your class project, and upload it to the internet. Not only is it a great resume boost, but it could very well end up on Hackaday!

Continue reading “Tetris Duel with the Raspberry Pi”

Hackaday Links: June 29, 2014

hackaday-links-chain

Ever see a really cool build on YouTube with no build details at all? Frustrating, right? That’s us with the NES Keytar covering the Game of Thrones theme. He’s using a Raspi with the sound chip in the NES to do live chiptunes. Freakin’ awesome. There’s also the ST:TNG theme as well.

A few years ago the folks at Oculus had an idea – because of cellphones, small, high resolution displays are really cheap, so why not make VR goggles? At Google IO this week someone figured out everyone already has a cellphone, so just wrap it in some cardboard and call it a set of VR goggles. You can get a kit here, but the only difficult to source components are the lenses.

What happens when you put liquid nitrogen under a vacuum? Well, it should evaporate more, get colder, and freeze. Then it breaks up into solid nitrogen snow. No idea what you would do with this, but there ‘ya go. Oh, [NC], we’re going to need a writeup of that LN2 generator.

About a month ago, the House4Hack hackerspace in South Africa told us of their plans to bring a glider down from 20km above the Earth. They finally launched it, The CAA only allowed them to glide back from 6km (20,000 feet), but even from there the foam glider hit 230kph (124 knots). That’s a little impressive for a foam FPV platform, and we’re betting something with a larger wingspan would probably break a spar or something. Shout out to HABEX.

All the electronic dice projects we’ve seen have one thing in common: they’re not cubes. Thus uberdice. It’s six nine-pixel displays on the faces of a cube, powered by a battery, and controlled by an accelerometer. Yes, it is by far the most complicated die ever made, but it does look cool.

Original NES Guts Upgraded with RetroPie

NES RetroPi

If you have an old broken NES lying around and have no idea what to do with it, you may want to check out [snoius’s] latest project. He replaced the guts of his old NES with a Raspberry Pi. [snoius] started out by removing most of the electronics from his original NES to make room for the Pi. He left the original control panel board so he would be able to use the original power button and power LED. The NES power switch is an on/off toggle switch. [snoius] decided to just route the 5V USB power input directly through this switch. The result is a hard power switch for the tiny computer. The original power LED is wired up to the Pi’s 3.3V GPIO header through a 330 ohm resistor. Now when the Pi has power, the LED lights up.

The next step was controllers. It looks like [snoius] is using some USB SNES controller clones. He wanted to use the original NES controller ports but obviously the NES did not utilize USB. [snoius] used a saw to cut the backs off of the controller ports, leaving a flat surface. He then used a utility knife to carve out a hole in the shape of a female USB port. He mounted some ports in place and then wired the inside up to some short USB cables with male ends. These were plugged into a USB hub that is hidden inside of the NES case.

The Pi is also hooked up to a short HDMI cable and a short power cable. The loose ends of the cables are mounted to a small block of wood. Notches are cut out of the wood to better fit the cable ends. The rear of the NES has two holes cut out where the original connectors used to be in order to accommodate the new connectors.

With all of the hardware taken care of, [snoius] still needed a way to actually play his games. That’s where RetroPie saved the day. RetroPie is a Linux distribution for the Raspberry Pi that is specifically created to make it easy to play old video games. It includes emulators for many old systems including NES, SNES, SEGA Genesis, Gameboy, etc. [snoius] installed RetroPie onto an 8GB SD card and copied over all of the ROMs he could find. The end result is what appears to be an original NES at a glance, but is in fact multiple retro gaming systems in one. It also contains hundreds of video games in on board memory instead of requiring a large library of physical cartridges.

[via Reddit]

Dual Port RAM Teaches an Old NES New Tricks

nesDPR

[Andrew] is developing a game for the Nintendo Entertainment System (NES). Emulators are great for this, but [Andy] loves running on the real iron. To help, he’s created a dual port RAM interface for his NES. As the name implies, a dual port RAM is a memory with two separate data and address buses. The Cypress Semiconductor CY7C136 [Andy] used also includes arbitration logic to ensure that both ports don’t attempt to access the same memory cell and cause data corruption. In [Andy’s] case the NES was on one side, oblivious to the new hardware. On the other side of the dual port RAM, [Andy] installed an ATmega164 running his own custom firmware.

The new hardware gives [Andy] a live view of what’s going on in the NES’s memory. He added a live memory view/edit screen similar to the FCEUX emulator. The window runs on a PC while the game itself is running on an NES. [Andy] was even able to add rudimentary break and step features by connecting his circuit to the Non Maskable Interrupt (NMI) line of the NES. By holding the NMI asserted, the ATmega can essentially freeze the game in progress.

[Andy] has even used his circuit to teach the NES some new tricks. By reading the timer and score memory locations on Ice Hockey, he was able to create a scoreboard and goal light. Similar techniques were used to give Contra a muzzle flash light which puts Ambilight systems to shame.

We don’t know what [Andy] is planning next, but we hope it’s a source release so we can start hacking some some games ourselves!

Click past the break to see a couple of [Andy’s] Vine videos.

Continue reading “Dual Port RAM Teaches an Old NES New Tricks”