Difference between revisions of "PN532"
(Created page with "= Introduction = The ESP can also be used to read out RFID Tag Readers that are using the Mifare classic protocol. The RFID reader has to be connected to the I2C Bus. The RFI...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
− | The ESP can also be used to read out RFID Tag Readers that are | + | 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. | 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. | ||
Line 7: | Line 7: | ||
[[File:PN532.png|320px]] | [[File:PN532.png|320px]] | ||
− | + | 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. | Mifare classic tags conform to the ISO/IEC 14443A standard and operate on 13.56 MHz. | ||
Line 21: | Line 21: | ||
=== Optional settings === | === 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!) | ||
[[ EasyValueNames | Use of value names]] | [[ EasyValueNames | Use of value names]] |
Latest revision as of 16:02, 25 May 2017
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
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.
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!)