Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
raspberry:audio_injector [2020/02/27 16:32] admin [I2S Pins] |
raspberry:audio_injector [2020/05/12 16:56] (current) admin [Links] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Audio Injector Installation ===== | ===== Audio Injector Installation ===== | ||
| - | [[http:// | + | [[http:// |
| - | ==== Installation === | + | ---- |
| - | This manual is made for an Raspberry Pi 4 running [[https:// | + | ==== Installation ==== |
| - | After connecting the Audio Injector to the Raspberry Pi change | + | |
| + | This manual is made for an Raspberry Pi 4 running [[https:// | ||
| + | |||
| + | After connecting the Audio Injector to the Raspberry Pi some software should be installed.\\ | ||
| + | First you have to download the deb package from [[http:// | ||
| + | $ tar -xf audio.injector.scripts_0.1-1_all.deb.tar.gz | ||
| + | And install it: | ||
| + | $ sudo apt install ./ | ||
| + | Change | ||
| $ sudo nano / | $ sudo nano / | ||
| Comment out: | Comment out: | ||
| Line 14: | Line 22: | ||
| Reboot your Raspberry Pi: | Reboot your Raspberry Pi: | ||
| $ sudo reboot | $ sudo reboot | ||
| - | \\ | + | |
| - | After the reboot download: | + | ---- |
| + | ---- | ||
| + | ==== Alsa Mixer Settings ==== | ||
| + | |||
| + | [[https:// | ||
| + | There are two reference alsa mixer files which will allow you to setup default output with either line input or microphone input : | ||
| + | Download: | ||
| $ wget https:// | $ wget https:// | ||
| Unpack it: | Unpack it: | ||
| $ unzip master.zip | $ unzip master.zip | ||
| go into the folder: | go into the folder: | ||
| - | $ cd stereo-and-zero-master/ | + | $ cd stereo-and-zero-master/ |
| and run: | and run: | ||
| $ alsactl --file asound.state.MIC.thru.test restore | $ alsactl --file asound.state.MIC.thru.test restore | ||
| Line 42: | Line 56: | ||
| ---- | ---- | ||
| - | ==== I2S Pins ==== | + | ==== I2S and I2C Pins ==== |
| - | Beside the power and ground the I2S bus needs the following pins: | + | |
| + | The following pins are used by the sound card, don't use them for anything else!\\ | ||
| + | Beside the power (5V and 3V3) and ground | ||
| GPIO 18 (Pin12) | GPIO 18 (Pin12) | ||
| GPIO 19 (Pin 35) IN and OUT LR CLOCK (DACLRC and ADCLRC); | GPIO 19 (Pin 35) IN and OUT LR CLOCK (DACLRC and ADCLRC); | ||
| Line 56: | Line 72: | ||
| </ | </ | ||
| - | graphic from: | + | //graphic from: |
| - | [[https:// | + | [[https:// |
| ---- | ---- | ||
| Line 64: | Line 80: | ||
| [[https:// | [[https:// | ||
| [[https:// | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | ---- | ||
| + | ==== License ==== | ||
| + | |||
| + | This manual is made by **Wolfgang Spahn** 2020.\\ | ||
| + | It is licensed under a [[http:// | ||
| + | |||
| + | < | ||
| + | <a rel=" | ||
| + | </ | ||
| ---- | ---- | ||