The Game Boy Camera, Or: How I Learned To Stop Worrying And Love The Pixels

Never underestimate the power of nostalgia. In an age when there are more megapixels stuffed in the sensor of a smartphone camera than the average computer display can even represent, why would jagged images from a 20-year-old grayscale camera with pixels numbering in the thousands still grab attention? Maybe what’s old is new again, and the coolness factor of novelty is something that can’t be quantified.

The surprise I had last Monday when I saw my Twitter notifications is maybe only second to the feeling I had when I was invited to become a Hackaday contributor. I’d made a very simple web app which mimics a Game Boy Camera using the camera from your phone or desktop, and it got picked up by people so much that I’m amazed my web host is still holding. Let’s look at why something seemingly so simple gained so much traction.

Continue reading “The Game Boy Camera, Or: How I Learned To Stop Worrying And Love The Pixels”

Game Boy Camera – Now In Color

The Game Boy Camera is a legendary piece of 90s gaming hardware, despite not being a game at all. It consisted of a low-resolution greyscale camera, fitted to a Game Boy cartridge, that you could use to photograph your friends, vandalise their pictures, then print them out on a thermal printer. It’s hardware that was fun because of its limitations, not despite them. However, [Matt] wondered if there was a way to use early photographic techniques to get color photos.

The technique is simple – get red, green, and blue filters, and take three photos – one using each filter. Then, combine the photos digitally to create the color image.  This necessitates an amusingly complex process to transfer the photos from Game Boy to PC, of course.

There are some limitations – due to the speed of the Game Boy Camera, it works best with static scenes, as it takes several seconds to shoot. Also, due to the low resolution, it’s best to choose subjects with broad swathes of color. Despite this, [Matt] managed to take some great images with a colorful yet vintage digital charm. There’s other ways to achieve this, of course – like bringing the power of neural networks to bear on your low-res Game Boy images. Video after the break.

Continue reading “Game Boy Camera – Now In Color”

Arduino Saves Game Boy Camera

[Brian Khuu] bought a few Game Boy cameras on the Internet and found that they still had pictures on them from the previous owners. The memory in the camera has a backup battery and if that battery dies, the pictures are history, so he decided to mount a rescue operation.

He knew the protocol for how the Game Boy talked to the companion pocket printer was available, so he used an Arduino and a Web browser to extract the photos. The resulting code is on GitHub if you want to save your pictures. Although [Brian] didn’t have to crack the protocol, he does offer a good explanation of it. There’s even some sniffed displays. The Arduino does all the communications and fools the game into thinking it is the companion printer. However, it simply streams the data out and a Javascript decoder handles the actual decoding. In fact, in the blog post, you can enter data, click a button, and see the resulting Game Boy picture.

It works, but [Brian] did run into a few problems. For one thing, the devices don’t seem to use any flow control so he had no choice but to keep up with the Game Boy. Also, there is a CRC he could not correctly decode. However, the pictures look good — well, as good as Game Boy pictures look, at least. So he did get results.

We’ve seen this done with a PC before. If you are more interested in the reverse, by the way, you can use a real Game Boy printer to print from an Arduino.

Yes, Of Course Someone Shot The Eclipse On A Game Boy Camera

This one shouldn’t surprise us, but there is something particularly enjoyable about seeing the total eclipse of the Sun through a Game Boy camera.

The Game Boy got its camera accessory back in 1998 when CCD-based cameras with poor resolution were just becoming widely available to the public. This camera can capture 128×112 pixel images in the four value grey scale for which the handheld is so loved.

Having taken part in eclipse mania ourselves we can tell you that unless you did some serious research and prep for photographing the thing, this makes as much sense as pulling out your smartphone did. We posit that it certainly produced a more pleasing result.

[jhx] says this is more a weird halo effect of the shot than it is a quality image of totality. At this resolution, the moon-covered Sun should be very few pixels in size, right? But fidelity is for photographers, this is for hackers. Getting the digital image off of the Game Boy camera involved using an Interact Mega Memory cartridge on a Game Boy Pocket to transfer it over, then using a USB 64M cartridge to copy from the Mega Memory and ultimately to a computer.

Glamour shots ain’t easy, yo. But it is possible to read images directly off the Game Boy camera thanks to some reverse engineering work.

