Firstly, you will want to familiarize yourself with the ISO-7811 and ISO-7812 magnetic card standards.
Then you need to learn how to connect the minimum working example (MWE). Fortunately, readers are easy to read , and you can simply connect them directly to something like Arduino.
For at least one example, the format for bank cards:
% "ASCII string on track 1" ?; "ACSII string on track 2" ?; "ASCII line on track 3"?
This is just the serial stream that is provided, so the βpackagesβ will be different for different types of cards. Since this is just a reader, process all data read-only.
You can also find some existing code examples for extracting data from a map .
You can also find "blank" cards on SparkFun , but you will need to add some more money to customize the author . In addition, currently all types of cards for cards with magnetic cards have security functions, including universities, credit cards, etc. Therefore, parts of magnetic strips are difficult to read or read-only, etc.
If you plan to do something shadowy, these tools will not work, and rightly so.
If you plan to create your own security system for a laboratory or school, these cards are easily cloned and cracked by an intelligent person.
If you're just trying to learn a new topic, this tip will be helpful.
Hooray!