How do you usually connect your headphone jack?

Having trouble with your GBZ build? Ask your questions here!
Post Reply
User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

How do you usually connect your headphone jack?

Post by tinkerBOY » Sun Nov 26, 2017 11:14 pm

I'm just wondering how do you usually connect your headphone jack? Do you connect it from the audio amp or just directly to the pi or usb sound card? Why?

I guess i want to know if directly connecting it to the PWM pins on the pi zero is enough for using earphones. On my recent pi 3 build, the headphone jack is directly connected and earphones sound volume is good enough but im not sure if it's ok on the pi zero.

What about the low pass filter, does it really help based on your actual experience?

Thank you.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

salami738
Posts: 128
Joined: Sat Sep 09, 2017 6:06 am
Location: Germany
Has thanked: 60 times
Been thanked: 37 times

Re: How do you usually connect your headphone jack?

Post by salami738 » Sun Dec 10, 2017 4:08 am

tinkerBOY wrote:
Sun Nov 26, 2017 11:14 pm
I'm just wondering how do you usually connect your headphone jack? Do you connect it from the audio amp or just directly to the pi or usb sound card? Why?

I guess i want to know if directly connecting it to the PWM pins on the pi zero is enough for using earphones. On my recent pi 3 build, the headphone jack is directly connected and earphones sound volume is good enough but im not sure if it's ok on the pi zero.

What about the low pass filter, does it really help based on your actual experience?

Thank you.
Hi, the raspberry gpio pins have a current limit. Most sources say 16mA per pin, but only 50mA in sum.
Links: https://www.element14.com/community/thr ... hread=true
https://raspberrypi.stackexchange.com/q ... -3-model-b

The very popular Rock Zirkon Earphones (https://de.aliexpress.com/item/Original ... 06316.html) use 3mW. The GPIOs use 3,3V, (P=U*I) so its 3mW=3,3*I => I = 3mW/3,3 = 0,91mA. So that should be fine even if the lowpass filter draws some power.

On the raspberry 3 the following circuit is used:
https://learn.adafruit.com/assets/28850 (from: https://learn.adafruit.com/introducing- ... io-outputs)
It uses a buffering op amp (http://www.onsemi.com/PowerSolutions/pr ... id=NC7WZ16) which drives the headphones.

I don't know why the raspberry foundation uses this ampifying op amp. It think it is for greater on ear headphones, which use more power. Or it sounds better than the gpios alone. Maybe someone with audio knowledge can contribute to this a little bit more.
Or it is used because DC voltage on the GPIO PWM pins will destroy your headphones.

Hope I could help you.

jakejm79
Posts: 129
Joined: Tue Oct 10, 2017 3:40 pm
Has thanked: 1 time
Been thanked: 33 times

Re: How do you usually connect your headphone jack?

Post by jakejm79 » Sun Dec 17, 2017 10:20 pm

I go amp>headphone jack>speaker. Mostly because the way the components are laid out, amp in one bottom corner, headphone jack in the middle and speaker in the other corner.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest