RFID Reader
An RFID reader module that reads tags and sends the ID as a 9600-8N1 serial stream.
Hardware¶
![]() | ![]() |
- Available from Sparkfun Electronics http://www.sparkfun.com/commerce/product_info.php?products_id=8419 RFID-12 Reader
Software¶
Right-click the project to import to, select "Import Library..." and use the following details:
- Library SVN URL: http://mbed.co.uk/projects/cookbook/svn/RFID/trunk
- Library Name: RFID
--API SUMMARY IMPORT-- RFID::RFID(int tx, int rx); int RFID::readable(void); int RFID::read(void);
Hello World!¶
![]() | ![]() |
| Schematic | Photo |
Example
#include "mbed.h"
#include "RFID.h"
RFID rfid (p13,p14);
Serial pc (USBTX,USBRX);
int main() {
while (1){
int id = rfid.read();
pc.printf("Tag ID = %d\n\r",id);
}
}
Resources¶
Datasheets¶
- [http://www.sparkfun.com/datasheets/Sensors/ID-12-Datasheet.pdf RFID-12 Data sheet]
PCB Library and Footprint¶
The Eagle PCB repsitory can be found at the Eagle page.
The Library for the MobileLCD is



