Tested on:RPi 3B+; Raspbian Buster
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Hardware:3.5mm active speakers
Smartphone with Bluetooth

Finally! Raspberry Pi 3B+ Buster as Bluetooth audio sink

I’ve tried a few times in the last years to configure a Raspberry Pi as Bluetooth audio sink, with no avail. Best case, the connection was instable and the audio quality poor. With the RPi3 B+ and Raspbian Buster finally delivers a good Bluetooth connection quality, yay!
Thanks to Abdul Mueid for the bluetooth tutorial on his blog!

Connect the speaker with the RPi, boot and log in. Enter in the terminal

Log in again and start bluetoothctl with

Aktiviere Bluetooth auf dem Smartphone und gib jetzt nacheinander ein
Activate Bluetooth on the smartphone, then enter one after another the following

Replace XX:XX:XX:XX:XX:XX with the hardware address of the device which should be coupled, see

Bluetooth scan results

Bluetooth scan results

For pair, the coupling has to be confirmed on the smartphone.
Have a look at this tutorial for automating Bluetooth connections.

For a respectable audio quality, at least a Raspberry Pi 3 B+ and a USB soundcard or the pHAT DAC are required, since the onboard sound of the RPi isn’t very pleasant.

Buster lite
The setup shown herein sadly doesn’t work for Raspbian Buster lite. For unknown reasons, the device type audio (0x200414) is reset to 0x000000 after every reboot, which prevents the RPi from being recognized as audio sink. If someone has an idea regarding this, please let me know!

Tutorial pHAT DAC: http://www.knight-of-pi.org/great-audio-for-the-raspberry-pi-with-the-phat-dac/
Automate Bluetooth connections with PExpect: http://www.knight-of-pi.org/terminal-control-with-pexpect-automate-bluetooth-connection
The Code Ninja: Bluetooth Audio Receiver: https://thecodeninja.net/2016/06/bluetooth-audio-receiver-a2dp-sink-with-raspberry-pi/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


Time limit is exhausted. Please reload CAPTCHA.