Writing /var/lib/dokuwiki/wiki.project-insanity.org/data/meta/projects/piradio.meta failed
projects:piradio
Differences
This shows you the differences between two versions of the page.
projects:piradio [2020/12/05 06:34] – old revision restored (2020/08/29 23:15) 2a01:4f8:162:14e::2 | projects:piradio [2021/10/31 10:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== cuircuit fun ===== | ||
+ | ^ Heading 1 ^ ^ ^ Heading 3 ^ | ||
+ | | 3V | 1 | 2 | 5V | | ||
+ | | - | 3 | 4 | - | | ||
+ | | - | 5 | 6 | GND | | ||
+ | | GPIO (LCD) | 7 | 8 | GPIO (KP) | | ||
+ | | - | 9 | 10 | - | | ||
+ | | GPIO (LCD) | 11 | 12 | GPIO (LCD) | | ||
+ | | GPIO (KP) | 13 | 14 | - | | ||
+ | | GPIO (LCD) | 15 | 16 | GPIO (LCD) | | ||
+ | | - | 17 | 18 | GPIO (LCD) | | ||
+ | | GPIO (KP) | 19 | 20 | - | | ||
+ | | GPIO (KP) | 21 | 22 | GPIO (LCD_BRIGHTNESS) | ||
+ | | GPIO (KP) | 23 | 24 | GPIO (KP) | | ||
+ | | - | 25 | 26 | GPIO (KP) | | ||
+ | |||
+ | ===== piRadio new ===== | ||
+ | <code bash> | ||
+ | pacman -S pi-bluetooth bluez pulseaudio-bluetooth python-dbus python-gobject | ||
+ | </ | ||
+ | <code bash> | ||
+ | systemctl daemon-reload | ||
+ | systemctl enable --now brcm43438 bluetooth | ||
+ | </ | ||
+ | <file - / | ||
+ | [General]: | ||
+ | Enable=Source, | ||
+ | </ | ||
+ | <file - / | ||
+ | Class = 0x00041C | ||
+ | [...] | ||
+ | DiscoverableTimeout = 0 | ||
+ | </ | ||
+ | |||
+ | <file - / | ||
+ | resample-method = trivial | ||
+ | </ | ||
+ | <code bash> | ||
+ | systemctl restart pulseaudio | ||
+ | </ | ||
+ | <file - / | ||
+ | ... | ||
+ | load-module module-bluetooth-discover | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | bluetoothctl | ||
+ | power on | ||
+ | system-alias piRadio | ||
+ | agent NoInputNoOutput | ||
+ | discoverable on | ||
+ | pairable on | ||
+ | </ | ||
+ | <code bash> | ||
+ | sudo -u piradio pactl list sources short | ||
+ | sudo -u piradio pactl list sinks short | ||
+ | sudo -u piradio pactl load-module module-loopback source=bluez_source.B4_3A_28_A8_D7_B3.a2dp_source sink=alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo | ||
+ | </ | ||
+ | |||
+ | ===== bluetooth new ===== | ||
+ | <code bash> | ||
+ | pacman -S bluetooth-raspberrypi | ||
+ | </ | ||
+ | * https:// | ||
+ | |||
+ | <code bash> | ||
+ | pacman -S firmware-raspberrypi bluez-utils-compat | ||
+ | </ |