Update README a little bit so I don't fall too far behind
This commit is contained in:
parent
32ce3ea56b
commit
c225dbd50b
29
README.md
29
README.md
@ -7,6 +7,8 @@ My goal is to build myself a music player I can carry as my primary listening de
|
|||||||
|
|
||||||
For this second iteration, I have selected two HATs - a Pirate Audio Headphone Amp HAT with LCD display and four buttons, and an uninterruptible power supply board with battery. I swapped out the separate audio DAC hat and display/button hat when I found the volume level too low on the raspiaudio DAC hat for my purposes. The Pirate Audio hat should alleviate this issue and slightly simplifies things overall. However, it is missing the five-way tactile switch that the first iteration had and which I planned on using extensively, so I'm also adding in a five-way tactile switch separately on a small breakout board, and I'll wire the breakout board to some open GPIO pins.
|
For this second iteration, I have selected two HATs - a Pirate Audio Headphone Amp HAT with LCD display and four buttons, and an uninterruptible power supply board with battery. I swapped out the separate audio DAC hat and display/button hat when I found the volume level too low on the raspiaudio DAC hat for my purposes. The Pirate Audio hat should alleviate this issue and slightly simplifies things overall. However, it is missing the five-way tactile switch that the first iteration had and which I planned on using extensively, so I'm also adding in a five-way tactile switch separately on a small breakout board, and I'll wire the breakout board to some open GPIO pins.
|
||||||
|
|
||||||
|
*UPDATE* on the five-way tactile switch: after initial tests, it is only registering the directional button presses if it is also actuated firmly enough to register the center button as well. I will be trying a replacement switch to see if that helps.
|
||||||
|
|
||||||
The other hardware consists of a raspberry pi zero w board, a 32gb micro sd card, a micro-usb to usb-a plug cable, and a 256gb usb flash drive. The flash drive will be the music library storage and will be externally accessibly, should I want to remove it to modify the library contents on a system with a faster storage bus going for it. also, I could carry around a tiny fake pleather cassette carrying case that had a couple dozen usb flash drives in it and have literally terabytes of high quality music at my disposable. tres chic!
|
The other hardware consists of a raspberry pi zero w board, a 32gb micro sd card, a micro-usb to usb-a plug cable, and a 256gb usb flash drive. The flash drive will be the music library storage and will be externally accessibly, should I want to remove it to modify the library contents on a system with a faster storage bus going for it. also, I could carry around a tiny fake pleather cassette carrying case that had a couple dozen usb flash drives in it and have literally terabytes of high quality music at my disposable. tres chic!
|
||||||
|
|
||||||
# bill of materials
|
# bill of materials
|
||||||
@ -38,6 +40,9 @@ Various lengths of wire
|
|||||||
*TODO*: move all these todos into issues or something i dunno
|
*TODO*: move all these todos into issues or something i dunno
|
||||||
|
|
||||||
## initial setup
|
## initial setup
|
||||||
|
|
||||||
|
**THIS IS ALL OUT OF DATE AND AWAITING REFINEMENT**
|
||||||
|
|
||||||
wrote raspbian image to sd card
|
wrote raspbian image to sd card
|
||||||
|
|
||||||
added empty file `/boot/ssh`
|
added empty file `/boot/ssh`
|
||||||
@ -86,16 +91,26 @@ changed to soundslab
|
|||||||
shutdown -h now
|
shutdown -h now
|
||||||
|
|
||||||
## install and configure DAC hat
|
## install and configure DAC hat
|
||||||
|
|
||||||
|
**THIS NEEDS TO BE UPDATED TO PIRATE AUDIO INSTRUCTIONS**
|
||||||
|
|
||||||
added hat to pi zero
|
added hat to pi zero
|
||||||
|
|
||||||
booted pi
|
booted pi
|
||||||
|
|
||||||
`sudo wget -O - script.raspiaudio.com | bash`
|
`sudo wget -O - script.raspiaudio.com | bash`
|
||||||
|
|
||||||
|
`sudo apt remove pulseaudio`
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
|
*TODO*: add alsa configuration from /etc/asound.conf
|
||||||
|
|
||||||
## install and configure display hat
|
## install and configure display hat
|
||||||
https://www.waveshare.com/wiki/Libraries_Installation_for_RPi
|
|
||||||
|
**THIS NEEDS TO BE UPDATED TO PIRATE AUDIO INSTRUCTIONS**
|
||||||
|
|
||||||
|
[More info](https://www.waveshare.com/wiki/Libraries_Installation_for_RPi)
|
||||||
|
|
||||||
```
|
```
|
||||||
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
|
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
|
||||||
@ -109,10 +124,16 @@ sudo pip3 install RPi.GPIO
|
|||||||
|
|
||||||
## install and configure UPS hat
|
## install and configure UPS hat
|
||||||
|
|
||||||
## install musikcube from github
|
~~## install musikcube from github~~
|
||||||
https://github.com/clangen/musikcube/wiki/raspberry-pi
|
~~https://github.com/clangen/musikcube/wiki/raspberry-pi~~
|
||||||
|
|
||||||
*TODO*: omg this pulls in a lot of dependencies installing the debian package, a bunch of x11 we're never going to need - I should look into whether or not there are any decent 'no X' options for some of the culprits.
|
~~*TODO*: omg this pulls in a lot of dependencies installing the debian package, a bunch of x11 we're never going to need - I should look into whether or not there are any decent 'no X' options for some of the culprits.~~
|
||||||
|
|
||||||
|
Friendship ended with musikcube api. New bff is mpd:
|
||||||
|
|
||||||
|
`apt install mpd`
|
||||||
|
|
||||||
|
*TODO*: write configuration
|
||||||
|
|
||||||
## install UI script from gitea
|
## install UI script from gitea
|
||||||
*TODO*: write this script!
|
*TODO*: write this script!
|
||||||
|
Loading…
Reference in New Issue
Block a user