1. 安裝Volumio
參考 http://volumio.org/get-started/。我是裝v1.4 。2. 設定無線網路,以TP-Link TL-WN725N為例。
參考 http://laurenthinoul.com/how-to-install-tp-link-tl-wn725n-on-raspberry-pi/若是kernel版本比較新,就得自行編譯驅動。可以參考 http://tech.enekochan.com/2014/03/08/new-script-to-compile-tp-link-tl-wn725n-version-2-lwfinger-driver-in-raspbian/或http://www.raspberrypi.org/forums/viewtopic.php?p=462982#p462982
命令如下: (我的kernel為3.10.36+版本,可用 uname -r查看)
wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20140307.tar.gz
tar -zxvf 8188eu-20140307.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/3.10.36+/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.10.36+/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
sudo reboot
安裝後的lsusb及lsmod結果
pi@volumio:~/scripts$ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 413c:2003 Dell Computer Corp. Keyboard
pi@volumio:~/scripts$ lsmod
Module Size Used by
8188eu 665223 0
nfsd 243497 2
ipv6 304050 34
snd_bcm2835 16165 1
snd_soc_pcm512x 8913 0
snd_soc_wm8804 7821 0
snd_soc_bcm2708_i2s 5474 0
regmap_mmio 2806 1 snd_soc_bcm2708_i2s
snd_soc_core 131292 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_bcm2708_i2s
snd_compress 8060 1 snd_soc_core
regmap_i2c 1645 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
regmap_spi 1897 3 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_core
snd_pcm 81593 2 snd_bcm2835,snd_soc_core
snd_page_alloc 5156 1 snd_pcm
snd_seq 53769 0
snd_seq_device 6473 1 snd_seq
snd_timer 20133 2 snd_pcm,snd_seq
leds_gpio 2059 0
led_class 3688 1 leds_gpio
evdev 9419 0
snd 61291 9 snd_bcm2835,snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
spi_bcm2708 4728 0
i2c_bcm2708 3997 0
pi@volumio:~/scripts
3. 連接LCD字幕
LCD字幕購自http://goods.ruten.com.tw/item/show?21211107520158。實體接線及軟體設定參考 http://andypi.co.uk/?p=334。記得要修改一下/etc/LCDd.conf
# sam's map
D7=17
D6=23
D5=24
D4=25
RS=7
EN=8
BL=27
4. 連接紅外線以便用遙控器控制Volumio,參考http://volumio.org/forum/how-installed-lirc-with-receiver-and-remote-volumio-t360.html
我用的紅外線型號為TSOP51238 38KHz。因為預設腳位與LCD衝突,改將DATA/3連接到Pi的GPIO#18也就是PIN#12。
5. 若要預說音樂輸出到Line out,請執行下面指令"sudo amixer cset numid=3 1"
6. 參考連接線路,用Fritzing劃的。強力推廌!!