[via Kotaku]

Two-Bit Astrophotography

The Game Boy Camera is a 128×112 pixel sensor from 1998 that was probably the first digital camera in many, many homes. There’s not much you can do with it now, besides replicate old Neil Young album covers and attempting and failing to impress anyone born after the year 1995. Nevertheless, screwing around with old digital cameras is cool, so [Alex] strapped one fo these Game Boy Cameras to an old telescope.

For any astrophotography endeavor, the choice of telescope is important. For this little experiment, [Alex] used a 6” Fraunhofer telescope built in 1838 at the Old Observatory of Leiden. The Game Boy with Camera was attached to the scope using a universal cell phone adapter. Apparently the ‘universal’ in this universal cell phone adapter is accurate – the setup was easy and [Alex] quickly got an image of a clocktower on his Game Boy.

Turning to the heavens, [Alex] took a look at the most interesting objects you can see with a 6-inch telescope. Images of the moon turned out rather well, with beautiful 2-bit dithering along the terminator. Jupiter was a bright white spot in a sea of noise, but [Alex] could see four slightly brighter pixels orbiting where Stellarium predicted the Galilean moons would be.

Was this experiment a success? Between cloudy nights and a relatively small telescope, we’re saying yes. These are pretty impressive results for such a terrible digital camera.

Neural Nets And Game Boy Cameras

Released in 1998, the Game Boy camera was perhaps the first digital camera many young hackers got their hands on. Around the time Sony Mavica cameras were shoving VGA resolution pictures onto floppy drives, the Game Boy camera was snapping 256×224 resolution pictures and displaying them on a 190×144 resolution display. The picture quality was terrible, but [Roland Meertens] recently had an idea. Why not use neural networks to turn these Game Boy Camera pictures into photorealistic images?

Neural networks, deep learning, machine learning, or whatever other buzzwords we’re using require training data. In this case, the training data would be a picture from a Game Boy Camera and a full-color, high-resolution image of the same scene. This dataset obviously does not exist so [Roland] took a few close up head shots of celebrities and reduced the color to four shades of gray.

[Roland]'s face captured with the Game Boy Camera (left), and turned into a photorealistic image (right)
[Roland]’s face captured with the Game Boy Camera (left), and turned into a photorealistic image (right)
For the deep machine artificial neural learning part of this experiment, [Roland] turned to a few papers on converting photographs to sketches and back again, real-time style transfer. After some work, this neural network turned the test data back into images reasonably similar to the original images. This is what you would expect from a trained neural network, but [Roland] also sent a few pics from the Game Boy Camera through this deep machine artificial learning minsky. These images turned out surprisingly well – a bit washed out, but nearly lomographic in character.

We’ve seen a lot of hacks with the Game Boy Camera over the years. Everything from dumping the raw images with a microcontroller to turning the sensor into a camcorder has been done. Although [Roland]’s technique will only work on faces, it is an excellent example of what neural networks can do.

Game Boy Camera Cartridge Reversed, Photos Dumped

There’s something magical and nostalgic about extremely low resolution in this era of mega-megapixels on every cell phone. And the Game Boy’s big bulbous camera module just looks so cool. [Robson Couto] didn’t stop at simply using the camera — that’s been done before — but actually reversed the card’s protocol so that he could leave it entirely intact. As you can see from the banner image, it was a success.

A project like this doesn’t get done overnight, and [Robson] drew on a lot of his own previous work as well as the work of others. For instance, he’d already made a board that interfaces Game Boy Paks to his PC through an ATmega32 and a serial port. He’d also written software that understands the card header format on the PC side. So dumping the ROMs contents should be no problem. But of course, it was.

[Robson] could read one bank of memory, but not any of the others. It turns out that the camera pack uses a clock signal that not many other cards use. It took [Robson] some serious work — a lot of it false starts and dead ends — to get this particular part working.

Success!
Success!

If you’re into Game Boy hacking, give [Robson]’s writeup a good read. Also note that he’s got fantastic links to previous research in all of his posts. If you couldn’t care less about keeping the cartridge intact, you can simply interface the camera with a TI calculator, use the camera to transmit Morse code, or simply add a thermal printer for a low-res instant camera with style.