Skip to content
Ricardo Zago edited this page Oct 31, 2016 · 39 revisions

Automation project using Raspberry Pi for the discipline IA 351 of the School of Electrical Engineering and Computation.

Goal: Build an WiFi sound system powered by Raspberry Pi.

Members:

  • Arthur Zanatta da Costa RA: 116194
  • Ricardo Zago RA: 118570
  • Mauricio Donatti RA: 092374

Professors:

  • Lucas H. Gabrielli
  • Fabiano Fruett

Details of the project

NoVo Pi is a Wi-Fi sound system powered by Raspberry Pi. From the software point of view, the system is based on Mopidy running as a HTTP music server. Users can access Mopidy by one of the many web extensions available (we recommend Mopify), our control script or our app (currently on development). From the hardware point of view, the system has a microphone MAX9812, attached to a signal conditioner that goes into a LED PCB attached to the Raspberry. The LEDs give valuable information about the stats of NoVo Pi and, together with the microphone, are used to sync the blinking with the current music.

General view of the first version:

Diagram JPG

Software

The main building block of NoVo Pi is the Mopidy music server. It is an open source MPD and HTTP music server written in Python capable of run in the Raspberry Pi. In the NoVo Pi project, we mainly focus on the HTTP extension of Mopidy. The following links teach you how to install and make your first setup of Mopidy on your Raspberry.

NOTE: We strongly suggest the use of the new Raspbian Jessie OS with Pixel

Hardware

The NoVo Pi Sound System includes an extension board for Raspberry Pi 40 pin header. This board contains 15 LEDs blinking based on the current music rhythm. To avoid permanent damage to RasPi GPIO system (3.3V rail can't drive more than 50mA) an ULN2003 buffer has been used. The 15 LEDs are placed like a 'V', producing a nice design. An electret microphone with a 20dB fixed gain audio amplifier (MAX9812) sends the environment sound and music to an I2C A/D converter (PCF8591). A script has been developed to identify volume level variation and blink the LEDs.

3D printed box

A 3D printed case has been created to protect the microphone, Raspberry and A/D Converter using Inventor:

Android App

Currently, we are working to make NoVo Pi independent of a terminal. All the commands and configurations will be made through a smart device. The Android app can be found on this GitHub page.

The overview and details of the app can be found at:

Guides