you're reading...

RFID Smart Card Reader

This project was motivated only because I had a Basic Stamp 2px, RFID reader and Smart Card reader/writer sitting around doing nothing.  All these were from Parallax.  I used an old 16×4 serial LCD and a project box from RadioShack to make this reader a handheld device.

PBASIC source code is in the Attachments section at the bottom.  There is very little original code, I copied and pasted the examples for the RFID and Smart Card reader from Parallax then just basically polled the two devices to see if anything was coming in at the time.

Note that the Smart Card reader communicates via serial so if you unplug the card before the display says ‚Done!‘ the program will freeze.

This project uses 6 I/O pins on the Basic Stamp 2px.  The Smart Card reader uses 3 pins, one for card detect, serial data I/O and serial data clock.  The RFID reader uses two pins, card detect and serial data I/O.  The last pin is serial data for the LCD screen.  For the complete project I added a 5V regulator because I’m using a 9V battery to power the unit.  All devices are 5V so no more power issues there.

Using the sample code from Parallax as mentioned above, I commented out the DEBUG commands and replaced them with serial commands to the LCD.  The full explanation is in the video at the bottom.





Es gibt noch keine Kommentare.

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:


Du kommentierst mit Deinem WordPress.com-Konto. Abmelden /  Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden /  Ändern )


Verbinde mit %s

Member of The Internet Defense League




Legal Guide For Bloggers

Bloggers' Rights at EFF


Link Anonymizer

Independent Tests of Antiv-Virus Software

BSD Aktuell

Hacker News

Blog Stats

  • 295,378 hits



%d Bloggern gefällt das: