Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberry_boards:raspi-sound-hat [2020/03/05 01:23] admin |
raspberry_boards:raspi-sound-hat [2020/09/01 19:04] admin [Alsa Mixer Settings] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Raspi-Sonic-Hat ===== | ===== Raspi-Sonic-Hat ===== | ||
+ | {{:raspberry_boards:raspi-sonic-hat.jpg?600|}}\\ | ||
The Raspi-Sonic-Hat is a sound card for the [[https://www.raspberrypi.org/|Raspberry Pi]]. It is based on the [[https://www.cirrus.com/products/wm8731/|WM8731]] I2S sound chip by Cirrus Logic (former Wolfson). The board design is a hybrid of the [[https://statics.cirrus.com/pubs/proDatasheet/WM8731_v4.9.pdf|WM8731 datasheet]], the [[https://www.mikroe.com/audio-codec-proto-board|Audio Codec Board - PROTO]] and the [[http://www.audioinjector.net/rpi-hat|Audio Injector]]. That is why one can use the [[https://github.com/Audio-Injector/stereo-and-zero|Audio Injector software]].\\ | The Raspi-Sonic-Hat is a sound card for the [[https://www.raspberrypi.org/|Raspberry Pi]]. It is based on the [[https://www.cirrus.com/products/wm8731/|WM8731]] I2S sound chip by Cirrus Logic (former Wolfson). The board design is a hybrid of the [[https://statics.cirrus.com/pubs/proDatasheet/WM8731_v4.9.pdf|WM8731 datasheet]], the [[https://www.mikroe.com/audio-codec-proto-board|Audio Codec Board - PROTO]] and the [[http://www.audioinjector.net/rpi-hat|Audio Injector]]. That is why one can use the [[https://github.com/Audio-Injector/stereo-and-zero|Audio Injector software]].\\ | ||
Line 42: | Line 42: | ||
* 1x 12 MHz | * 1x 12 MHz | ||
* **Semiconductors** | * **Semiconductors** | ||
- | * 1x LD117 (3V3) | + | * 1x LD1117V33 (3V3 version!) |
* 1x WM8731 | * 1x WM8731 | ||
* **Mechanical:** | * **Mechanical:** | ||
Line 55: | Line 55: | ||
==== Installation === | ==== Installation === | ||
- | After connecting the Audio Injector to the Raspberry Pi change some configurations, in: | + | After connecting the Audio Injector to the Raspberry Pi some software should be installed.\\ |
+ | First you have to download the deb package from [[http://forum.audioinjector.net/viewtopic.php?f=5&t=3]]. | ||
+ | $ wget https://github.com/Audio-Injector/stereo-and-zero/archive/master.zip | ||
+ | Unpack it: | ||
+ | $ unzip master.zip | ||
+ | And install it: | ||
+ | $ cd stereo-and-zero-master/ | ||
+ | $ sudo apt install ./audio.injector.scripts_0.1-1_all.deb | ||
+ | Change some configurations, in: | ||
$ sudo nano /boot/config.txt | $ sudo nano /boot/config.txt | ||
- | Comment out: | + | Put in comment: |
# dtparam=audio=on | # dtparam=audio=on | ||
And type in: | And type in: | ||
+ | # Enable audio (WM8731) | ||
dtoverlay=audioinjector-wm8731-audio | dtoverlay=audioinjector-wm8731-audio | ||
ctl + o for saving, press return and ctl + x to leave.\\ | ctl + o for saving, press return and ctl + x to leave.\\ | ||
Line 75: | Line 84: | ||
$ unzip master.zip | $ unzip master.zip | ||
go into the folder: | go into the folder: | ||
- | $ cd stereo-and-zero-master/ | + | $ cd stereo-and-zero-master/audio.injector.scripts-0.1/ |
and run: | and run: | ||
$ alsactl --file asound.state.MIC.thru.test restore | $ alsactl --file asound.state.MIC.thru.test restore | ||
Line 159: | Line 168: | ||
[[https://github.com/Audio-Injector/stereo-and-zero]]\\ | [[https://github.com/Audio-Injector/stereo-and-zero]]\\ | ||
[[https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage]]\\ | [[https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage]]\\ | ||
+ | [[https://alsa-project.org/wiki/Main_Page]]\\ | ||
---- | ---- |