Thanos GB Zero build

Show off your completed Game Boy Zero, or post your build logs here!
User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Thanos GB Zero build

Post by tronicgr » Fri Jun 17, 2016 7:26 am

This my take on Gameboy Zero, using a handheld security monitor for display.

Here is a tease video clip:
https://youtu.be/H1bBOTAdsVM

Testing the HDMI:
https://youtu.be/QwgHRFotE80
The screen can be turned off while playing on HDMI output to save battery.

Testing controls and games on GB Zero:
https://youtu.be/aK4KACBcUGk

Another testing video (better quality):
https://www.youtube.com/watch?v=zJlBMfedyMM

The parts I used are:
-3.5" TFT LED Portable Test Monitor CCTV Camera Security Audio Video Tester J5J8
http://www.ebay.com/itm/291709734092?_t ... EBIDX%3AIT
-Raspberry Zero
-Adafruit MAX98357 I2S Class-D Mono Amp
https://www.adafruit.com/product/3006
-Teensy
-Gameboy DMG-01 4 button PCB DIY Pi Zero
http://www.ebay.com/itm/Gameboy-DMG-01- ... 974209588?
-Mini Micro USB Male to USB Female OTG Adapter Converter
http://www.ebay.com/itm/291703312146?_t ... EBIDX%3AIT
-2 In 1 OTG 3 Port Mini 480 Mbps USB Power LED HUB For PC Laptop Notebook 5V/1A
http://www.ebay.com/itm/182050766693?_t ... EBIDX%3AIT
-Mini Metal Speaker w/ Wires - 8 ohm 0.5W
https://www.adafruit.com/product/1890
-Lithium Ion Battery Pack - 3.7V 4400mAh
https://www.adafruit.com/products/354

If I forgot any part, ask me to add it please.


Thanks
Thanos
Last edited by tronicgr on Sat Jun 18, 2016 10:09 am, edited 4 times in total.

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Fri Jun 17, 2016 7:26 am

Here are some photos of my build progress:
IMG_20160610_060739.jpg
5v from security monitor
IMG_20160610_060739.jpg (385.66 KiB) Viewed 20540 times
IMG_20160610_060844.jpg
How screen pcb fits
IMG_20160610_060844.jpg (507.97 KiB) Viewed 20540 times
IMG_20160610_060933.jpg
How screen pcb fits 2
IMG_20160610_060933.jpg (440.75 KiB) Viewed 20540 times
IMG_20160613_111449.jpg
Test screen external first
IMG_20160613_111449.jpg (445.59 KiB) Viewed 20538 times
IMG_20160613_140231.jpg
Test screen almost fitted in case
IMG_20160613_140231.jpg (408.98 KiB) Viewed 20538 times
IMG_20160613_181308.jpg
Checking for place to fit the 4400mA battery
IMG_20160613_181308.jpg (491.21 KiB) Viewed 20538 times
IMG_20160613_182143.jpg
Placement of raspberry zero in the cart opening
IMG_20160613_182143.jpg (284.41 KiB) Viewed 20538 times
IMG_20160613_182234.jpg
Access to USB power and HDMI for the RPI zero
IMG_20160613_182234.jpg (223.41 KiB) Viewed 20538 times
IMG_20160614_034042.jpg
Placement of screen controls
IMG_20160614_034042.jpg (205.07 KiB) Viewed 20538 times
IMG_20160614_034113.jpg
Usb charging port and power switch
IMG_20160614_034113.jpg (215.71 KiB) Viewed 20538 times
Last edited by tronicgr on Sat Jun 18, 2016 10:00 am, edited 4 times in total.

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Fri Jun 17, 2016 7:27 am

Building continued:
IMG_20160614_034152.jpg
Power on Led and charging indication Led
IMG_20160614_034152.jpg (185.03 KiB) Viewed 20534 times
I used the Adafruit I2S amplifier to avoid having any noise from the screen. I connected it like in the adafruit guide:
https://learn.adafruit.com/adafruit-max ... y-pi-usage
IMG_20160615_114822.jpg
Connection of I2S amplifier on RPI zero
IMG_20160615_114822.jpg (370.01 KiB) Viewed 20534 times
IMG_20160615_114916.jpg
Attaching Teensy on the buttons board
IMG_20160615_114916.jpg (409.19 KiB) Viewed 20534 times
IMG_20160615_114956.jpg
Adding USB hub with modified connector (connections are wrong as shown on this photo, were corrected later)
IMG_20160615_114956.jpg (432.96 KiB) Viewed 20530 times
IMG_20160615_115139.jpg
Testing Teensy to the USB hub with modified USB to the PC
IMG_20160615_115139.jpg (549.54 KiB) Viewed 20530 times
IMG_20160615_115235.jpg
All connections of Teensy complete on GBZ
IMG_20160615_115235.jpg (440.04 KiB) Viewed 20530 times
IMG_20160615_115321.jpg
Opening slot for SD card insertion
IMG_20160615_115321.jpg (339.27 KiB) Viewed 20530 times
IMG_20160615_115406.jpg
Added a small tape piece to SD card to be able to pull it
IMG_20160615_115406.jpg (295.17 KiB) Viewed 20530 times
Last edited by tronicgr on Sat Jun 18, 2016 10:04 am, edited 5 times in total.

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Fri Jun 17, 2016 7:54 am

