RFID Reader
An RFID reader module that reads tags and sends the ID as a 9600-8N1 serial stream.
Hardware
|
|
- Available from Sparkfun Electronics 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
View the library
--API SUMMARY IMPORT-- RFID::RFID(int tx, int rx); int RFID::readable(void); int RFID::read(void);
Hello World!
|
|
| Schematic | Photo |
#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);
}
}
| RFID.bin |
| Source Code | Binary |
Resources
Datasheets
PCB Library and Footprint
The Eagle PCB repsitory can be found at the Eagle page.
The Library for the MobileLCD is
