Spykerwolf's build log - GBZ - custom parts

Show off your completed Game Boy Zero, or post your build logs here!
sumitverma
Posts: 1
Joined: Tue Oct 05, 2021 7:59 am

Re: Spykerwolf's build log - GBZ - custom parts

Post by sumitverma » Tue Oct 05, 2021 8:03 am

i dont need headphones i just soldered the amp

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Mon Nov 01, 2021 4:44 pm

Hi guys. I'm hoping someone could help me wire up the volume wheel. It's 5 stereo, but only hooking up mono.
So far the headphone jack works & the speakers work whenever I unplug the headphone jack.

Headphone jack: PJ-325
headphonejack.PNG
headphonejack.PNG (105.06 KiB) Viewed 402 times

Volume wheel: B103
B103.jpg
B103.jpg (31.28 KiB) Viewed 402 times
Amplifier: PAM8403 green
amplifier.PNG
amplifier.PNG (294.28 KiB) Viewed 402 times
The wiring is:
Low pass filter - Headphone Jack - Amplifier - Speaker.

I currently have the volume wheel connected between L in & Speaker - on the amplifier. Everything is connected to the left output speaker in mono.
The volume wheel is working if it's not completely muted, but makes a horrible noise when muted.
The same noise occurs when I plug something into the headphone jack.
I tested using a different potentiometer & got the same issue, so much be wiring?
Any advice would be appreciated, thanks!

This is the sound it makes:
https://www.youtube.com/watch?v=QSOrxcnuXq4

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Wed Nov 03, 2021 6:09 pm

Turns out through many koffie breaks & swear words...the problem was the potentiometer.
Connected a different one (5k) and it's working as expected. Now to wait 3 months for my replacement ali express one to arrive.

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Sat Nov 06, 2021 8:21 pm

Made some progress since my last post:

- Drilled extra holes for the buttons & tested the controller board
pcbTest.jpg
pcbTest.jpg (206.79 KiB) Viewed 300 times
holesDrilled.jpg
holesDrilled.jpg (117.43 KiB) Viewed 300 times
- Salvaged the button wells from an aftermarket SNES controller
buttonWellsFromSNES.jpg
buttonWellsFromSNES.jpg (230.59 KiB) Viewed 300 times
messyButtonWellsAndScreenMounted.jpg
messyButtonWellsAndScreenMounted.jpg (162.32 KiB) Viewed 300 times
It was really tricky getting the button wells right as they broke when I removed them.

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Sat Nov 06, 2021 8:30 pm

I realized I installed the display the wrong way as it had part of the screen showing behind the case.
It also had a silver bit that needed to be taped up - something I couldn't easily do without removing it first:
screenWRONG.PNG
screenWRONG.PNG (825.55 KiB) Viewed 300 times
It was a mission getting it out & I read alcohol should help with the hot glue. I used some nail polish remover to correct the screen.
However I didn't realised it was a bad idea & some of it got into the screen. Luckily it evaporated & most of it disappeared, however it did damage the screen a bit, but nothing too major:
1.jpg
1.jpg (140.36 KiB) Viewed 300 times
2.jpg
2.jpg (165.26 KiB) Viewed 300 times
3.jpg
3.jpg (144.52 KiB) Viewed 300 times
4.jpg
4.jpg (101.32 KiB) Viewed 300 times
5.jpg
5.jpg (122.04 KiB) Viewed 300 times
6.jpg
6.jpg (105 KiB) Viewed 300 times
displayCorrected.jpg
displayCorrected.jpg (190 KiB) Viewed 300 times

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Sat Nov 06, 2021 8:39 pm

Gave up for a few weeks & gave it another go. Unfortunately I didn't take much photos:

- Low pass filter created on breadboard & then transferred over to a pcb.
audioFilter.jpg
audioFilter.jpg (154.03 KiB) Viewed 300 times
audioFilterPCB.jpg
audioFilterPCB.jpg (57.55 KiB) Viewed 300 times
- Button PCB installed & wired up to the rpi zero w
- Buttons salvaged from a SNES controller.
mario.jpg
mario.jpg (113.94 KiB) Viewed 300 times
IMG_20211102_145720.jpg
IMG_20211102_145720.jpg (81.48 KiB) Viewed 300 times

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Sat Nov 06, 2021 8:45 pm

- Installed the speaker, 3.5mm jack, amplifier, volume wheel & low pass filter.
- It's a bit of a squeeze but the case does close.
IMG_20211105_141901.jpg
IMG_20211105_141901.jpg (204.04 KiB) Viewed 300 times
IMG_20211107_154105.jpg
IMG_20211107_154105.jpg (275.18 KiB) Viewed 300 times

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Sat Nov 06, 2021 8:57 pm

