用 Raspberry Pi + SupTronics X900 玩 Volumio 及 Minidlna

個個都話玩Hi-Fi,唔通個個都識玩Hi-Fi咩? 今個星期我就用隻Raspberry Pi玩Hi-Fi. 講Hi-Fi其實我真係唔識, 只係知道有粒digital-to-analog converter (DAC) chip係好重要既, 所以我就專程訂佐 SupTronics X900 (ES9023)返黎同塊Raspberrry Pi 3B結合啦.
至於耳機我就用呢隻2動圈+2動鐵既國貨(出奇地比我對UE TF10好聲好多).  Hardware就有Raspberry Pi 及 SupTronics X900, 至於software我就選用 Volumio做media player,而Minidlna就作為DNLA server方便用一個network既device可以通過DLNA relay音樂.

SupTronics X900

塊板主要係用上ESS Technology ES9023而可以支援Full-HD audio – up to 24-bit/192kHz playback, 如果有興趣知道detail specifications, 可以 click下面這條link
https://www.suptronics.com/miniPCkits/x900.html實物黎到我office是這樣的. unbox後見到真身
我手上的Raspberry本身已經install好了mopidy及minidlna, 心想是否可以plug n play 呢? 想同實際本身真係有好遠距離的. 不單只不可能, 還要全新install個operating system.

Volumio

選用Volumio的原因只有一個, 它是支援SupTronics X900的其中一個OS/Media player. 安裝方法很簡單,分別是
1. 到 https://volumio.org/get-started/ download 最新板本
2. 用 ImageWriter寫落TF card
3. 插上SupTronics X900 daughterboard 及 TF Card
4. 比電boot起volumio

做完上面4個steps, Volumio會自動化地boot起. 需要注意的是來到這這裡, HDMI是完全沒有signal的, 作為用家….你可以用最簡單方法去poll這台Volumio的IP位置,就是到 Access point/Router check IP address吧. 再這就是去https://192.168.x.x 進入config板面.

值得提示的是來到下面這個畫面時, 要選上HiFiBerry DAC

做完上面既好幾個steps, 你已經可以通過Daughter board上的jackets聽Hi-Res音樂 (mp3, wav, flac等等)

Minidlna

正所謂”獨樂樂不如眾樂樂“, 如果只有自己聽Hi-Fi sound, 不如同一個subnet都可以聽到喔! 要做到這點, 我推介Minidlna, 而要install Minidlna前,先要在Volumio的OS上開通ssh, 如下圖打開 https://<address>/DEV後click SSH -> Enable

打後就可以通過ssh 進入 OS, login credential是 volumio/volumio.

Install Minidlna 的command只有一句

sudo apt-get install minidlna

完成後只需修改 /etc/minidlna.conf 就可以了

# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
#   * "A" for audio    (eg. media_dir=A,/var/lib/minidlna/music)
#   * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
#   * "V" for video    (eg. media_dir=V,/var/lib/minidlna/videos)
#media_dir=/var/lib/minidlna
media_dir=A,/media/SSD/mp3
# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
network_interface=wlan0
# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
friendly_name=volumio-pi

最後是restart minidlna, command是

service minidlna restart

手機上用DLNA client可以auto discovery及眾樂一下

Author: Adrian

Just a fxxking moron who see bad money drives out good!

Discover more from 廢老移澳亂記

Subscribe now to keep reading and get access to the full archive.

Continue reading