Skip to content

1. Installation

Roderick Gadellaa edited this page Dec 21, 2015 · 1 revision

Requirements

  • Raspberry Pi with Raspbian (Jessie)
  • NFC reader (tested with ACR122U)
  • Python 2 + bunch of python 2 modules (simplejson, netifaces, pygame)
  • Libnfc, python-usb

Installing on raspi

I'm working on an installation script that installs all the required software components and sets up raspbian to properly work with Nfcpyr. The short version is: you need to install the above mentioned requirements.

For the ACR122U reader you should get it working by running these commands in the terminal:

# Install python modules..
sudo pip2 install simplejson
sudo pip2 install netifaces
sudo pip2 install pygame
# Install nfcpy requirements..
sudo apt-get install python-usb
# Install ACR122U pcsc driver
sudo apt-get install libpcsclite1
sudo apt-get install libnfc-bin
modprobe -r pn533 nfc
sudo reboot
sudo dpkg -i [acr122u driver package filename] # google "acr122u driver download"
sudo reboot
Clone this wiki locally