Skip to content
This repository has been archived by the owner. It is now read-only.
Python library for accessing a PN532 NFC breakout over a SPI connection from a Raspberry Pi, BeagleBone Black, etc.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub pull request template May 27, 2016
Adafruit_PN532 Python 3 fixes (note Minecraft control library is still Python 2 only… Apr 15, 2016
examples Python 3 fixes (note Minecraft control library is still Python 2 only… Apr 15, 2016
.gitignore
LICENSE Initial commit Mar 19, 2015
README.md
ez_setup.py
setup.py

README.md

DEPRECATED LIBRARY. Adafruit Python PN532

This library has been deprecated! We are leaving this up for historical and research purposes but archiving the repository.

We are now only supporting the use of our CircuitPython libraries for use with Python.

Please check out the Adafruit CircuitPython PN532 library: https://github.com/adafruit/Adafruit_CircuitPython_PN532

Adafruit Python PN532

Python library for accessing a PN532 NFC breakout over a SPI connection from a Raspberry Pi, BeagleBone Black, etc.

Designed specifically to work with the Adafruit PN532 breakout using a SPI connection ----> https://www.adafruit.com/product/364

Installation

To install the library make sure your device is connected to the internet (with a wired or wireless connection), then connect to the device's terminal and run the following commands (assuming a Debian-based operating system like Raspbian, Debian, Ubuntu, etc.):

sudo apt-get update
sudo apt-get install build-essential python-dev git
git clone https://github.com/adafruit/Adafruit_Python_PN532.git
cd Adafruit_Python_PN532
sudo python setup.py install

Look inside the examples directory for a simple example of detecting and reading a MiFare classic card with readmifare.py. Make sure to run examples as root using sudo, for example:

sudo python readmifare.py

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Written by Tony DiCola for Adafruit Industries. MIT license, all text above must be included in any redistribution

You can’t perform that action at this time.