[GUIDE] Wiring Diagrams: all-in-one board, graceful shutdowns, audio-only board

Various user-contributed guides for hardware-related things
Post Reply
User avatar
a3k4
Posts: 69
Joined: Fri Jun 17, 2016 2:01 pm
Has thanked: 68 times
Been thanked: 44 times

[GUIDE] Wiring Diagrams: all-in-one board, graceful shutdowns, audio-only board

Post by a3k4 » Fri Aug 05, 2016 9:21 am

Here are some circuit diagrams that could help you wire your Game Boy Zero.

If you want to edit these diagrams, download Fritzing. It's free and not too difficult to use. Editable versions are in the zip files attached to this post.

I'm still new to electrical wiring, and I greatly appreciate any and all feedback; especially if you catch a mistake.

DO NOT USE VERSIONS 1.x OF THESE DIAGRAMS. They could fry everything.

All-In-One Board wiring diagrams

Using:
  • @Helder's All-In-One Gameboy Zero PCB.
  • @Popcorn's Graceful Shutdowns.
  • Based on @Cannikin's Wiring Diagram.
  • Audio diagrams from @Helder and @Fleder.
Wiring diagrams (v3.0) with @Camble's Graceful Shutdowns

My 3.0 diagram uses @Camble's Graceful Shutdown boards v1.1 and a power strip which you can easily build for yourself. I won't re-do the audio for this style of diagram, if you're not using DMG audio, just reference the 2.5 version of the diagrams.

Image

Schematic v3.0
Image


Wiring diagrams (v2.5)
Useful for non-DMG audio and if you're not using Camble's Graceful Shutdown

DMG (Original Gameboy built-in) Audio (v2.5)

Image

Radioshack Audio (v2.5)

Image

PJ-343 Audio (v2.5)

Image

Schematic wiring diagram (v2.5)
Note: white wires from other diagrams are grey here.

Image

Breadboarded wiring diagram (v2.3)
Breadboarded diagrams are significantly more difficult to read and for me to create accurately. I highly recommend using the regular diagrams above instead of this one. This diagram has incorrect audio - you can download Fritzing and fix it if you'd like.

Image

Helder's Audio board & teensy wiring diagram (v2.5)

Using:
  • @Helder's Audio PCB.
  • Teensy for button control
  • @Popcorn's Graceful Shutdowns.
  • Based on @Cannikin's Wiring Diagram.
  • Audio diagrams from @Helder and @Fleder.

Standard wiring diagram (v2.5)

Image

Schematic wiring diagram (v2.5)

Image

Wire Colors for version 3.0 (Except for SD Card):
  • Red: Live
  • Black: Ground
  • Yellow: Video / TV Signal Out
  • Green: D+
  • White: D-
  • Cyan: Low Battery (LBO)
  • Orange: Shut Off/Down, GPIO #27, Pin 13
  • Purple: Low Batt, GPIO #17, Pin 11
  • Pink: Keep On/Alive, GPIO #22, Pin 15
  • Brown: Audio
  • Gray: PWM 0 / GPIO #18, Pin 12
  • Light Brown: PWM 1 / GPIO # 13, Pin 33


Wire Colors for version 2.5/v2.3 (Except for SD Card and Audio Board to Teensy):
  • Red: Live
  • Black: Ground
  • Yellow: Video / TV Signal Out
  • Green: D+
  • White: D-
  • Cyan: Low Battery Wire
  • Orange: On / UART TX killed on shutdown / GPIO #14 / Pin 8
  • Purple: Emitter / Battery GPIO #17 / Pin 11
  • Pink: Main Switch / Power GPIO #27 / Pin 13
  • Brown: Audio
  • Gray: PWM 0 / GPIO #18, Pin 12
  • Light Brown: PWM 1 / GPIO # 13, Pin 33
SD Card Wire Colors:
  • 1. Orange: VDD/VCC - PP8 (3.3v)
    2. Yellow: DAT2 - PP18
    3. Green: CS - PP19
    4. Blue: DATA_IN - PP15
    5. Brown: SCLK - PP14
    6. Grey: DATA_OUT - PP16
    7. Cyan: DAT1 - PP17
    8. Black: VSS/GND - PP5
GPIO Pins are customized by code. See Pinout.xyz for pin details.


Understanding the audio
In short, the diagrams below are correct.

Audio Pin Layout:
1. Ground (for headphones and speaker)
2. Left In (headphones left audio)
3. Left Out (speaker audio)
4. Right Out (speaker audio - using 3 vs 4 doesn't matter, it's one speaker)
5. Right In (headphones right audio)

