3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

AVR/Arduino RFID Reader with UART Code in C

AVR/Arduino RFID Reader with UART Code in C
RFID is the craze, found everywhere - from inventory systems to badge ID systems. If you've ever been to a department store and walked through those metal-detector-looking things at the entrace/exit points, then you've seen RFID.

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 adsRemove these ads by Signing Up
 

Step 1Get the Goods

Get the Goods
You'll need the following list of parts:
  • 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

Optional
  • 4 position header
  • Wire
(and the max232 etc for communication of the tag information)
You could also connect your favorite LCD screen in lieu of sending tag data via RS232.
« Previous StepDownload PDFView All StepsNext Step »
14 comments
Aug 30, 2010. 10:53 AMCatch_22_ says:
Although it's only available in-store only, I got this exact parallax model for 8.95 at my local RadioShack. Much much better then paying $30+ along with shipping.
Sep 6, 2011. 8:17 PMapburner says:
I did the same. I already had one but at 9bucks I could not pass it up
Mar 14, 2010. 11:26 PMnate4alpha says:
Does anyone have the complete code to get this project to functioning properly?

Sep 4, 2010. 11:24 AMscottyb4996 says:
I downloaded the ZIP File. How do I load it into the Arduino IDE to get it to function properly?
Apr 5, 2010. 8:01 PMnate4alpha says:
What's the name of the white board on this page?


Apr 5, 2010. 8:15 PMnate4alpha says:
Thanks for the help!

Aug 13, 2009. 5:22 AMjeff-o says:
Very cool. So what types of RFID tags can it read? Security badges? product tags?
Aug 17, 2009. 3:36 AMjeff-o says:
Indeed it would! Some legit, some not so much... ;)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
62
Followers
22
Author:nevdull(The Bold Scientist)
Gian is the VP Research & Development at Open Design Strategies and holds a BA in Molecular/Cellular Biology and an MS in Computer Science. He has a collection of 8-bit microcontrollers and a room fu...
more »