No description
Find a file
Marek2k17 68963702c1
replace number with variable
i googled for changing the pin 22, i only found a hint to line 10 so i changed line 113 to use the variable from line 10 instead of the number
2018-03-20 10:55:12 +01:00
Dump.py Shebang added, fixed typo, executable bit removed 2014-07-13 16:51:49 +02:00
MFRC522.py replace number with variable 2018-03-20 10:55:12 +01:00
Read.py Read example now loops until Ctrl-C is caught. 2014-07-18 21:15:31 -06:00
README.md Fixed authentication, added examples, proper class without code in the end 2014-06-23 17:54:19 +02:00
Write.py Shebang added, fixed typo, executable bit removed 2014-07-13 16:51:49 +02:00

MFRC522-python

A small class to interface with the NFC reader Module MFRC522 on the Raspberry Pi.

This is a Python port of the example code for the NFC module MF522-AN.

##Requirements This code requires you to have SPI-Py installed from the following repository: https://github.com/lthiery/SPI-Py

##Examples This repository includes a couple of examples showing how to read, write, and dump data from a chip. They are thoroughly commented, and should be easy to understand.

Pins

You can use this image for reference.

Name Pin # Pin name
SDA 24 GPIO8
SCK 23 GPIO11
MOSI 19 GPIO10
MISO 21 GPIO9
IRQ None None
GND Any Any Ground
RST 22 GPIO25
3.3V 1 3V3

##Usage Import the class by importing MFRC522 in the top of your script. For more info see the examples.