Battery wise - I got a power bank & removed the li-po battery:

- Removed the power bank cover & used baking powder to help make the sticky stuff not sticky :lol: - probably the most nerve wrecking thing I've done
IMG_20211104_182608.jpg
IMG_20211104_182608.jpg (280.55 KiB) Viewed 299 times
IMG_20211105_160326.jpg
IMG_20211105_160326.jpg (122.56 KiB) Viewed 299 times
- Had to grind down some of the plastic in order to make it fit
IMG_20211107_140616.jpg
IMG_20211107_140616.jpg (124.99 KiB) Viewed 299 times
IMG_20211107_140554.jpg
IMG_20211107_140554.jpg (167.6 KiB) Viewed 299 times
IMG_20211107_140549.jpg
IMG_20211107_140549.jpg (200.12 KiB) Viewed 299 times
IMG_20211107_140714.jpg
IMG_20211107_140714.jpg (121.05 KiB) Viewed 299 times
IMG_20211107_140708.jpg
IMG_20211107_140708.jpg (181.18 KiB) Viewed 299 times
- The little battery cover catcher also needed to be shortened as it was pushing against the battery
IMG_20211107_145319.jpg
IMG_20211107_145319.jpg (85.93 KiB) Viewed 299 times
IMG_20211107_145458.jpg
IMG_20211107_145458.jpg (186.5 KiB) Viewed 299 times
I think the last things remaining are:

- Install USB 2.0 slot for charging.
- Install & mount my power charge/discharge - to be honest no idea how to wire this yet.
powercharger.PNG
powercharger.PNG (233.53 KiB) Viewed 299 times
- Mount raspberry pi with micro sd facing outwards.
- Install L & R buttons once I receive the switches
9mm switches.PNG
9mm switches.PNG (70.26 KiB) Viewed 299 times
- Get a faulty game & install the pcb into the cartridge case
- Install the power switch & wire it up (still waiting on aliexpress)
powerSwitch.PNG
powerSwitch.PNG (62.82 KiB) Viewed 299 times
- Wire up the battery to the power charge/discharge & raspberry pi - no idea how to do this. Can I cut the leads at the moment in order to remove the pcb?

Sudafed
Posts: 6
Joined: Mon Sep 06, 2021 7:46 am

Re: Spykerwolf's build log - GBZ - custom parts

Post by Sudafed » Mon Nov 08, 2021 3:21 am

Regarding that powerbank module... i had the same but it was flaky and i replaced it with a similar one from aliexpress (mh cd42) which solved most issues. Either way the basic wiring is simple. Just connect bat, vin, vout and gnd. Then you will need extra push button to start or stop the integrated step up converter. I also connected that button to a gpio so that i can run a shutdown script on long press. Last thing i did was wire a 1f supercap parallel to the output so that the pi doesn't reset when pulling the charge cable.

User avatar
Spykerwolf
Posts: 26
Joined: Sun Jul 11, 2021 5:26 am
Location: New Zealand
Has thanked: 4 times

Re: Spykerwolf's build log - GBZ - custom parts

Post by Spykerwolf » Wed Nov 10, 2021 1:50 pm

Sudafed wrote:
Mon Nov 08, 2021 3:21 am
Regarding that powerbank module... i had the same but it was flaky and i replaced it with a similar one from aliexpress (mh cd42) which solved most issues. Either way the basic wiring is simple. Just connect bat, vin, vout and gnd. Then you will need extra push button to start or stop the integrated step up converter. I also connected that button to a gpio so that i can run a shutdown script on long press. Last thing i did was wire a 1f supercap parallel to the output so that the pi doesn't reset when pulling the charge cable.
I'll see if this one works, if it doesn't I'll order an mh cd42 too.
When you say extra push button, do you mean the on/off switch for the GBZ?
So wiring wise I'm thinking:
sdsd.jpg
sdsd.jpg (105.96 KiB) Viewed 212 times
GBZ - 5V/GND to VIN/GND
LiPo Battery 3.7V/GND to BAT/GND
'Output' / VOUT - This this where I get confused - what do I connect here?

The plan is to have a barrel connector charge the device using the inbuilt DC hole. The power on/off switch will also be in this circuit.
Would the barrel connector be connected to the VOUT/GND then?

Or would it be connected like this:
USB to barrel plug 5V/GND to VIN/GND
LiPo Battery 3.7V/GND to BAT/GND
VOUT/GND to 5V/GND on raspberry pi zero.

Thanks for the help...Sorry I'm a beginner.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest