A small utility to handle reading and writing magnetic stripe cards over serial.
Find a file
2012-08-31 16:12:53 -04:00
.gitignore initial commit 2012-08-31 16:06:49 -04:00
COPYING initial commit 2012-08-31 16:06:49 -04:00
magstripe.py initial commit 2012-08-31 16:06:49 -04:00
README.md add note about writer I'm using 2012-08-31 16:12:53 -04:00

magstripe

A small utility to handle reading and writing magnetic stripe cards over serial. Tested with the SparkFun SEN-08634, but may work for other writers as well.

Prerequisites

Usage

Reading a card

  1. chmod 0666 /dev/ttyUSB0
  2. ./magstripe.py /dev/ttyUSB0

Writing to a card

  1. chmod 0666 /dev/ttyUSB0
  2. echo ";1234567890?" | ./magstripe.py -w /dev/ttyUSB0