More progress:
IMG_20160615_115508.jpg
Checking everything fits
IMG_20160615_115508.jpg (473.29 KiB) Viewed 20529 times
IMG_20160615_115543.jpg
All parts fitted in the enclosure
IMG_20160615_115543.jpg (520.03 KiB) Viewed 20529 times
IMG_20160615_115617.jpg
Back of the case in final form, you can see the shutdown button for the raspberry system
IMG_20160615_115617.jpg (263.9 KiB) Viewed 20529 times
IMG_20160615_115650.jpg
USB hub access from the side
IMG_20160615_115650.jpg (202.72 KiB) Viewed 20529 times
IMG_20160615_115758.jpg
Hdmi and USB connections to the RPI zero
IMG_20160615_115758.jpg (247.03 KiB) Viewed 20529 times
IMG_20160615_115831.jpg
SD card access slot and sound Mute push switch
IMG_20160615_115831.jpg (224.23 KiB) Viewed 20529 times
IMG_20160615_115725.jpg
Attached is the charging usb cable, charges with device ON or OFF.
IMG_20160615_115725.jpg (258.65 KiB) Viewed 20529 times
Thanks
Thanos

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Sat Jun 18, 2016 10:08 am

Here is a better video that demonstrates the final result. I haven't found a better way to mount internally the two parts of the case yet, thus the reason for the tape on the sides :lol: :lol:

https://www.youtube.com/watch?v=zJlBMfedyMM


Thanks
Thanos

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Wed Jun 22, 2016 8:37 am

I succeed to fix the volume issues with I2S in retropie without having to re-complile the Emulation Station!!!!!


I just added a mixer value for the I2S sound following the instructions of the HiFiberry page:
https://support.hifiberry.com/hc/en-us/ ... me-control

I edited the /etc/asound.conf adding:

Code: Select all

pcm.hifiberry {
    type softvol
    slave.pcm "plughw:0"
    control.name "PCM"
    control.card 0
}

pcm.!default {
    type plug
    slave.pcm  "hifiberry"
}

ctl.!default {
 type hw
 card 0
}
After a reboot, I can now access the volume via the alsamixer fine without having to recompile the Emulation Station!!!

You can check with the commands:
amixer
aplay -l

Code: Select all

pi@retropie:~ $ amixer
Simple mixer control 'PCM',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 255
  Front Left: 255 [100%]
  Front Right: 255 [100%]
Simple mixer control 'PCM',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 255
  Front Left: 255 [100%]
  Front Right: 255 [100%]
pi@retropie:~ $


pi@retropie:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
pi@retropie:~ $

Thanks
Thanos
Last edited by tronicgr on Thu Jun 23, 2016 4:52 am, edited 1 time in total.

User avatar
Fleder
Posts: 849
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 183 times
Been thanked: 258 times

Re: Thanos GB Zero build

Post by Fleder » Thu Jun 23, 2016 1:06 am

tronicgr wrote:I succeed to fix the volume issues with I2S in retropie without having to re-complile the Emulation Station!!!!!
Thanks.
I read about that, too. But it was too much to get into, so i just recompiled it.
But this is a great way to save 2 1/2 hours :) Nice find.

Would you mind creating a tutorial on this for the forum?

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: Thanos GB Zero build

Post by tronicgr » Thu Jun 23, 2016 4:52 am

Fleder wrote:
tronicgr wrote:I succeed to fix the volume issues with I2S in retropie without having to re-complile the Emulation Station!!!!!
Thanks.
I read about that, too. But it was too much to get into, so i just recompiled it.
But this is a great way to save 2 1/2 hours :) Nice find.

Would you mind creating a tutorial on this for the forum?

Of course you can create tutorial for it if you want to use any of the information here.

I have more information on the i2s sound on Adafruit forum, and made a video as well that shows the modification working on their PiGrrl Zero just yesterday:

https://youtu.be/ct3Clmvc-KQ

https://forums.adafruit.com/viewtopic.php?f=50&t=97961

Thanks
Thanos

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Thanos GB Zero build

Post by vnman » Sat Jul 02, 2016 8:21 am

Hi,

I have the same screen as yours.

One question, how did you remove the case of the monitor?

Thanks

VNMan

User avatar
vnman
Posts: 147
Joined: Tue Jun 21, 2016 5:21 am
Has thanked: 5 times
Been thanked: 34 times

Re: Thanos GB Zero build

Post by vnman » Sat Jul 02, 2016 3:25 pm

figured how to disassemble the case...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest