The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

May 24, 2012 AT 5:42 pm

NEW PRODUCT – Magstripe Reader – PS/2 Interface – 2 Tracks (1&2)

Window-197

NEW PRODUCT – Magstripe Reader – PS/2 Interface – 2 Tracks (1&2). Decode what’s hidden on your credit cards, or use it for an access system – this mag-stripe card reader can decode the two most common tracks used, #1 and #2! We like this small and easy to use mag-stripe reader for being so microcontroller-friendly. Instead of a USB port, it has a PS/2 interface and acts like a ‘keyboard’. In fact, its designed to be a ‘pass through’/'keyboard wedge’ device for point-of-sale terminals. What’s nice about PS/2 is that it uses a single connector for power and data, and uses two data pins. When a card is swiped, the raw data is decoded, parity-checked and spit out as if they were typed on a keyboard.

Window-1-114

There is one magnetic head but you can swipe in either direction and will emit data in the right order.

Nearly all microcontrollers have existing PS/2 keyboard examples that would work fine with this swiper.
For Ardiuno users, we tried out PJRC’s PS2_Keyboard library with great success – just check the ‘simple text’ example for which pins you can connect to on your ‘duino (on an Uno we used digital pins 2 and 3). We suggest our PS/2 adapter cable to make the wiring easy. Swipe any magnetic card and you’ll see the data appear in the serial terminal!

This reader will read and decode the first two tracks of standard magnetic-stripe cards. It cannot write to cards, and cannot be modified to write to cards. We also have a three-track reader which is more expensive but reads all the tracks. Wikipedia has a great article on magnetic stripe cards which will help you determine if you need a three-track reader or if a two-track reader is good enough.

  • 29mm (1.6″) wide
  • 90.5mm (3.56″) long
  • 26.4mm (1.04″) tall
  • 196cm (77″) cable

In stock and shipping.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.