-
Notifications
You must be signed in to change notification settings - Fork 400
External Non USB Audio DAC ES9023, PCM5102, etc.
USB-based DAC offer plug and play convenience, but suffer in the low cost range often from low EMI resistance (e.g. you may hear noise from WLAN or CPU load changes etc. Additionally there is only a single USB port on a Pi Zero (W) and PI A types, which might not ne available for this purpose. The Raspberry Pi offers a digital interface called I2S to output audio data in a common format accepted by may audio DACs like ES9023, PCM5102, PCM1794 etc.. I have chosen the ES9023 mainly because I did find a nicely designed pcb on ebay. In a recent setup I switched to the PCM5102. Popular plug and play solutions like those from justboom, Hifiberry, etc use the same connection.
Please follow the hardware with fixed pin assignment
If your board has a crystal oscillator or other internal clock source, do not connect the MCLK signal to the pi anywhere. It is best to even remove the wire and do not leave it open, because it carries a high frequency signal that might cause trouble elsewhere.
add the following line
dtoverlay=hifiberry-dac
part of the mpd configuration (relevant snip only)
audio_output {
type "alsa"
name "My ALSA Device"
mixer_control "Master"
}
complete file
pcm.hifiberrydac {
type softvol
slave.pcm "plughw:0"
control.name "Master"
control.card 0
}
pcm.!default {
type plug
slave.pcm "hifiberrydac"
}
If you like Phoniebox, consider: buy me a coffee or PayPal
- Code: https://github.com/MiczFlor/RPi-Jukebox-RFID
- Phoniebox home page: English | Deutsch
Phoniebox is a contactless jukebox for the Raspberry Pi, playing audio files, playlists, podcasts, web streams and spotify triggered by RFID cards. All plug and play via USB, no soldering iron needed. Update: if you must, it now also features a howto for adding GPIO buttons controls.
Visit Phoniebox.de
π₯ Version 3
- β Releases
- π΅ Install Jukebox Version 3
- π Report a bug
- π Propose a feature
- βοΈ Feature Status
- π Documentation
- π©βπ» Development
- βοΈ Contributing
- π¦ Code
πΆ Version 2
- β Releases
- π΅ Install Jukebox Version 2
- π Report a bug
- βοΈ Features
- π Documentation
- βοΈ Contributing
- π¦ Code
Version 2 Pages
-
Setup / Upgrades
- Synchronising Phonieboxes in a local network
- Smart Home remote control with MQTT
- Hardware Pinout Overview
- Systemwide Equalizer
- Phoniebox with read-only Filesystem
- HiFiBerry Soundcard Details
- WM8960 Hi-Fi HAT
- PAM8403 Amplifier Power Off
- TPA3118 Amplifier Power Off and EMI improvement
- External Non USB Audio DAC ES9023, PCM5102, etc.
- On-board LEDs with fibre optics
- Setting GPIOs at boot time
- Stop on removal with USB RFID Reader
- Firmware update improves audio out
- Architecture