HandySwipe portable magnetic card reader using PIC16F688
- Play with the MagTek reader
- Try out an efficient LCD interface for use with a PIC microprocessor
I got my reader for less than five bucks from All Electronics. All the parts combined are under $20.
Here’s a shot of the completed project:
For programming, I use the MCP-USB from Olimex. I got it from SparkFun, and I highly recommend their getting started document. It’s fully compatible with MPLAB, and I’ve never had problems with it. I cut a hole so I could just leave my programmer right in the its original box. Here it is with the 16F688 chip I used for this project.I’m using a MagTek brand TTL card reader, which has a pretty generic serial interface. The actual bits are sent using a typical data/clock pair, and there’s a “card present” line to let you know when to start paying attention. This diagram from the data sheet shows all three interface lines in action:
For more detail: HandySwipe portable magnetic card reader using PIC16F688
We recommend EasyEDA for electronic circuit design.
From Schematic to PCB Production, Just Need One Tool
Free Circuit Design Software: learn to use Editor quickly and easily
Cheapest PCB: 10pcs 2-layers 10cm×10cm only $8.21, 3-day build time, 100% E-test
Current Project / Post can also be found using:
- magnetic stripe reader pic micro