Code Monkey home page Code Monkey logo

espnfc's Introduction

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)

espnfc's People

Contributors

robotto avatar

Watchers

James Cloos avatar Ghayuh Fernanda Putra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.