See also
http://falcon.arts.cornell.edu/~dnegro/cardreader.html
http://www.hut.fi/Misc/Electronics/smartcards.html#magneticcard