Rasberry Pi + Picoreplayer 非專業、非達人簡單教學
本帖最後由 patkwok 於 2013-8-18 18:07 編輯借wikipedia圖一用
http://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/RaspberryPi.jpg/800px-RaspberryPi.jpg
http://post76.hk/forum.php?mod=redirect&goto=findpost&ptid=164745&pid=2710182&fromuid=4592
因應有師兄希望可以有個關於Rasberry Pi的教學
小弟將近期自己既setup 過程得同大家分享一下
係到我都要多謝boelvin兄,唔係佢我都唔會走去入隻Rasberry Pi玩
當中佢都解答左我好多問題,多謝你!
http://post76.hk/forum.php?mod=viewthread&tid=164745&fromuid=4592
事先聲明,小弟唔係Linux達人,都係人玩我玩,整個setup過程都係跌跌撞撞,試下呢樣,試下個樣而完成
工欲善其事,必先利其器,講下要有咩野先有得玩先
[*]Rasberry Pi Type B 512M Ram
[*]SD Card 1GB
[*]USB power cable
[*]5V USB plug
[*]DAC with USB input
[*]Network Attached Storage (NAS) - support Logitech Media Server software
1) Rasberry Pi
想詳細知咩叫Rasberry Pi,可以睇
http://www.raspberrypi.org/
http://zh.wikipedia.org/zh-hk/%E6%A0%91%E8%8E%93%E6%B4%BE
簡單講佢就係一部,超細部又超低價電腦。
因為超低價,所以佢唔會有四個or八個core既CPU俾你,不過用黎玩CAS就問題不大
咁究竟邊到有得賣Rasberry Pi?
RS Online Or
Element 14 Or
淘寶仲可以順手買Rasberry Pi既accessories
買Pi既時,請記得買個case俾佢,因為佢本身係唔包case既
我就係RS-online到訂Rasberry Pi,仲要即日送貨,免運費
http://blog.yimg.com/3/EHlmect7s59rGVcUw.ByVM1_HbDzeg.zxXVF0YCbBol1e1Cj7sdy0Q--/10/l/2feeQx8XuTHVuHCI4JtMZg.jpg
左面係CASE,右面係隻Rasberry Pi
http://blog.yimg.com/3/EHlmect7s59rGVcUw.ByVM1_HbDzeg.zxXVF0YCbBol1e1Cj7sdy0Q--/11/l/rO41P1VRW61sfrYJAA8qXA.jpg
透明case
http://blog.yimg.com/3/EHlmect7s59rGVcUw.ByVM1_HbDzeg.zxXVF0YCbBol1e1Cj7sdy0Q--/12/l/YMykInS1GKdFW36v8Ba.IQ.jpg
Rasberry Pi Type B 512M
http://blog.yimg.com/3/EHlmect7s59rGVcUw.ByVM1_HbDzeg.zxXVF0YCbBol1e1Cj7sdy0Q--/13/l/hLN3Lh_L9lK4wU06o93rTw.jpg
2) SD Card
SD card係用黎裝住個OS,容量唔駛大,個OS只係得幾十Mb
所以用1GB既已經夠曬
我就係屋企揾張Sandisk 1GB攪掂
3) USB power cable
要揾Micro B頭既USB線,如果你用緊三星andriod電話,你就會有呢類micro B頭既線
借圖
http://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/03/usb_to_microusb_cable.jpg
4) 5V USB power plug
借圖
https://www.modmypi.com/image/cache/data/raspberry-pi-accessories/raspberry-pi-power-adaptor-6-800x800.JPG
5) DAC with USB input
唔係所有USB DAC都可以用得,詳情就要睇下面條link
https://sites.google.com/site/picoreplayer/home/List-of-USB-DACs
小弟用緊Audio-gd NFB 17.2 (Tenor 8802 USB chipset)可以用到無問題
6) NAS
NAS我自己就一直都用緊Synology DS207+
佢有得可以裝個LMS (Logitech Music Server)
裝呢個server係個NAS到
咁隻Rasberry Pi就可以read到入面既music file 本帖最後由 patkwok 於 2013-8-16 22:04 編輯
講完硬件,跟住就到軟件
https://sites.google.com/site/picoreplayer/
首先真係要多謝上面website位人兄
佢真係功得無量,寫左個咁Handy既music player俾Rasberry Pi 用
首先係你自己部PC到download下面既野先
a) Win32diskimager
http://sourceforge.net/projects/win32diskimager/
呢個software係用黎寫picoreplayer入去張SD Card到
b) Picoreplayer
https://sites.google.com/site/picoreplayer/home/download
有最新就download最新既version
c) Advance IP scanner
http://www.advanced-ip-scanner.com/
d) Putty
http://www.putty.org/
Step 1
有齊上面既software之後,就開Win32diskimager
係個path到選個Picoreplayer既image,宜家我用緊1.06 version
右面Device選你個張SD card既drive,跟住write
咁picoreplayer就會寫左入去張SD card到
Step 2
跟住將張SD card插入去你部Rasberry Pi
然後幫你部Rasberry Pi插 Lan線同電源
跟住等十零秒,你會見到Rasberry Pi五粒燈會著曬(左下角) ACT粒會閃閃下
(你見到有粒EDUP既野,係粒USB Wifi Dongle遲小小會講)
Step 3
呢個時候,就係你部PC到開Advance IP scanner
Click 落scan到,一陣之後你就會見到係你屋企個network入面所有device既ip address
最緊要揾返你隻Rasberry Pi既IP
我個隻宜家係192.168.1.106
Step 4
Scan IP之後就開個Putty,key in IP address
跟住Open
個Putty係用黎login Picoreplayer 改入面既setting
Open之後會彈個window出黎
login : tc
password : nosoup4u
係個prompt到打
picoreplayer
跟住成個Menu list就出左黎
宜家需要setup一下個picoreplayer
按4 去change squeezelite settings
跟據Head-fi用家的建議打以下一句command
-a 160::16:1 -o hw:0,0 -r 192000
之後按Enter
再Y
之後就按5
restart
本帖最後由 patkwok 於 2013-8-18 18:15 編輯
NAS setup
http://www.synology.com/support/download.php?lang=enu&b=2%20bays&m=DS207%2B
我用緊Synology 207+
所以去返Synology個website download Logitech Media Server package
install 個package之後,你就會係個NAS介面見到你既音樂file喇 留位再寫 好正既分享*_* 超正教學 更易上手
(Post76 Android 手機版送出) patkwok兄真有心, 做褔人群!! 絕對有心教學加分
但有一個小小問題佢個rca out 可直落amp 嗎!
同埋佢有光纜out 嗎
giseegoobi 發表於 2013-8-16 11:10 static/image/common/back.gif
絕對有心教學加分
但有一個小小問題佢個rca out 可直落amp 嗎!
同埋佢有光纜out 嗎
佢有RCA out
你要用3.5mm to 紅黑RCA線再去amp
黃色個頭係video 頭黎
一見ching出個教學 即時買隻跟住set! 成功出到聲 ,但有爆花生聲 .... 唔知係咪部dac 唔support .. 我用dac x9 chipset 係wm8471 , 睇佢個dac list好似冇我份{:6_203:}
(Post76 Android 手機版送出)