My First Gameboy Pi Zero :)

Show off your completed Game Boy Zero, or post your build logs here!
Post Reply
Pumpytums
Posts: 24
Joined: Wed Sep 14, 2016 8:55 am
Has thanked: 3 times
Been thanked: 6 times

My First Gameboy Pi Zero :)

Post by Pumpytums » Thu Oct 27, 2016 8:33 am

Hi everyone,
after several months my first Pi Zero Gameboy.

Parts used

BW V7 screen
Kepad PCB off ebay (connected using GPIO pins works great)
Standard DMG-01 (not an original one)
Power/charger board of Banggood (has additional cell protection too)
18650 3400mAh Cell (protected)
cheap USB sound card connected to OTG connector I couldn't get it to work off the pads very odd.
Has a working volume wheel and earphone socket (stereo) and a 3w pam8403 (mono) (small amount of interference adds to the charm)

Worked out quite well I just need to tinker with the sound to get it to work on mame. My favourite game Manic Miner plays so well :)

Sadly it has no wifi but its quite easy to transfer files using windows and a card reader.


20161025_212753.jpg
20161025_212753.jpg (1.07 MiB) Viewed 7454 times
20161025_212759.jpg
20161025_212759.jpg (1.56 MiB) Viewed 7454 times
20161025_212803.jpg
20161025_212803.jpg (1.05 MiB) Viewed 7454 times
20161025_212817.jpg
20161025_212817.jpg (3.67 MiB) Viewed 7454 times
20161025_212824.jpg
20161025_212824.jpg (3.61 MiB) Viewed 7454 times
20161025_212858.jpg
20161025_212858.jpg (3.79 MiB) Viewed 7454 times
20161025_212903.jpg
20161025_212903.jpg (3.2 MiB) Viewed 7454 times
20161025_212911.jpg
20161025_212911.jpg (3.57 MiB) Viewed 7454 times
20161025_212736.jpg
20161025_212736.jpg (2.16 MiB) Viewed 7454 times
Attachments
20161025_212747.jpg
20161025_212747.jpg (1.52 MiB) Viewed 7454 times

User avatar
Chedda
Posts: 151
Joined: Fri Sep 16, 2016 3:11 pm
Location: USA (for now)
Has thanked: 29 times
Been thanked: 52 times

Re: My First Gameboy Pi Zero :)

Post by Chedda » Thu Oct 27, 2016 9:32 am

Looks pretty good! Nice job

What's your battery life with a single 18650?
Builder and tinkerer

Pumpytums
Posts: 24
Joined: Wed Sep 14, 2016 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: My First Gameboy Pi Zero :)

Post by Pumpytums » Tue Nov 01, 2016 2:30 am

Hi many thanks,

I measured the current draw this morning its about 1A to 1.2 A from the battery so I reckon the battery life should be 2-2.5 hours.

I'm going to add an additional switch in the back to turn the amp off as I think this may be using over 0.5A on its own that will hopefully push the battery life to 5 hours.

Sound is now working on Mame too :)

I have just tweaked it again to add a cartridge and sorted the charger cover.

Many thanks again
20161101_081721.jpg
20161101_081721.jpg (3.52 MiB) Viewed 7296 times
20161101_081712.jpg
20161101_081712.jpg (3.3 MiB) Viewed 7296 times

Pumpytums
Posts: 24
Joined: Wed Sep 14, 2016 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: My First Gameboy Pi Zero :)

Post by Pumpytums » Tue Nov 01, 2016 6:39 am

Just checked battery life with it sitting on my desk with amp connected :-

2 hours Super Ghouls and Ghosts (attract mode) SNES

1 Hour Metal Slug 2 (attract mode) MAME

3 hours and it wasn't flat that's pretty good

I have some nice stickers to replace the Adams family one :P

This one will be for sale eventually when its 100% finished I will be making some more but they have 3.2" SPI screens.

I like the look of BW screens but I'm not happy with the heat the PCB generates.

Pumpytums
Posts: 24
Joined: Wed Sep 14, 2016 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: My First Gameboy Pi Zero :)

Post by Pumpytums » Mon Nov 14, 2016 1:34 am

I thought I would post a solution to the none working USB off the pads. This was due to me enabling the Ethernet over USB using the following from http://blog.gbaman.info/?p=791

Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)

More details - http://blog.gbaman.info/?p=791

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. Finally, open up the cmdline.txt. Be careful with this file, it is very picky with its formatting! Each parameter is seperated by a single space (it does not use newlines). Insert modules-load=dwc2,g_ether after rootwait. To compare, an edited version of the cmdline.txt file at the time of writing, can be found here.
4. That's it, eject the SD card from your computer, put it in your Raspberry Pi Zero and connect it via USB to your computer. It will take up to 90s to boot up (shorter on subsequent boots). It should then appear as a USB Ethernet device. You can SSH into it using raspberrypi.local as the address.

Be warned this appears to disable the direct connection of a USB Device or USB port to PP22 & PP23. However if you use a OTG cable direct to the port it will still work. I reversed the above change to config.txt and cmdline.txt and it worked perfectly.

Hope that helps someone, It came to me yesterday when I was building my 2nd Gameboy and I had exactly the same problem as my 1st build. It had to be software hence the above solution.

Pumpytums
Posts: 24
Joined: Wed Sep 14, 2016 8:55 am
Has thanked: 3 times
Been thanked: 6 times

Re: My First Gameboy Pi Zero :)

Post by Pumpytums » Tue Nov 15, 2016 3:58 am

Just thought I would post a few videos of it running.

https://youtu.be/8aG4w-6IlLo

https://youtu.be/_X0cTD-4azU


My 2nd Gameboy is also nearing completion I will post some images in a new thread shortly this uses a 3.2" SPI screen and is much neater inside. I did a quick build of the power system and sound last night so hopefully in a few days :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest