Step 5: About RFID cards

About RFID cards

RFID cards have a coil of wire in them and a radio transmitter. The reader induces a current in the wire coil which then momentarily powers the radio transmitter. This sends a 10 digit code to the RFID reader (and so to the Arduino). Each card has a unique number.

Therefore the software in the Arduino can work as follows:

"If I see number XXXXXYYYYY on the RFID reader, I must instruct the iPod to start playing track number X in the playlist."

It will do this every time it sees that particular card.

Later on I will show how the numbers are discovered for each card, it is best to just write the number on the back of each one.
Each card represents the first track of each album in the playlist, and the cover art from each CD is put on the front as a label.

Here are a few spare "bricks" on the floor waiting to be chosen next!

Quick question before I start! :) Could I use an Uno for this? Did you use the Mega for the power or for the available pins?
Used Mega as it has several hard wired serial pins.<br><br>Could probably use an Uno and Softserial
Oh, one more question: The RFID Reader takes kind of a long time to read the bricks. Is this the limit of the Reader itself, or the code? (or on purpose?) If I bought a different, possibly faster, Reader could it read the tags faster? Like this one?<br><br>https://www.adafruit.com/products/364
It is the code. Can set the reader to &quot;look&quot; more frequently for a new card if you want to.
you should have some bricks in the shape of volume bars for volume control.
how is the LCD display connected?
Diagram on page 11. Bottom left corner is the (back) of the LCD display. <br> <br>It is a serial-LCD display which means you only need 4 wires, 5V power, Ground and transmit/receive. <br> <br>John
I tried to download this and it just downloads as at .tmp file than I don't know how to open. Could you be able to post this as the full code or just the example in step 31 that appears to be empty. I have this RFID and all the code I can find doesn't identify the card very descriptively. One example simple puts it out as X and O. Any help would be appreciated.
Hi Grissini, <br> <br>Whenever I try to attach an Arduino sketch .pde file to an Instructable there is always a problem. Has always been like that. <br>I have attached it as a text only file now as well. If you can download that, paste it into an empty new arduino sketch, compile and save, it should then work OK. <br> <br>I have improved the code very recently to include a setup mode where it &quot;self learns&quot; which RFID tags go with which position in playlist and stores the data in the EEPROM, i.e. even when the power is off. <br> <br>However, since I cannot edit any of the text in the Instructables editor at the moment apart from the front page, a problem others contributors are also having, that will have to wait until the text editor is back working properly. <br>For now I have attached the original code. <br> <br>My code for reading the RFID was based on examples in the Arduino playground here: <br>http://www.arduino.cc/playground/Learning/PRFID <br> <br>There is a good code example there you can use to just test your reader is working OK before you carry on. Hope this helps. <br> <br>Best wishes <br> <br>John <br>
Thx John. I really appreciate it. It came through great.
Thanks. <br>I thought I would use the knowledge gained from all my other strange projects to actually make something useful in our home!
Killer Idea. Awesome execution. Great write-up. A Fantastic Instructable. Thx.

About This Instructable


106 favorites


More by XenonJohn: Music & lights in childproof case VW Beetle rear view camera Head Mounted Laser Pointer communicator
Add instructable to: