prayerslayer / radio

Wifi Radio w/ Pi + Arduino
1 stars 0 forks source link

Uno-Pi WiFi Radio

Raspberry Pi + Mopidy + Plugins (SoundCloud, Internet Radio) + Arduino.

Setup

Hardware

tba

Software

  1. Install necessary software on Pi (see section "Dependencies")
  2. Connect Arduino and Pi via USB interface
  3. Deploy Arduino Code on Arduino, modify pins as needed
  4. Create folder ~/.radio on Pi
  5. Put pi2uno.py there, modify Mopidy or Arduino ports as needed
  6. Run start-radio.sh on Pi after every boot
  7. Profit

Todo

Plan

Pi runs Mopidy music server. Possibly also a REST API that connects to it, but that's left for later. Arduino has hardware controls attached to it. Arduino reads state of hardware. Arduino prints state to serial when appropriate. Python script on Pi reads serial from Arduino. Python script uses Python library for mpd connection. Python script translates serial input from Arduino to mpd commands. Everyone is happy.

Parts

Dependencies