An Eye-Catching Raspberry Pi Smart Speaker

[curcuz]’s BoomBeastic mini is a Raspberry Pi based smart connected speaker. But don’t dis it as just another media center kind of project. His blog post is more of a How-To guide on setting up container software, enabling OTA updates and such, and can be a good learning project for some. Besides, the design is quite elegant and nice.

boombeastic_02The hardware is simple. There’s the Raspberry-Pi — he’s got instructions on making it work with the Pi2, Pi2+, Pi3 or the Pi0. Since the Pi’s have limited audio capabilities, he’s using a DAC, the Adafruit I2S 3W Class D Amplifier Breakout for the MAX98357A, to drive the Speaker. The I2S used by that part is Inter-IC Sound — a 3 wire peer to peer audio bus — and not to be confused with I2C. For some basic visual feedback, he’s added an 8×8 LED matrix with I2C interface. A Speaker rounds out the BoM. The enclosure is inspired by the Pimoroni PiBow which is a stack of laser cut MDF sheets. The case design went through four iterations, but the final result looks very polished.

On the software side, the project uses Mopidy — a Python application that runs in a terminal or in the background on devices that have network connectivity and audio output. Out of the box, it is an MPD and HTTP server. Additional front-ends for controlling Mopidy can be installed from extensions, enabling Spotify, Soundcloud and Google Music support, for example. To allow over-the-air programming, [curcuz] is using which helps streamline management of devices that are hard to reach physically. The whole thing is containerized using Docker. Additional instructions on setting up all of the software and libraries are posted on his blog post, and the code is hosted on GitHub.

There’s a couple of “To-Do’s” on his list which would make this even more interesting. Synced audio being one: in a multi-device environment, have the possibility to sync them and reproduce the same audio. The other would be to add an Emoji and Equalizer display mode for the LED matrix. Let [curcuz] know if you have any suggestions.

Continue reading “An Eye-Catching Raspberry Pi Smart Speaker”

Home audio and lighting taken over by the Raspberry Pi


We’re beginning to see a lot of momentum building for using Raspberry Pi boards as the basis of your home automation. This latest offering from [Iain Hamilton] combines lighting and audio control through a single web interface. His frontend is run as a web page from the RPi board. It even includes separate layouts for mobile devices and computers in order to maximize use of the screen real estate.

Three buttons at the top of the interface allow him to configure the settings and switch between lighting and audio controls. This audio control screen issues commands to the Spotify client running on the Pi. The Mopidy package takes care of almost everything (as we’ve seen with other single-board computer Spotify servers). Future iterations will offer other streaming services like SoundCloud. [Iain’s] home lighting system uses X10 modules for control. He’s using a USB dongle to facilitate control of that system.

Continue reading “Home audio and lighting taken over by the Raspberry Pi”

Raspberry Pi as a Spotify server with MPD control

The Raspberry Pi has been very popular as a streaming music player. Sure, the only audio out option on the board is an analog stereo jack, but you can use a USB audio device to improve upon that if you wish. [Wouter van Wijk] wanted to use his RPi as a Spotify server. It’s a bit tricky to get everything configured for this, so he decided to give back by publishing a ready to use Spotify server image for the Raspberry Pi.

The project is call the Pi MusicBox. Like some of the RPi Pandora setups we’ve seen he included the ability to use the hardware as an AirPlay device too. To connect to the Spotify service he uses the Mopidy package. It can also play tracks from local storage (including the home network). It’s even capable of mixing the two sources in the same queue. Possibly the best part is that it can be controlled with any Music Player Daemon (MPD) client like the smart phone screenshots seen above.

If you’re interested, check out his GitHub repo for the project.