MSR Configure (MSRCfg.exe). MSR Software Consists of 4 Separate Programs - MSR Setup: Used to Configure MSR Data Loggers - MSR Reader: Download Data from Logger to PC - MSR Online: View Data On-screen and Save Data to PC - MSR Viewer: Data Viewed on PC in Graph or Table Format. MSRX6 Smallest Magnetic Card Reader&Writer MSRX6 Magnetic Strip Card Reader is the world's only magnetic stripe card writer without power adapter. It is powered by USB.The communcation with computer and the power supply are both done via one USB cord.This smart design enables it to be smaller and lighter than common MSR.
MSR605 Card Reader python interface and GUI
Edited: 25 August 2017Author: Manwinder SidhuContact: [email protected]Platform: WindowsPython: 3.5.2 (I originally wrote this in 2.7 but I think I had issues with Tkinter)
Legal Documentation: LICENSE (file) and also in some of the classes
Libraries Required
PySerial for communication between the PC and MSR605 (https://github.com/pyserial/pyserial)
Tkinter for the GUI
Hardware Description
The MSR605 is a card reader/writer, its writes to the standard magstripe cardsthat most people are used to using (Credit Cards, Debit Cards, pretty much anycard with a colored stripe on the back, its usually black). I purchased mineon ebay. I choose to buy this card reader because it had good documentationonline
Project Description
So there are a few MSR605 projects online and there is a great programmer manualfor the device (https://www.triades.net/downloads/MSR605%20Programmer's%20Manual.pdf).The only reason I actually created this project was because my parents wanted a pointscard at their business and I didn't want them to spend a large amount of money on it. Idid successfully create the application and it has been working great for a few years now.I started this project in April 2015 and had thought it was ready to go but it had a few bugsand I left for work in May 2015 and wasn't able to access the device. I finished it in lateAugust 2015 and thought I'd throw it on github cause the MSR605 projects I seen didn't have aGUI included with them. A nice GUI comes with the MSR605 device I got but all it does isread, write and erase cards.
So the files you guys will have will read, write and erase cards. There are also some otherthings it can do such as diagnostic tests on the device as well as lighting up the LED's. Thecards can be stored in a database, I added this functionality cause I assumed anybody using thisproject would most likely want to store their cards.
You can take the backend and use it to build your own GUI, you can take what I have and modify it.
Just as an example for a points card, you could generate one or all of the tracks randomly, storethose values in the database, hash and salt the generated values and put those generated values onthe tracks (most magstripe cards have 3 tracks).
The Magstripe card tracks have an ISO Standard that you can follow if you want too. I have included aisoStandardDictionary class that contains a dictionary with all the allowed characters for each of thetracks.
I haven't implemented all the functionality that is in the programmers manual, such as raw read and rawwrite. I did not implement this because I was able to cover all the core functionality I needed and thoughtothers would need. If you desire this functionality I can add it but it should not be too hard to implementyourself after reading the programmers manual
File Description
GUI.py - the graphical interface that allows you to control the MSR605
MSR605Test.py - this tests the devices different functions, it's pretty much tests all the functions thatthe device can perform
cardReader.py - the interface between python and the MSR605, this class sends the command over serial andreturns any info requested
isoStandardDictionary.py - contains 2 dictionaries (track 2 and 3 have the same standard for what charactersare allowed) and a function that tells you if a character is valid for a given track
cardReaderExceptions.py - The MSR605 provides feed back in the case errors arise, this information can be usefuland this class contains exceptions for each of the functions the MSR605 can preform
BugsComments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |