10
\$\begingroup\$

I want to work on a project where you could replace a magstripe with another item which can change the data stored on it via a PIC but still be read by a magstripe reader. This means that the PIC could 'write' another value to the different tracks on a magstripe to replicate different cards. So what method could be used to do this? Would a magstripe be used?

\$\endgroup\$

3 Answers 3

4
\$\begingroup\$

The basic hardware behind magstripes is really the same as a tape recorder. It is divided into several tracks, and has a strobe track to sync everything up. You can buy the reader hardware, and I am aware of variants that are designed for writing. Check digikey. Make sure the reader/writer hardware you buy can read/write the track you intend.

\$\endgroup\$
8
  • \$\begingroup\$ I'm looking for more of the physics of it. For instance, if I wanted to manually create a record, how would I do it? Would I create a voltage across a section of the tape? How much voltage? \$\endgroup\$
    – Seidleroni
    Nov 29, 2009 at 22:28
  • 1
    \$\begingroup\$ A coil is positioned very near the tape, to write a 1, the coil is energized and it magnetizes that spot on the tape. Reading is conducted similarly, the magnetized place on the tape induces a small current in the read head. \$\endgroup\$ Nov 29, 2009 at 23:02
  • \$\begingroup\$ Could the magstripe be "simulated" by having metal strips with a small amount of voltage applied to them for the duration that they're read? Each strip would represent a "bit" for instance. \$\endgroup\$
    – Seidleroni
    Nov 29, 2009 at 23:30
  • 2
    \$\begingroup\$ @wackyvorlon: where are you getting your information? I'm pretty sure (but cannot find references online) that bits are encoded on magnetic strips using Manchester encoding, and NOT static levels, so that it is possible to use clock recovery techniques. I am also pretty sure that there are not several tracks and a strobe, but rather a single track. In any case it's useless to hypothesize unless someone can find a reputable source of information. \$\endgroup\$
    – Jason S
    Nov 29, 2009 at 23:31
  • 2
    \$\begingroup\$ hmm... found this: it appears you may be correct. epanorama.net/documents/smartcard/magcard.html \$\endgroup\$
    – Jason S
    Nov 29, 2009 at 23:33
3
\$\begingroup\$

I remember watching a presentation by Acidus on his Stripe Snoop project... but I can't remember which con it was at. He had various types of readers, but he had one constructed out of an old cassette tape head. The head was manually moved to read the multiple tracks on the card. I know this is not quite the answer you are looking for, but it may help point you in the right direction! Here are some links to DIY mag card reading, software and hardware:

http://stripesnoop.sourceforge.net/hardware/hardware.html

\$\endgroup\$
2
0
\$\begingroup\$

Sounds like you want to build a device like John Connor's ATM card/Atari Portfolio hack from the start of Terminator 2. Try googling mag stripe card spoofer.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.