There are several places to find good information on setting up RFID, and this instructable focuses on installing the Parallax RFID reader (Serial TTL) on an AVR, with emphasis on the C code needed to read the serial input.
The code is in C and doesn't use any external libraries. In fact, it speaks 2400 baud directly without the use of a UART by synchronizing to the RFID reader's baud rate and reading the digital pin that it's connected to. Excited? Me too.
Remove these ads by
Signing UpStep 1Get the Goods
- RFID Reader (Parallax #28140 $39.99)
- RFID tag ( Parallax #32397 $0.99)
- AVR or Arduino clone (if you use a stock AVR, you'll also need a max232, 5 x 1uF capacitors, and a DE9 connector)
- Solderless breadboard
- 4 position header
- Wire
You could also connect your favorite LCD screen in lieu of sending tag data via RS232.
| « Previous Step | Download PDFView All Steps | Next Step » |









































I recommend them highly, as well as buying the USBub USB to USART converter pictured to the left. It makes communicating via serial RS232 soooo easy.
Good luck!
This reader can interrogate any passive 125 kHz transponder tag, which is in the low frequency range, as far as RFID tags these days go. Industrial-strength RFID is often in the 13.56 MHz and 868/928MHz bands, although there are some microwave tags and readers in the ~3 and ~6 GHz range. With it's 10-byte ID, it offers 240 unique combinations.
So far, the only tags I've read are the one's I've purchased to put on my dog and cat (it's a long story, really) and the range of detection is underwhelming (~ 4cm although the claim is closer to 10cm) although increasing current can increase the antenna's inductance, up to a point. If I could find some RFID tags from some books I'd try those to see if they might work. I use a magnetic card to get into my lab, but my brother uses an RFID badge system, so maybe I'll snag his belt fob and see if I can read that. I'd be more excited if I could *write* to them as well as read them. That would open up some interesting possibilities next to my magnetic card reader... ;)