RFI-DJ: MP3 Playing RFID Thing

 by alecnotalex
Featured
The RFI-DJ is a USB device for playing MP3 files from your computer. You have a set of RFID cards, each one with a song name written on it. You choose a card and place it on the RFI-DJ, and your computer will play that song. Its magic!

Actually, it's not magic. It uses an Arduino and an ID-12 RFID scanner, and a python script running on your computer.

The device is really fun to use, and it makes a great afternoon project. The parts it uses are owned by most DIY people, and if you don't have them, they're pretty cheap and easy to find. The number of tracks it can play is severely limited to the number of RFID tags you have, so don't plan on throwing away your i-pod.

Wait a minute, I think I've seen this before...
Yes, unfortunately, you have. After starting on this instructable I discovered that somebody had already done something very similar, which can be found here. There are still many differences in his approach, such has that his is not USB, it is standalone, and his is much bigger and is more difficult and time-consuming to make. His is also based off of an i-pod.
Also, this project was inspired by this instructable. I probably wouldn't have thought of this without it. It's basically the same thing, but that one was with websites, not songs.

Here's a video I made of me playing a song with it (with my cat yelling in the background):



How it works:
An RFID scanner scans your card.
An Arduino processes the reading.
Based on the reading, the Arduino sends a letter to the serial port.
A python script reads the letter, and plays a song based on what letter it receives.
 
Remove these adsRemove these ads by Signing Up

Step 1: Supplies

IMG_0387.JPG
Here's what you need:
1 Arduino
1 RFID Reader
1 RFID Reader Breakout
Many RFID Tags
1 Computer
Some MP3 Files (Don't pirate them, please.)
Wire

Optional:
1 LED
1 Box of sorts (I used a cereal box)
klynas says: Aug 14, 2012. 12:31 PM
I would like to see this, but with a number pad next to it as well, so you could rfid your cd collection and still have a physical collection, but just swipe the cd case and press 'play all' or just a certain track.
alecnotalex (author) in reply to klynasAug 14, 2012. 1:10 PM
That would be very cool. If I have the time, I think I'll give it a try.
alex201529 says: Jul 19, 2012. 6:17 PM
Is there a way to change the code so it plays a genre of music or a playlist? That would be really cool.
alecnotalex (author) in reply to alex201529Jul 20, 2012. 5:52 AM
There, I finished. Look at step 8!
alex201529 in reply to alecnotalexJul 21, 2012. 8:42 AM
Wow Thanks! I am definitely going to make this now. Thanks again for the quick response
ilpug says: Jul 19, 2012. 10:56 PM
Nice idea, but I think it needs a better name... How about CardPlayer?
alecnotalex (author) in reply to ilpugJul 20, 2012. 5:54 AM
Maybe, but it's a little late to change the name.
ilpug in reply to alecnotalexJul 20, 2012. 2:04 PM
Not really. You can edit the Instructable at any time.
alecnotalex (author) in reply to ilpugJul 20, 2012. 3:06 PM
Yeah, but it's current name is already written on a whole bunch of things, and is in a whole bunch of filenames and such. I just don't have the time to change that many things, due to being busy working on another project.
ilpug in reply to alecnotalexJul 20, 2012. 10:49 PM
Makes sense.
ilpug in reply to alecnotalexJul 20, 2012. 10:49 PM
Makes sense.
AmbrosiaElixir says: Jul 20, 2012. 1:22 AM
Great Project!
alecnotalex (author) in reply to AmbrosiaElixirJul 20, 2012. 5:52 AM
Thank you!
ElectroFlex says: Jul 19, 2012. 5:51 PM
When you remove the ID Tag, does the music pause?
alecnotalex (author) in reply to ElectroFlexJul 19, 2012. 6:13 PM
No, it does not. So, you really just need to swipe the card and it'll work.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!