Transforming Raspberry Pi into a Bluetooth Speaker

Transforming Raspberry Pi into a Bluetooth Speaker

(Shared by rekcah1986)

0. It is impossible to change, you must first have a regular speaker. 1. Flash the Stretch system, address: https://downloads.raspberrypi.org/raspbian_latest 2. The default source seems to have problems, change it:

sudo vim /etc/apt/sources.list
#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi    <<--- Block this source
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Replace with http://mirrors.shu.edu.cn/raspbian/raspbian/
deb http://mirrors.shu.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi    #<<--- Add

3. Update the list:

sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get update

4. Install xrdp for convenient remote desktop login (optional):

sudo apt install xrdp

5. Install a2dp support

git clone https://github.com/bareinhard/super-simple-raspberry-pi-audio-receiver-install
cd super-simple-raspberry-pi-audio-receiver-install
git checkout stretch-fix
sudo ./install.sh

6. A few options during the installation, I don’t remember the order clearly: (1) For Car and Home, I chose Home, the specific difference is unclear (2) Device name and AirPlay Device Name, I wrote PiMusic, actually can write anything (3) Password, you can leave it blank (4) Do you want all the Devices to use the same name? (y/n) : Choose y or n, choose n (5) Which Sound Card are you using? (0/1/2/3/4/5/6/7/8/9/10/11), write 07. After installation, plug the speaker into the Raspberry Pi, turn on the Bluetooth search on the Raspberry Pi, find and connect with your phone’s Bluetooth, and play music. 8. If you can’t figure it out (ask me in the original text), haha~

Author: rekcah1986 Link: https://www.jianshu.com/p/d3e522f908f3

Click the link in the text to read the original text at the end

Transforming Raspberry Pi into a Bluetooth Speaker

More exciting content

Drawing robot made with Raspberry Pi

Making a “pocket TV” with Raspberry Pi

Creating a decent NAS with Raspberry Pi

DIY WI-FI remote control boat with ESP32 development board

Raspberry Pi 3 Model A+ released

Petoi Nybble: A blessing for Raspberry Pi cat slave players

Raspberry Pi UPS: Uninterruptible power supply modified with a power bank

Transforming Raspberry Pi into a Bluetooth Speaker

Leave a Comment

×