Skip to content

jmwanderer/emv.arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMV Arduino

Example code for reading credit cards

C++ code to drive a PN532 RFID reader connected on the SPI bus to dump information from tap to pay credit cards and payment apps.

Caveats

Be aware that some of the information read from credit cards is sensitive and should be kept private. It may not be obvious when looking at it, so use caution in sharing any information read from cards or apps.

Also be aware that this code isn't tested for safety. It only dumps information and does not try to initiate a transaction. However it has only been run against a few cards, and there is not garuntee that it couldn't leave a card in a bad state without possible recovery.

Required Libraries

This app needs two libraries:

Platform IO

The code is developed with Platform IO, and you will likely only need to select the correct board type to get it to work.

Arduino IDE

Even though the repo is in a format for Platform IO, it is simple to get this working under the Arduino IDE:

  • Copy the three files in src to a directory emv
  • Rename main.cpp to emv.ino
  • Install the two libraries listed above. (The library manager should work)

Notes

About

Example code for reading credit cards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published