Site Tools


projects:piradio

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

pacman -S pi-bluetooth bluez pulseaudio-bluetooth python-dbus python-gobject
systemctl daemon-reload
systemctl enable --now brcm43438 bluetooth
/etc/bluetooth/audio.conf
[General]:
Enable=Source,Sink,Media,Socket
/etc/bluetooth/main.conf
Class = 0x00041C
[...]
DiscoverableTimeout = 0
/etc/pulse/daemon.conf
resample-method = trivial
systemctl restart pulseaudio
/etc/pulse/system.pa
...
load-module module-bluetooth-discover
bluetoothctl
power on
system-alias piRadio
agent NoInputNoOutput
discoverable on
pairable on
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

pacman -S bluetooth-raspberrypi
pacman -S firmware-raspberrypi bluez-utils-compat
projects/piradio.txt · Last modified: 2021/10/31 10:42 by 127.0.0.1