Skip to content

Instantly share code, notes, and snippets.

@fatihky
Created November 10, 2019 13:07
Show Gist options
  • Save fatihky/6867653bce9ebdd7637b03f73673afdf to your computer and use it in GitHub Desktop.
Save fatihky/6867653bce9ebdd7637b03f73673afdf to your computer and use it in GitHub Desktop.
Turn NextThingCo C.H.I.P. into a bluetooth speaker
Here I'll describe how you can turn your NextThingCo C.H.I.P. into a bluetooth speaker.
STEP 1 - Test your jack:
a. Plug your headphone to your C.H.I.P. first.
b. Then put some mp3 files to your C.H.I.P.
c. Try to play them with `mplayer foo.mp3` command.
d. If you hear your song from the headphone, continue to next step.
e. Ok. You can't get sound from the headphone.
I could only hear sound by uninstalling pulseaudio but I don't suggest that way.
If you can, flashing the C.H.I.P. solved the problem for me (easiest and fastest way).
For flashing: https://github.com/Thore-Krug/Flash-CHIP
I've flashed my C.H.I.P. with Ubuntu. I could't do that neither on Mac or Ubuntu inside Virtualbox on Mac.
STEP 2 - Actual work:
Follow this guide:
https://www.youtube.com/watch?v=SyrJ1_kKOh4
STEP 3 - Bluetooth settings:
Open `bluetoothctl` from command line. Pair
# problem 1: phone can't connect to the chip after reboot
# and bluetoothctl shows that phone and C.H.I.P. constantly get disconnected
# Solution (worked for me):
https://askubuntu.com/a/1085778
So, there was already a guide for this work but why is this tutorial for? I lost many hours for finding solutions.
So I would want to save someone other's time by providing these tricks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment