Square – sound to mag stripe reader…

Pt 2357
Square will allow phones to easily take credit cards, looks like a cool little sound to mag stripe hack/dongle. We’ll try and get one to take apart soon.

Filed under: random — by adafruit, posted December 1, 2009 at 4:29 pm


Try Adafruit's new iPhone & iPad app for makers! Circuit Playground! "Incredibly handy for anyone working in electronics. Perfect for engineers and non-engineers alike."
Looking for engineers, makers and the builders of dreams? Try our Adafruit job boards.
Join our weekly Adafruit SHOW-AND-TELL at 9:30pm ET every Saturday night! Then at 10pm, ASK-AN-ENGINEER with Ladyada and the Adafruit team!

6 Comments

  1. Are they expecting people to type their PIN into somebody else’s random phone?

    Comment by Ed Davies — December 1, 2009 @ 5:37 pm

  2. Just like you would with any merchant, you have to put trust in the person you’re giving your information out to. It’s exactly the same information you enter on adafruit.com, only this time in iPhone-form. Also, it’s not the 4 digit PIN, rather it’s the card number (16 digits, if I recall).

    Comment by Alexander Mills — December 1, 2009 @ 5:48 pm

  3. “We will try and get one to take apart soon.”

    Yay! I can not wait…

    (please delete the previous comment

    Comment by Alexander Mills — December 1, 2009 @ 5:51 pm

  4. Similar to this, which I found interesting: http://www.instructables.com/id/Magnetic_stripe_card_spoofer/

    Comment by peedekk — December 1, 2009 @ 7:00 pm

  5. @peedekk

    Thanks for posting that link! I’ve been wanting to do something like that for a long time. Now I can finally get back at Julia for… …just kidding!

    Comment by Alexander Mills — December 1, 2009 @ 8:08 pm

  6. I’m not sure you’re going to find much in there other than the mag stripe reader head itself. I built something like this back in the early 90′s by connecting a mag stripe reader head directly to the microphone input on a sound card. After recording a swipe I was able to see that the zero-crossings of the resulting wave form matched the magnetic pole reversals on the stripe well enough to read the data. I wrote a little program in C to decode the magnetic stripe data and display it. The only tricky bit was compensating for the fact that, no matter how hard you try, the end of the swipe is always faster than the beginning, so your bit times get shorter and shorter over the course of the swipe.

    If anyone’s wondering where I got the mag stripe data format specs, it was in an issue of Phrack magazine. God bless old-school hacker zines!

    Comment by Mike — December 2, 2009 @ 12:40 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool