PN532

From Let's Control It
(Redirected from RFID2)
Jump to navigation Jump to search

Introduction

The ESP can also be used to read out the PN532 NFC/RFID Tag Readers, using tags that are compliant with the Mifare classic protocol.

The RFID reader has to be connected to the I2C Bus. The RFID reader will send a message to your Home Automation controller containing the unique RFID Tag ID.

Hardware

PN532.png

This PN532 NFC tag reader kit can be found on eBay. It can run on 3V3 so it can connect directly to the ESP module. The PN532 can read several different protocols, but our implementation is limited to reading Mifare classic tags, most widely used and sold.

Mifare classic tags conform to the ISO/IEC 14443A standard and operate on 13.56 MHz.

Software

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "RFID Reader PN532" from the dropdown box.

EasyConfigRFID2.png

Enter the IDX found in the Domoticz device page. That should be all.

Optional settings

Its possible to specify a reset pin. This recommended, as the PN532 sometimes goes to an unrecoverable error state. The only way to recover is by a reset.

Connect this reset pin to the special RSTPDN pin on the PN532 board. (note: NOT to the RSTO pin!)

Use of value names