3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino Magstripe Emulator

Arduino Magstripe Emulator
This is a simple magnetic stripe emulator.  Basically you can stick this into a magnetic card reader and emulate any stripe data you'd like.

 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

Parts
Thin piece of ferrous metal (about 1" x 4")

Spool of enamel-covered solid-conductor copper wire (you can get this in a set at Radio Shack)

Electrical Tape

Arduino
« Previous StepDownload PDFView All StepsNext Step »
13 comments
Jul 21, 2011. 3:59 PMPooloop says:
Can I use a Arduino Pro Mini?
Mar 9, 2011. 12:02 PMquigath says:
Your code download link is messed up, it downloads as "FGD08X4GCJ0ZRF1.tmp", which I can rename to spoofMagstripe.pde but it was a bit confusing at first.
Mar 2, 2011. 11:50 AMivankin says:
Works perfectly!!
Anybody knows how to emulate the card's first track.
I read theory about and I don't know what seems to be the problem.
The second track works just fine, but first one is not.

I change start sentinel, I encode symbols in 7-bit instead of 5-bit for 2nd track, I add LRC byte at the end. I even tried to play much with the delay time between bytes - nothing works.

Any ideas? Anybody did it?
Any help wanted..
Best wishes!
Aug 24, 2010. 7:52 PMpurduecer says:
If it was indeed "part of the inspiration for this one", please cite the original post in your writeup. Failure to do so violates the attribution clause in the NCSA license on the original material.
Aug 13, 2010. 10:19 PMScavengerHack says:
All you need is one diode to fix the voltage spike. Google for snubber diode. http://en.wikipedia.org/wiki/Flyback_diode
Aug 13, 2010. 10:30 AMrdm_box says:
The 'buzzing' ohm meter is called a continuity tester. :)!
Aug 12, 2010. 10:26 PMfrollard says:
You want to be REALLY careful driving an electromagnet directly from data pins. They aren't designed to handle the current, or the collapsing current kick back after the magnet shuts off. You can quickly be out a few pins with a setup like this.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
8
Followers
5
Author:sketchsk3tch