티스토리 뷰

OS/Raspberry Pi

Raspberry PI - Speaker pHAT

파란크리스마스 2017. 2. 12. 19:35
728x90

Speaker pHAT

출처 : https://shop.pimoroni.com/products/speaker-phat
Setting up pHAT DAC
Pi VU Meter ( ALSA Plugin to display a VU meter on various Raspberry Pi add-ons )
Raspberry Pi Zero Streaming Airplay using Speaker pHAT - YouTube

자동 설치

$ curl https://get.pimoroni.com/phatdac | bash

Pi VU Meter 설치

출처 : Pi VU Meter ( ALSA Plugin to display a VU meter on various Raspberry Pi add-ons )

$ git clone https://github.com/pimoroni/pivumeter.git
$ cd pivumeter
$ setup.sh blinkt

수동 설치

$ git clone https://github.com/pimoroni/speaker-phat
Cloning into 'speaker-phat'...
remote: Counting objects: 128, done.
remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128
Receiving objects: 100% (128/128), 114.17 KiB | 23.00 KiB/s, done.
Resolving deltas: 100% (39/39), done.
Checking connectivity... done.
$ cd speaker-phat
$ sudo ./setup.sh
 
This script will install everything needed to use
Speaker pHAT
 
--- Warning ---
 
Always be careful when running scripts and commands
copied from the internet. Ensure they are from a
trusted source.
 
Checking for required packages...
Enabling I2C interface...
 
Installing ALSA plugin...
 
Configuring sound output...
 
Adding Device Tree Entry to /boot/config.txt
dtoverlay=i2s-mmap
dtoverlay=hifiberry-dac
 
Commenting out Blacklist entry in
/etc/modprobe.d/raspi-blacklist.conf
 
Disabling default sound driver
 
All done!
 
Enjoy your Speaker pHAT!
 
Some changes made to your system require
your computer to reboot to take effect.
 
Would you like to reboot now? [y/N]
$ sudo shutdown -r now

플레이어 설치

출처 : GUI based MP3 players

$ apt-get install lxmusic


댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함