How to connect the audio output from the pi0 ?

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Valadone
Posts: 53
Joined: Tue Feb 07, 2017 12:39 pm
Has thanked: 8 times
Been thanked: 5 times

Re: How to connect the audio output from the pi0 ?

Post by Valadone » Tue Apr 04, 2017 11:51 pm

Lphillimore wrote:
Tue Apr 04, 2017 8:57 pm
Also, if you're not using a filter, the audio quality wont be great!

Unless you really want Splashscreen audio, i'd go USB audio.
A filter ? An other composant ?

The sound isn't bad for the moment but if i can have a clearer sound i take it :)

So for the female jack i have to recover left and right output but for the speaker i need only to take left or right. Thanks :)

User avatar
Lphillimore
Posts: 993
Joined: Sat Jan 07, 2017 7:03 pm
Location: Perth, WA
Has thanked: 796 times
Been thanked: 527 times

Re: How to connect the audio output from the pi0 ?

Post by Lphillimore » Thu Apr 06, 2017 10:32 am

For PWM audio a filter is recommended but not essential.

Most need hand making, see here:

http://www.sudomod.com/game-boy-zero-guide-part-5/

About 2/3 down.

USB Audio does not need a filter but it doesnt look like you have that setup.

Either way, to add in the headphone Jack, see below taken from Wermys second guide:

http://www.sudomod.com/game-boy-zero-cu ... de-part-1/

This explains the pinout on the jack.

Essentially:
hp.PNG
hp.PNG (111.06 KiB) Viewed 3317 times
'The pins for the headphone jack I’m using go (from left to right in the above image): ground, left channel, right channel switch, right channel, left channel switch. What I mean by switch is that without headphones connected, they are connected to their respective channel. So, you’d want your speaker hooked up to the switch pins, and your audio source (Amplifier) connected to the L/R channel pins.'

Ground can connect to your button PCB.

So from your setup i see this being wired as follows:

- 2x PWM Audio outs from Pi connect to the single Input pin on your 3 pin volume pot.

(Ideally use a 5 pin volume pot so the 2 PWM go to the 2 inputs (L + R) on the volume pot.

- 1x output pin on volume pot goes to Input on your Amp

(If you use a 5 pin pot, both output pins go to both input pads on amp)

- 2x Outputs on amp go to L and R channels on headphone jack

- L + R SWITCH pins on headphone go to speaker.

- Ground on your headphone jack is wired where you see fit.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest