Stripe Snoop – Decoding the Magnet Strips (Source Code Included)

I wrote a program after all. After looking through a couple of cards, I realized that it might take forever to decode them by hand. I spent a few hours writing four programs in C++. I’ve only tried these in Windows, but I’m sure that they can also be compiled nicely in Linux.

I am going to try my best to explain this. You’ll need to download the zipped files here–>StripeSnoopDecoder.zip

I used Dev-C++ to compile mine. Either that for Windows (or any other compiler) or g++ (or the like) for Linux.

I keep my Omron reader head in the top position (track 3). Most cards that I have do not use track three, so I must use a shim to get to track one. The shim is about 0.265″.  To read track two I use a 0.135″ shim. Track three just slides through as normal. You also need to make sure that you slide your card through the reader in the correct direction. My program will not work backwards.

  • Step 1: Swipe the card using Stripe Snoop’s raw mode. Now look for the first ’1′. If the first 5 bits are ’11010′, use the 5-bit ascii file folder. (Most of my first tracks were five bits, but if you have ’1010001′ you’ll need to use the 7-bit ascii file folder.) Most of the cards that I have swiped used odd-parity ascii with either five or seven bits. Five bits are usually used for numbers only while seven bits contain messages. With a little practice you’ll be able to figure out which one it is, and you’ll also be able to use this to know if your data is legit.
    Stripe Snoop screen shot (simulated of course)  Continue reading

Stripe Snoop – Make Magazine Vol. 1 Pages 106 – 117

The Stripe Snoop project was the first electronics project that I attempted in 2008. This is the project that propelled me into wanting to do electronics for a living.

Since it has been over three years and closer to four, I am not showing the steps to make this. The second reason is that Make published a good tutorial by Billy Hoffman on how to construct this exciting project. This is another online tutorial using an octal buffer. What I will show is what mine looks like and a few things that I didn’t know “back then”.


The first item up for bid: I didn’t know what an octal buffer did. The octal buffer that the project called for was the 74LS541. The main objective of the buffer is to ensure that there is enough power to signal the parallel port of the computer, to keep anything crazy from going through to the parallel port, and to ensure that the card swiper is not heavily loaded.

I also didn’t know that it doesn’t matter which pins you use as long as your input and output are on the same “line”. Input to A1 is output on Y1 (A2 to Y2, and so on). I didn’t know that since I was new to the hobby. Order really didn’t matter. I know that now. Any hex or octal buffer would have worked as long as it was non-inverting.

Now, here’s the fun stuff. Last night (9-27-2011), I decided to go to my junk bin and pull out my card reader. It was dusty from being near my CNC router. Before that I kept chicks (peep peep) in there. I’ll never keep chickens in my hobby shed again! Continue reading

Ruby Amp (LM386-3) Circuit Power Consumption Test

I had to try it. I hooked up my variable power supply to the voltage connector of one of my amps that is soon to be for sale. I was wondering what the current consumption would be for those of us that like 9 volt batteries.

To start off, 9 volt batteries do not function well below 7 volts. Without getting into the engineering aspect, the battery just can’t deliver enough current at this point. The LM386 will work at 5 volts, but once a 9 volt battery gets that low, its voltage sags dramatically. If you don’t believe me, do a Google search on the internal resistance of batteries. :) Continue reading

I joined a few sites today: Cigarboxnation.com and Pcbgcode.org

Cigarboxnation.com is a place for people to get plans and share their cigar box creations with other makers. I went there to get some new ideas for my cigar box amps, and I decided to join and share my experiences.

Pcbgcode.org has a good forum that can help you with PCB-GCODE issues. The program is used in conjunction with Eagle cad to produce files to create circuit boards and other great CNC things. I can’t really speak with authority about it all because I am still learning. As noted in my “Preparing for CNC delivery” page, I haven’t received my micRo CNC router yet, but I’m learning as much as I can in the waiting process.

I’m not a paid affiliate of any sites mentioned ever in my blogs. I only mention sites that I think can help my readers get more out of their hobby.

Adding a power supply to a Cigar Box Amp (REVISED)

This is the first installment of adding a power supply jack to a cigar box amp.

After a little research I’ve discovered that most effects pedals have a negative tip configuration. Diagram Negative TipThe first few cigar box amps that I built and sold with a power supply jack were positive tip. I’ve found that a positive tipped power supply is much harder to come across.
Continue reading