Previous versions of the Pi had built-in audio output sockets. Is it possible to add this back on the Pi 5?
Previous versions of the Pi had built-in audio output sockets. Is it possible to add this back on the Pi 5?
Is it possible to add this back on the Pi 5?
I haven't seen the full possibilities via the GPIO pins, so I would hesitate to suggest that it may be broken out to it via a pinmux, unfortunately, there's no location on the Pi 5 to solder or mount a 3.5mm audio jack socket or similar.
You will have to use a Raspberry Pi HAT that supports audio, or a USB audio DAC / sound card.
I expect that the design didn't only remove the analog audio jack, but likely the on-board support for analog audio.
You can get back stereo audio connector functionality (which will be higher quality than the output on the older Pi models anyway) like this:
Note: The output is line audio level (i.e. normally requires an amplifier), but you can plug in headphones if desired (not recommended, but at a pinch it works).
There are simpler options if you want to drive a speaker (there are plenty of mono, and stereo modules). The google keyword to search for is "I2S", for instance "I2S amplifier board", and it will wire up to the 40-way connector on the Pi. Google "I2S Pi" to see how to configure and wire it up.
Perfect, thanks. I've seen more expensive HATs with audio but expected there was a good bare-bones cheapo option!
I don't recommend IQaudiO Zero Hat. there is no handshake. What a headache,
Is that the one pictured here? What handshake is needed?
The boards in the photo above are non-HAT, so they don't tie up a lot of real-estate over that 40-way connector.
I've written it up in a separate blog, so that it doesn't get lost: