Magnetic Stripe Reader
Read this article in MAKE:
01: Make Premiere, Page 106.
To get MAKE, subscribe or purchase single volumes.
Have you ever wondered what information is stored on the magnetic-striped cards in your wallet? Now you can find out. This project shows you how to make a magstripe reader for less than $40.
Source List
I've listed links below for sources for obtaining most of the materials and tools you might not find at your local hardware store. For a full materials list, see page 109 of MAKE Volume 01.
Card Reader
| Item | Description |
| TTL Magstripe reader | I recommend the Omron V3A family, specifically the V3A-4, which you can purchase online for $20-25 dollars, from Digikey and others. TTL readers as a whole aren't very hard to find: you can get them for less than $5 a piece from BGMicro . We will be using the Omron V3A-4 because of its quality and potential for modification. |
| DB-15 Male Connector | This is a joystick connector. Make sure you don't get a DB-15HD, which is a VGA connector. You won't find these in your local Radioshack so you'll need to order part #15034 online at www.jameco.com which will set you back about $0.55. |
| Cat 5 cable< | You can buy this by the foot from Home Depot or Lowe's for around $5 total, or just use some you have lying around. Speaker cable could also be used, but you will need an additional 8 to 10 feet of it. |
| Jumper Wire Kit (optional) | Sometimes it's difficult to solder the Cat 5 wires directly to the pins of the DB-15 connector or the TTL Reader. For less experienced people, I recommend soldering wires first to the connector and then to the reader before finally connecting them to the Cat 5. Radioshack has a good kit, and it'll cost you around $6. The kit is a necessity if you have to make a parallel port adapter. |
| Soldering Iron and Solder | Any light duty soldering iron and solder will work. I got mine years ago at Radioshack. |
Port Adapter
| Item | Description |
| Project box. | Radioshack has one that's just what you want. Its a good size and comes with a small PC board and mounting screws. |
| Jumper Wire Kit | If you didn't buy one for the first part of the project, you'll need one now. Get it from Radioshack. |
| DB-15 Female Connector | Available online at jameco.com if you look for part # 15051. |
| DB-25 Male Connector | Part # 15114 at jamecom.com. |
| 7805 Regulator | Can be found at mouser.com or Digikey. |
| Capacitors | Can be found at mouser.com or Digikey. Should be rated for over 10V. The exact value of the capacitors doesn't matter. I used 10uF. |
| 1K ohm Resistor | Can be found at mouser.com or Digikey. |
| Dremel Tool | Try online at Home Depot or Amazon. |
Extras
Additional content for this article, available only online.
Adding Multi-Track Capability to Your Magnetic Stripe Reader
I paid $30 for a Omron V3A-4, which is a single-track reader. But you can modify it to read all three standard magstripe tracks, for free!
by Billy Hoffman;
April 25, 2005 | Technorati | del.icio.us
Links
- Online Instructions
Here's how to make this without purchasing the magazine (please note: the magazine gives better instructions and is easier to understand). - SWIPE Toolkit project
This project deals with the information kept in Driver License barcodes and how it relates to privacy and data commerce. Should be interesting for magnetic strip enthusiasts out there... find out how much your data's worth! - Strip Snoop
Stripe Snoop is a suite of research tools that captures, modifies, validates, generates, analyzes, and shares data from magstripe cards.
Errata for this article
Correction for page 109
Two items in the Set Up photo are mislabeled. The item labeled [R] under the item labeled [P] should be labeled [S]. Likewise, the item labeled [S] should be labeled [T].
MAKE: Noise — Discuss this article
You must be logged in to post a talkback.[ Display main threads only] [ Oldest First]
Showing messages 1 through 53 of 53.
- Databases?
You must be logged in to reply.
90% of the cards I swipe come up with "No match in Database" so does anybody know where I can get more databases for stripe snoop? or am I doing something wrong alltogether? So far I've never gotten a name and that 10% that does come up is "Possibly a Visa Credit Card" with not much info.Posted by Gskellig on August 24, 2006 at 23:01:01 Pacific Time
- Databases?
You must be logged in to reply.
Build you own standalone magnetic card readers, everything you need for just $500.-
Features:
- Based on Microchip 16F628
- Track 1 and Track 2
- Bi-Directional readings
- 256kb eeprom storage, it is also possible to address an additional 256kb ic in order to expand its storage
- Good and Bad swipe bicolor led indicator
- It only stores good swipes
- Battery powered, it may be powered with as low as 3v round lithium battery.
- RS-232 asynchronous serial communication
- No software required, will work with any terminal software like hyperterminal, securecrt, etc.
- Features a sixteen easy to use commmand set
- Standalone
- Standby function, when not in use, unit goes into standby in order to save battery power
- Works with any TTL reader
You will receive:
- Electric schematic
- Command set description
- Binary file to program the microcontroller
eMail: sas (at) noend (dot) comPosted by noend on January 19, 2008 at 02:00:00 Pacific Time
- Databases?
You must be logged in to reply.
Build you own standalone magnetic card readers, everything you need for just $500.-
Features:
- Based on Microchip 16F628
- Track 1 and Track 2
- Bi-Directional readings
- 256kb eeprom storage, it is also possible to address an additional 256kb ic in order to expand its storage
- Good and Bad swipe bicolor led indicator
- It only stores good swipes
- Battery powered, it may be powered with as low as 3v round lithium battery.
- RS-232 asynchronous serial communication
- No software required, will work with any terminal software like hyperterminal, securecrt, etc.
- Features a sixteen easy to use commmand set
- Standalone
- Standby function, when not in use, unit goes into standby in order to save battery power
- Works with any TTL reader
You will receive:
- Electric schematic
- Command set description
- Binary file to program the microcontroller
eMail: sas@noend.comPosted by noend on January 19, 2008 at 01:59:26 Pacific Time
- Magstripe Reader
You must be logged in to reply.
I've came across Volume 01 in my local library. Trying to get this Magstripe reader working (a very cool project!). I am confused about the wiring on the DB-15 F connector for the parallel port adapter. What is the purpose of the connection of pin 10 of this connector and pin 3 of the 74541 octal buffer which has no corresponding connection with the magstripe reader or the parallel port (ref schematic p115 and Omron V3A-4 connections to DB15-F connector p112).
Looking forward to your response.
DBPosted by dbeebd on August 02, 2006 at 09:42:23 Pacific Time
- BG Micro magstrip reader
You must be logged in to reply.
I just recieved my magstrip reader from bg micro today, and i foubd the updated wire configuration at http://www.ocf.berkeley.edu/~fricke/magstripe.html have fun!Posted by VSG1990 on September 06, 2005 at 12:36:14 Pacific Time
- Remote card-reading
You must be logged in to reply.
I would like to learn about remote card-readers like the ones they use at hi-tech doors. can anyone help?Posted by Yony on September 03, 2005 at 04:09:06 Pacific Time
- Remote card-reading
You must be logged in to reply.
I would like to learn about remote card-readers like the ones they use at hi-tech doors. can anyone help?Posted by lublub on November 11, 2005 at 09:37:39 Pacific Time
- Remote card-reading
You must be logged in to reply.
They are known as Proximity Cards. See http://en.wikipedia.org/wiki/Proximity_cardPosted by Shadyman on March 09, 2007 at 18:22:51 Pacific Time
- Octal buffer 74541 pin 3 connection
You must be logged in to reply.
DB-15 F pin 10 connects to pin 3 on the
octal buffer, but on the connector
DB-15 to the Omron card reader there is
no connection to pin 10. Is this pin
suppose to be floating?Posted by daug on July 10, 2005 at 22:15:21 Pacific Time
- B.G. Micro related...
You must be logged in to reply.
I bought the Magtek from B.G.Micro.
Can anyone help me with the wireout on it? From another post I see that
Red -> Vcc
Black -> GRD
Blue -> DATA
Green -> CLOCK
However this is not coresponding to the information in issue one. What is Vcc?
There is also a 5th wire coming out of the reader, I believe it is brown.
Could anyone give me the exact wiring for this relating to the pins on the DB-15 or the cat 5 wiring?
I am a little slow, lol.
Any help would be appreciated.Posted by Zug on June 21, 2005 at 21:36:31 Pacific Time
- Possible?
You must be logged in to reply.
How would I go about making this a portable version that stores the information.Posted by reldapimp on June 14, 2005 at 21:30:05 Pacific Time
- Possible?
You must be logged in to reply.
Well, you could always hook it up to a laptop...
If you haven't got one handy, you may want to consider the Basic Stamp, or another microcontroller. A Basic Stamp II, programming software, manual, and some assorted parts are available as a package deal at most RadioShacks for $79.
Posted by abend on November 11, 2005 at 13:14:35 Pacific Time
- Possible?
You must be logged in to reply.
That Basic Stamp II kit at RadioShack does not include an actuall Basic Stamp in it, it has a board in it that has the Basic Stamp integrated called the "Homework Board". It's a lousy waste of $79 because after you get done doing all the (lame) projects that come with it you are stuck with a board that is:
(a) not good for programming an actual basic stamp
(b) not good for anything elsePosted by freedomdumlao on June 15, 2006 at 19:24:19 Pacific Time
- Parallel port adapter with hex buffer
You must be logged in to reply.
The store I went to did not have any octal buffers (74541) so I went with the hex buffer (74367) instead. I have wired it up as follows:
pin 1 = GND
pin 2 = DB15 pin 14
pin 3 = DB25 pin 11
pin 4 = DB15 pin 10
pin 5 = DB25 pin 10
pin 6 = DB15 pin 7
pin 7 = DB25 pin 12
pin 8 = GND
pin 9 = DB15 pin 2
pin 10 = DB25 pin 13
pins 11-14 are unused
pin 15 = GND
pin 16 = +5V
The card reader works when plugged into the game port, but when I use the parallel port adapter, stripe snoop does not detect anything. Did I wire the buffer correctly? Is there anything I need to configure in the stripe snoop software? Thanks in advance.Posted by tjanssen on May 24, 2005 at 14:30:53 Pacific Time
- Parallel port adapter with hex buffer
You must be logged in to reply.
I did wire the chip incorrectly. Pins 9 and 10 should be reversed:
pin 9 = DB25 pin 13
pin 10 = DB15 pin 2
Also I was using an older version of StripeSnoop. Version 1.5 does not have support for the parallel port. Version 1.6-alpha does.Posted by tjanssen on May 25, 2005 at 07:51:03 Pacific Time
- Magteck PS/2 port
You must be logged in to reply.
I have a magtek magstripe reader that is already setup for a ps/2 port. Can I just make and adapter or do I need to rewire the hole thing as stated in the mag.Posted by Zachishi on May 17, 2005 at 13:04:17 Pacific Time
- Magteck PS/2 port
You must be logged in to reply.
Did you figure it out? Coz i got something similar. Please let me know. ThanksPosted by Shah0520 on August 02, 2005 at 18:30:38 Pacific Time
- Magteck PS/2 port
You must be logged in to reply.
Since I don't know for certain what you have, this is a guess. If it bakes your computer, that's your hard luck.
Chances are that if your reader came with a ps/2 connector, it's a "keyboard wedge" reader. That means it emulates a keyboard, so you plug it into a computer in place of the keyboard. When you swipe a card through it, it will "type" the characters into whatever application has focus at the moment. If you open notepad and then swipe the card, the characters will be typed into notepad.
Posted by abend on November 11, 2005 at 13:10:10 Pacific Time
- Cola Machine
You must be logged in to reply.
After the article there was a small section where he said he fused the reader into a pop machine, i was wonderig if anyone knew or had instructions on how to do this. E-mail me at 08batesk@fairgrove.k12.mo.us
ThanksPosted by disket111 on May 09, 2005 at 10:57:49 Pacific Time
- B.G. Micro Data and Clock
You must be logged in to reply.
I bought my card reader from B.G. Micro. On the info page, B.G. says it is a Magtek 21045002. But the cable colors of my card reader doesn't match what is on Magtek's 21045002 data sheet. Anyone know which colors to use for Data and Clock for the B.G. reader?Posted by kingMu on May 06, 2005 at 00:35:02 Pacific Time
- B.G. Micro Data and Clock
You must be logged in to reply.
Red -> Vcc
Black -> GRD
Blue -> DATA
Green -> CLOCKPosted by kingMu on May 06, 2005 at 18:48:05 Pacific Time
- What about writing to a magnetic card?
You must be logged in to reply.
Does anyone know of a good,cheap magnetic card writer?Posted by technewbie on April 23, 2005 at 21:39:43 Pacific Time
- What about writing to a magnetic card?
You must be logged in to reply.
How to activate the reader to read and write? What's specific string of control characters?Posted by mknchang on August 03, 2005 at 04:36:33 Pacific Time
- What about writing to a magnetic card?
You must be logged in to reply.
Posted by hahahah on July 10, 2006 at 11:27:44 Pacific Time
- What about writing to a magnetic card?
You must be logged in to reply.
an inexpensive diy writer would be greatPosted by GSingh on May 25, 2005 at 16:16:48 Pacific Time
- What about writing to a magnetic card?
You must be logged in to reply.
I'm working on a cheap, DIY writer. The heart of the device is a portable casette recorder modified so that I can drive the magnetic head directly.
The design has a lot of shortcomings, such as the fact that I have to pull the tape out of the casette and tape it to a blank card.
I'll probably be testing it this weekend (11/12-13).Posted by abend on November 11, 2005 at 13:21:07 Pacific Time
- Another option for the octal buffer
You must be logged in to reply.
The 74HCT541 is also a equivalent Octal buffer/line driver.Posted by alphahec on April 22, 2005 at 21:03:20 Pacific Time
- Finally the Octal buffer/line driver
You must be logged in to reply.
The 74541 Octal buffer/line driver is the equivalent to SN74LS541N or TI 74LS541.Posted by alphahec on April 22, 2005 at 20:29:01 Pacific Time
- Octal Buffer again...
You must be logged in to reply.
I have assembled the entire project except for the installation of the octal buffer. I had what I thought was the right chip (from digi-key) and at the last minute found out it didn't fit. Is there a place online or a big electronics chain that would carry these parts?
ThanksPosted by JTread on April 19, 2005 at 22:20:38 Pacific Time
- Another Octal Buffer Question
You must be logged in to reply.
Is the Octal Buffer line driver referred to in this project equilvalent to a 74LS541? If so does the LS have significance?Posted by Fatboy on April 17, 2005 at 13:54:51 Pacific Time
- Another Octal Buffer Question
You must be logged in to reply.
the "LS" is for low speedPosted by superchuckles on June 16, 2006 at 19:29:29 Pacific Time
- Octal buffer/line driver
You must be logged in to reply.
I am having trouble finding the Octal burrer/line driver #74541 part L.
Anyone know where I can get this?
thxPosted by mattadata on April 09, 2005 at 08:52:29 Pacific Time
- USB?
You must be logged in to reply.
Is there a way of getting this project to work with USB? I guess the alternative is to simply pay more in the first place to get a USB mag card reader.
A USB driver for it could be an issue though. Perhaps the generic mass storage driver built-in to Mac OS X could be used? I understand the latter would be 'an exercise for the reader', but I'm happy to give it a go.Posted by Struan on March 28, 2005 at 10:16:40 Pacific Time
- USB?
You must be logged in to reply.
I have a bunch of USB card readers looking for a home.
AJ (ajvz@sbcglobal.net)Posted by gouwzee on April 01, 2005 at 13:10:52 Pacific Time
- USB?
You must be logged in to reply.
want to buy card readerPosted by toocurious on April 23, 2007 at 22:30:48 Pacific Time
- magnetic card reader
You must be logged in to reply.
need help to read magnetic cardsPosted by toocurious on April 23, 2007 at 22:29:21 Pacific Time
- magnetic card reader
You must be logged in to reply.
new to this but want to learn how to read the information off a magnetic card.any help?Posted by toocurious on April 23, 2007 at 22:28:42 Pacific Time
- magnetic card reader
You must be logged in to reply.
new to this but want to learn how to read the information off a magnetic card.any help?Posted by toocurious on April 23, 2007 at 22:28:00 Pacific Time
- USB?
You must be logged in to reply.
I would like some info about those card readers. Can you email me about them at 08batesk@fairgrove.k12.mo.us
ThanksPosted by disket111 on May 09, 2005 at 10:52:23 Pacific Time
- USB?
You must be logged in to reply.
Hi,
Did you shift those USB readers?Posted by TurboTas on April 17, 2005 at 10:40:00 Pacific Time
- Magstripe reader
You must be logged in to reply.
Since I'm cheep and dont want to spend money for a "real" magstripe reader, I pose this question.
Could you use a tape head from an old Walkman as the magstripe reader?Posted by mattwebster77 on March 08, 2005 at 09:55:54 Pacific Time
- Magstripe reader
You must be logged in to reply.
howPosted by dearborn on November 26, 2005 at 16:05:06 Pacific Time
- Magstripe reader
You must be logged in to reply.
hi dear,
i want a full datasheet of magnetic strip reader head wiht its operating conditionPosted by shet4u on June 16, 2005 at 05:10:13 Pacific Time
- Where do you get components?
You must be logged in to reply.
Hey everybody. Firstly, I have to say, "WOW!" Great job with issue 01! Secondly, I'd like to know where people go to get components for their electronic projects. I haven't been doing stuff like this for quite a while (since I was a kid), and I don't know where to get components anymore, other than at a Radio Shack. When I was a kid in the 80's there used to be this electronics store named Manfred's or something like that, in Queens, NYC. You could walk in and say "I need some NPN transistors and an IC with NAND gates" The guy would go into the back and pull out a bunch of packs and ask you what you needed it for and then recommend the right ones. You could get anything there, and they seemed to be always fully stocked. Anyhow, I was actually looking for an SCR today and I went to 3 Radio Shacks, and none had any in stock. I suppose I could mail order one, but it seems silly to pay $5 shipping for a $.69 item.
So, I'm curious where all of you go to get parts, especially in the NYC area. I look forward to hearing any comments on this.Posted by henryXchung on March 05, 2005 at 14:19:02 Pacific Time
You must be logged in to reply.
Build your own Portable Standalone Magnetic Card Reader;
Features:
* Fully standalone
* Track 1 & 2
* Bi-directional readings
* RS-232, 3 wire, 2400bps
* Visual Good/Bad swipe indicator
* Stores only good swipes
* 256KB (512KB optional)
* Fully tested under Windows 95/98/2000/XP and Linux !
* Includes the Smallest Reader ever seen, dimensions are:
Length: 1.693" (43mm)
Height: 0.902" (22.9mm)
Height: 0.902" (22.9mm)
You will get the PCB (everything soldered), download cable schematics, PC software and the smallest reader as described above for only $125 (United State Dollars) plus shipping.
E-mail to sas [AT] noend [DOT] com for payment information.
>>>The full source code and schematics are also available for sell<<<Posted by noend on January 27, 2007 at 17:15:14 Pacific Time
- Where do you get components?
You must be logged in to reply.
http://www.elexp.com/
Electronics Express based in NJ has an excellent selection. I've ordered from them numerous times and the people seem very knowledgeable (sic). I'm in Houston, and the most time I've ever waited for a package is 3 days, so I'll bet that NYC would take 1-2 in shipping (or 0 if you stop by)Posted by cyomega on June 19, 2005 at 06:13:37 Pacific Time
- this is one...
You must be logged in to reply.
Of the many reasons I jumped on board and got a subscription. I love shit like this! You can't imagine how thrilled I was to see the mag in my mailbox. I carry it around in my backpack for spare reading in traffic and such.
Awesome job O'Reilly!Posted by m3talsmith on February 17, 2005 at 13:33:59 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
Are there any instructuions on how to put together?
ThanksPosted by GoCoastal on February 11, 2005 at 08:16:23 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
Hi -
Yes, this is one of the major projects in the premiere issue of MAKE, and there are 12 pages of details on how to make and use the reader. It takes about 2 hours and $40 worth of parts to build it.
-t
Posted by terrie on February 11, 2005 at 09:16:24 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
Posted by shtorm21 on March 20, 2005 at 12:26:52 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
Obligatory question - "Will it work with Linux?"
(I'm sure I'll find out when I recieve my copy of the first issue in the mail, but figured I'd post the question anyway...)
Posted by Epicanis on February 17, 2005 at 15:51:30 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
Hiya -
The software recommended in the article is Stripe Snoop, for both Linux and Windows.
I'll add the link with the article info above.
Regards,
tPosted by terrie on February 18, 2005 at 09:21:39 Pacific Time
- Magnetic Stripe Reader
You must be logged in to reply.
hey can this reader also be able to writePosted by cuba8120 on July 06, 2006 at 18:05:31 Pacific Time
|
Showing messages 1 through 53 of 53. |
Join the conversation -- every MAKE article has an online page that includes a place for discussion. We've made these RSS and Atom feeds to help you watch the discussions: subscribe.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Explore More in Make Magazine
Search the pages of MAKE
Raves for MAKE!
“Now we've got geek DIY (do it yourself) porn. Just as would-be Emerils pore over lushly illustrated cookbooks with recipes involving hard-to-find morels and complicated instructions for roux, Tom Swift wanna-bes are devouring MAKE.”
— Steven Levy, Newsweek
“...O'Reilly Media recently launched what has already become the bible of this new movement, a magazine called MAKE.”
— Daniel Roth, FORTUNE
“If you're the type who views the warnings not to pry open your computer as more a challenge than admonition, MAKE is for you.”
— Rolling Stone
“One of the most innovative magazines I've seen in a long time.”
— Steve Riggio, CEO Barnes & Noble
“The kind of magazine that would impress MacGyver”
— Marcus Chan, San Francisco Chronicle
|
|


