An music server on Raspberry pi and Arduino
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arduino/control_power
audioserver
shutdown_check
.gitignore
LICENSE
Picture_in_Box.jpg
Picture_surface.jpg
README.md
schematic.PNG

README.md

RaspiMusicServer

This an music server on Raspeberry pi with Grovepi and Arduino. The server plays music by mpc and can be controlled by either a joystick, a button or gesture. Audio volume can be changed by a slide bar. Power supply is managed by Arduino with a button safely. We don't need to take care of timing of turning on/off Raspi.

Schematic Schematic

Movie

https://www.youtube.com/watch?v=xel442RrTm4

Materials

Software

Arduino

Arduino controls power supply of Raspberry pi. arduino/control_power.ino shall be loaded into Arduino.

Raspberry pi

  1. Communication with Arduino "shutdown_check/shutdown_check.py" shall be run from /etc/rc.local by super user.

  2. Install mpd/mpc

  3. Set a playlist as you want

  4. Music server application "audioserver/run.sh" shall be from cron by pi user.

  5. Connect either a speaker or a DAC. I connected a USB DAC. http://akizukidenshi.com/catalog/g/gK-05369/

Notification

  • Power of the system is supplied by 5V DC. Maximum current should not be less than 2.5A since it will be applied for RasPi3, Arduino and peripherals.

Schematic

Following is schematic of the server.

Schematic

License

This software is released under the MIT License, see LICENSE.

"grove_gesture_sensor.py" is Copyright (C) 2017 Dexter Industries