Instructables

RFI-DJ: MP3 Playing RFID Thing

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

Picture of Supplies
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)
zajactom1 month ago

Hi,

I know it has been quite a time since this instructable was published, however since then I could not fine answer to my questions. I was thinking about making sort of music player by using only old laptop and one of those usb RDIF readers (they just like a keyboard but only passing the ID number). I was trying to avoid arduino and iPod and stuff. Just simple pc and usb RDIF. So far did not find anything that will not involve rocket science, as I am unfamiliar with any coding, servers etc. however I can follow some how to instructions. So my question is: does anyone knows about solutions or ideas how to turn old laptop and RFID usb reader into RFID music player?

klynas1 year ago
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)  klynas1 year ago
That would be very cool. If I have the time, I think I'll give it a try.
alex2015291 year ago
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)  alex2015291 year ago
There, I finished. Look at step 8!
Wow Thanks! I am definitely going to make this now. Thanks again for the quick response
ilpug1 year ago
Nice idea, but I think it needs a better name... How about CardPlayer?
alecnotalex (author)  ilpug1 year ago
Maybe, but it's a little late to change the name.
Not really. You can edit the Instructable at any time.
alecnotalex (author)  ilpug1 year ago
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.
Makes sense.
Makes sense.
Great Project!
alecnotalex (author)  AmbrosiaElixir1 year ago
Thank you!
When you remove the ID Tag, does the music pause?
alecnotalex (author)  ElectroFlex1 year ago
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!