Академический Документы
Профессиональный Документы
Культура Документы
Wiring and programming the Parallax RFID Serial Card Reader for the Arduino
by Kev_MacD on April 30, 2012
Table of Contents
Wiring and programming the Parallax RFID Serial Card Reader for the Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Intro: Wiring and programming the Parallax RFID Serial Card Reader for the Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
http://www.instructables.com/id/Wiring-and-programming-the-Parallax-RFID-Serial-Ca/
Intro: Wiring and programming the Parallax RFID Serial Card Reader for the Arduino
I recently completed an RFID project using an Arduino and the Parallax RFID Serial Card Reader - here are the hardware and software notes on making it all work.
Parts List:
If you power up the Arduino the LED on the RFID Reader should light green. In the next steps we will load the library and code to make the reader work.
http://www.instructables.com/id/Wiring-and-programming-the-Parallax-RFID-Serial-Ca/
Step 2: Loading the SoftwareSerial Library
The SoftwareSerial Library is a core library for Arduino - there should be no need to install it. If you need to install it for some reason, visit the Arduino site.
http://arduino.cc/en/Reference/Libraries
http://www.instructables.com/id/Wiring-and-programming-the-Parallax-RFID-Serial-Ca/
Step 3: RFID Sketch
Load the RFID Sketch below. The Sketch uses the Serial Monitor on the Arduino IDE to output the reader data at 9600 baud.
The Sketch also uses the SoftwareSerial library to make a connection to the SOUT pin on the reader at 2400 baud using Pin 2 on the Arduino.
The /Enable pin must be held low for the reader to work. The LED turns RED when the Reader is enabled.
Each tag read will be stored in the RFIDTAG variable. Note that the reader will continually read a tag that is within range, so the code "remembers" the last tag and
ignores duplicate reads.
File Downloads
RFID_Reader.ino (2 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'RFID_Reader.ino']
Related Instructables
RFID Car
RFID Reader! RFID Reader! Stupid Simple Lock/Unlock Magic Music
Identify MK: II, Card Arduino LF Table RFID -
AVR/Arduino v1.0 by
anything with identifiers by RFID Tag iPod: No
RFID from credit RFID Reader thematthewknot
simonfrfr Spoofer by menus, no
cards to license with UART Code sketchsk3tch buttons by
plates by in C by nevdull XenonJohn
simonfrfr
http://www.instructables.com/id/Wiring-and-programming-the-Parallax-RFID-Serial-Ca/