When headphones are unplugged, sound goes through pins 3 and 4 (left out / right out) to the red wire of the speaker. When headphones are plugged in, those two pins are disconnected and sound goes through pins 2 and 5 (left in / right in).
Image

Image

The latest diagrams have muxed stereo going to the speaker.

For full details see Fleder's audio/headphone jack tutorial.


Thanks to: @Helder, @Popcorn, @Cannikin, @Fleder, and @Camble
Attachments
a3k4_game_nerd_zero_v3-0-DMG Audio_CambleShutdown.zip
Helder's All In One with Camble's Graceful Shutdown diagrams v3.0
(248.97 KiB) Downloaded 772 times
a3k4_game_nerd_zero_v2-5-Helder Audio Teensy.zip
Helder's Audio Board diagrams v2.5
(228.58 KiB) Downloaded 650 times
a3k4_game_nerd_zero_v2-5-Helder AIO-All Audio.zip
Helder's All In One diagrams v2.5
(682.56 KiB) Downloaded 723 times
a3k4_game_nerd_zero-breadboarded_v2-3.zip
Breadboarded v2.3 (out of date)
(254.86 KiB) Downloaded 674 times
Last edited by a3k4 on Fri Sep 09, 2016 11:30 am, edited 15 times in total.
My wiring diagrams and schematics for Helder's boards and graceful shutdowns.

User avatar
Ganreizu
Posts: 552
Joined: Thu May 05, 2016 8:20 am
Has thanked: 168 times
Been thanked: 97 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by Ganreizu » Fri Aug 05, 2016 9:25 am

Is a ferrite bead on the ground for the speaker really necessary?

User avatar
a3k4
Posts: 69
Joined: Fri Jun 17, 2016 2:01 pm
Has thanked: 68 times
Been thanked: 44 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by a3k4 » Fri Aug 05, 2016 9:27 am

Ganreizu wrote:Is a ferrite bead on the ground for the speaker really necessary?
Probably not, may also not be necessary for the headphone wires, but I did it anyway simply because noise seems to be the most common challenge everyone faces.
My wiring diagrams and schematics for Helder's boards and graceful shutdowns.

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by Camble » Fri Aug 05, 2016 9:32 am

Do you have a link to some itsy bitsy ferrite beas?

User avatar
a3k4
Posts: 69
Joined: Fri Jun 17, 2016 2:01 pm
Has thanked: 68 times
Been thanked: 44 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by a3k4 » Fri Aug 05, 2016 9:36 am

Camble wrote:Do you have a link to some itsy bitsy ferrite beas?
I ordered both these and these because I'm not sure which will be a better fit.
My wiring diagrams and schematics for Helder's boards and graceful shutdowns.

User avatar
Camble
Posts: 885
Joined: Thu May 05, 2016 2:31 am
Location: Scotland
Has thanked: 269 times
Been thanked: 488 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by Camble » Fri Aug 05, 2016 9:43 am

Nice! I'll wait til you find out :)

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by Helder » Fri Aug 05, 2016 12:02 pm

Beads are really only needed on the positive side of the speaker but it doesn't hurt to connect to the left and right wires to the headphones. I use 0805 SMD beads and attach them to the end or beginning of the wire going to said spots.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
PotaTox
Posts: 128
Joined: Wed Jul 06, 2016 2:45 pm
Has thanked: 19 times
Been thanked: 19 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by PotaTox » Fri Aug 05, 2016 9:22 pm

a3k4 wrote:
Camble wrote:Do you have a link to some itsy bitsy ferrite beas?
I ordered both these and these because I'm not sure which will be a better fit.
Can you find some ferrite beads that work on BangGood?

dboSS
Posts: 78
Joined: Tue May 10, 2016 8:30 pm
Has thanked: 9 times
Been thanked: 5 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by dboSS » Fri Aug 05, 2016 9:41 pm

If anyone can make a version for audio board only, it will be very appreciated.

User avatar
a3k4
Posts: 69
Joined: Fri Jun 17, 2016 2:01 pm
Has thanked: 68 times
Been thanked: 44 times

Re: [GUIDE] Diagrams to wire a GBZ with all-in-one board and graceful shutdowns

Post by a3k4 » Fri Aug 05, 2016 10:12 pm

PotaTox wrote:
a3k4 wrote:
Camble wrote:Do you have a link to some itsy bitsy ferrite beas?
I ordered both these and these because I'm not sure which will be a better fit.
Can you find some ferrite beads that work on BangGood?
No I couldn't.
My wiring diagrams and schematics for Helder's boards and graceful shutdowns.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest