Skip to content
/ ESPnfc Public
forked from Robotto/ESPnfc

NodeMCU module (ESP8266) using a PN532 NFC chip to read tags and do a thing with UDP

Notifications You must be signed in to change notification settings

jnsw/ESPnfc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

ESPnfc

NodeMCU module (ESP8266) using a PN532 NFC chip to read tags and do a thing with UDP

Follow the install instructions for the PN532/NFC library here

Connects to wifi and waits for a NFC tags with specific UIDs. Sends a UDP packet if a matching tag is found.

This specific version is used to unlock a door, hence the unlock() function. (and the IPAddress object called doorIP)

To enable debug message, define DEBUG in PN532/PN532_debug.h, which is part of the NFC library.

Runs on an ESP8266 (nodeMCU v0.9) connected to an adafruit NFC (PN532) shield

Sort of a counterpart to this: https://github.com/Robotto/UDPrx_relay

HW setup:

NFC NodeMCU (ESP)
SS (CS) D2 (GPIO4)
IRQ D3 (GPIO0)
RST D4 (GPIO2)
SCK D5 (GPIO14)
MISO D6 (GPIO12)
MOSI D7 (GPIO13)

About

NodeMCU module (ESP8266) using a PN532 NFC chip to read tags and do a thing with UDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%