![]() ![]() When you start the program, you'll see a pair of "start" and "stop" buttons, a drop-down box to select the audio input device, a button to read a mono WAV file, and a button to clear the display. When you play it back, you should hear a short tone. To verify that you've made the proper connections, open a sound recording program, start recording on the microphone, and swipe the card. If you want, you can also connect the leads directly to the jack, with no filter, but beware: some of your cards may get erased, and there may be some noise in the signal coming from the read heads. I'm no electrical engineer, but you probably can and should use higher values for the capacitors. To avoid turning the read heads into electromagnets, I've included a high-pass filter in the circuit. ![]() There will be a potential difference of 3-5 volt between the sleeve and the ring, and also between the sleeve and the tip. One of the leads in each read head is connected to the jack's sleeve the other lead of track 1 is connected to the sleeve, and the other lead of track 2 is connected to the tip. The general idea is to connect the read heads for track 1 and 2 to the right and left channel in the microphone jack, respectively. Your computer must have a stereo microphone socket. You'll need the cheapest magstripe reader you can find, a couple of resistors and capacitors (minimum values in the diagram below), and a 3.5 mm microphone jack. You'll need to build some hardware to use this program. This program was written in C# on Visual Studio Community 2013, with the NAudio library. This program then listens on the microphone input, detects the pulses coming from the read heads, and decodes them to reveal the data stored in the magstripe card.įor more information on how it works and how that data is stored, read my blog post about magnetic stripe cards. The general idea is to have a set of magnetic read heads connected to the computer's sound card via the microphone socket. A program to decode a magnetic stripe card, receiving the raw data from the magnetic stripe via the sound card.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |