Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

23 Commits

Repository files navigation

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:

$ pip install git+https://github.com/lthiery/SPI-Py

Installation

$ pip install git+https://github.com/wybczu/MFRC522-python

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.

NamePin #Pin name
SDA24GPIO8
SCK23GPIO11
MOSI19GPIO10
MISO21GPIO9
IRQNoneNone
GNDAnyAny Ground
RST22GPIO25
3.3V13V3

Usage

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

About

A small class to interface with the NFC reader Module MFRC522

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages