dragonlock2.github.io/_posts/2018-07-23-pi-zero-gameboy.md
2023-07-09 16:35:04 -07:00

2.4 KiB
Raw Blame History

title, date, categories, excerpt, header, gallery
title date categories excerpt header gallery
Pi Zero Gameboy 2018-07-23 projects A functional and fun Pi Zero powered Gameboy to relive some nostalgic memories.
teaser
/assets/img/2018/pi0gameboy-4.jpg
image_path
/assets/img/2018/pi0gameboy-2.jpg
image_path
/assets/img/2018/pi0gameboy-3.jpg
image_path
/assets/img/2018/pi0gameboy-4.jpg
image_path
/assets/img/2018/pi0gameboy-1.jpg

Written 8-27-19

Among the many projects for the Pi Zero is a handheld retro gaming console. It was the perfect opportunity to use up the Pi Zero v1.2 (one without the camera connector) that I had in my parts bin. I also had a backup LCD for cars that from my testing was pretty much only useful as a game console display and not any kind of text. With some parts in mind to determine the form factor, I got to designing in Fusion 360.

{% include figure image_path="/assets/img/2018/pi0gameboy-cad.jpg" %}

After printing the parts out, I got to the electronics. I started with soldering the buttons onto some perfboard and drilling the right holes to fit into my design. Then I built a little low battery circuit which if I remember correctly used a couple of transistors. After that I glued the speaker in place along with the Pi Zero, LCD, and battery. Then I soldered wires from each button to the Pi, following the wiring diagram of the PiGRRL Zero.

One issue I ran into was the fact that I didnt have a 5v boost circuit to power the Pi off a Li-ion. Since I didnt really have time to wait for the part to come in, I decided to try powering the Pis 5v line directly off the Li-ion. To my surprise, it actually worked perfectly. The USB flash drive, keyboard, mouse, and LCD all worked just fine. While my method is usable, I would definitely just buy a boost circuit in the future to be sure of the long term reliability.

Finally, I installed the software which was a really straightforward process. I just followed the instructions on Adafruits PiGRRL Zero. Audio isnt enabled by default, so I followed Adafruits Pi Zero PWM Audio instructions.

{% include gallery %}

At the end of the day, I had a functional and fun Pi Zero Gameboy. The Gameboy was the oldest console I ever had, so I get the most nostalgia playing games from that era.