Music party is a new way to listen to music with others. By tapping an RFID/NFC device that is synced to a Facebook account on an Arduino RFID reader shield and sending that unique ID to Music Party server using the Arduino WiFly shield, we can automatically listen to the favorite music of everyone who taps in. Go to the Music Party website to see an example

About Lifegraph Labs
My name is Jon and I'm a member of Lifegraph Labs! We're a group of six students at Olin College of Engineering passionate about connecting digital and physical interactions. We have a website with a handful of how-to's and tools you can use to connect to the internet, and leverage information about your digital identity. Check out the website and our Github repository! All the code for this tutorial can also be found on our Github repo. 

What you'll need to make Music Party:
A Computer
An Internet Connection
An Arduino
Adafruit NFC/RFID Reader Shield or Sparkfun RFID shield (& Stacking Header Pins to connect to the Arduino)
WiFly Module
An NFC/RFID device (Any 13.56 MHz RFID card will work). You can see an example here.
A Facebook account (that has ‘liked’ bands/music)

One more Note: We’ll guide you through how to do this with the above mentioned Arduino shield/module but you can easily modify it to be able to work with a different RFID or WiFly solution if you already own one.

System Overview

Check out the block diagram image for a pictorial representation of the system or follow along with the video above.

It starts with the RFID reader reading the unique id of whatever device/card was placed near it (we'll call this the Tap ID). The reader passes the Tag ID on to the Arduino which sends it and the Device ID (which you will make up) out to our Music Server through the WiFly module. That's as much as you need to build! The rest has been extracted into a separate server that can handle everyone's requests to remove a lot of the complexity. If you want to configure your own server you can check out the Github repository for it or let us know and we'll make a tutorial for it!

The server will take care of converting the Tag into a Facebook ID, grabbing the musical preferences of that person associated with that Facebook ID, merging those tracks back into the playlist for everyone else in the room and passing those tracks to who ever connects to the URL associated with the Device ID (musicparty.herokuapp.com/*Device ID*/party). We are using the Tomahawk API when you connect to a music party in your browser to find a media source that can stream each particular track (youtube, soundcloud, etc.). 

We built the Lifegraph Connect platform to have a centralized API and database for bridging physical and digital identities. It's easy to use, and once we put the hardware we'll sync our IDs there so that we can convert an RFID tag to a Facebook ID.

Now let's get started with the tutorial!

Step 1: Set Up the Hardware Stack

The first thing we'll need to do is put out hardware together. If you haven't soldered the stackable header pins onto your RFID shield, you should do that first. Lady Adafruit has a great video that explains how to do it for first-timers. 

After you're done soldering the stackable header pins to the shields, you'll need to attach the WiFly module. We've made a whole tutorial dedicated to connecting the Arduino to the internet with WiFly but for the sake of this Instructable, just follow the section for soldering and connecting the pins into the shield. You can see a picture of the hardware stack below (with the Sparkfun board).  
Really interesting!!..i'm aravind from india doing final year engineering..can you help me out with the same idea on different application? So that i can do it as my final year project..
<p>I like it, but I want to try and do something similar with youtube...</p>
I was wondering whether a normal WiFi shield will work? Cause I've wifishield and IDE Ver 1.0.5 comes with a wifi lib already
*mHz instead of kHz :D
Nice catch! Fixed it.

About This Instructable




Bio: We're a group of six engineering students at Olin College of Engineering working to enable the bridging of physical and digital interactions.
More by LifegraphLabs:A Facebook-Connected, Arduino-Powered Music Party 
Add instructable to: