MFRC522-python/README.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

2013-07-01 06:14:21 +00:00
MFRC522-python
==============
2013-07-01 07:54:03 +00:00
A small class to interface with the NFC reader Module MFRC522 on the Raspberry Pi.
2013-09-24 19:05:36 +00:00
This is a Python port of the example code for the NFC module MF522-AN.
2013-07-01 07:45:10 +00:00
**Important notice:** This library has not being actively updated in almost four years.
It might not work as intended on more recent Raspberry Pi devices. You might want to
take a look to the open pull-requests and forks to see other implementations and bug-fixes.
2017-06-15 03:56:47 +00:00
## Requirements
This code requires you to have SPI-Py installed from the following repository:
2013-07-01 07:45:10 +00:00
https://github.com/lthiery/SPI-Py
2017-06-15 03:56:47 +00:00
## 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](http://i.imgur.com/y7Fnvhq.png) image for reference.
| Name | Pin # | Pin name |
2017-06-15 03:56:47 +00:00
|:------:|:-------:|:------------:|
| 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 |
2017-06-15 03:56:47 +00:00
## Usage
Import the class by importing MFRC522 in the top of your script. For more info see the examples.
2018-03-20 15:21:51 +00:00
## License
This code and examples are licensed under the GNU Lesser General Public License 3.0.