Project to detect NFC tag card, read its content, distinguish between users, and log details on Google Spreadsheet.
- Introduction
- Hardware Components
- Software Setup
- Reading NFC Tag
- User Identification
- Logging Details
- Google Spreadsheet Integration
- Conclusion
This project aims to create an attendance system using Near Field Communication (NFC) technology integrated with an ESP8266 microcontroller, a 16x2 LCD with I2C interface, and a Mifare Classic Tag. The system will detect the NFC tag, read its content, determine if the ID belongs to a specific person (e.g., Erfan or Hossein), and then log the attendance details onto a Google Spreadsheet.
Details of the hardware components used in the project.
The NFC module is used to read NFC tags. It is integrated with the ESP8266 microcontroller, a powerful and low-cost Wi-Fi module. The key specifications of the ESP8266 module are:
- Model: ESP8266MOD
- ISM 2.4GHz
- PA +25dBm
- Supports 802.11b/g/n Wi-Fi standards
The NFC Module V3 uses the I2C protocol instead of SPI or HSU, making it easier to connect with the ESP8266.
The 16x2 C0421A LCD module is used to display messages and information. It is interfaced using the I2C protocol through the NXD PCF85741 I2C module, which reduces the number of pins required for connection to the microcontroller.
- Two breadboards for creating the circuit.
- Jumper wires for connections between the components.
- A USB Type-A cable for powering the ESP8266 and for serial communication with a computer.
Overview of the Mifare Classic tag and its usage.
Configuration and setup of required software components.
Instructions for installing necessary libraries.
Steps to configure ESP8266 for NFC tag detection.
Code snippets for reading NFC tag content.
Algorithm for distinguishing between users based on tag ID.
Implementation of logging details functionality.
Guide for integrating with Google Spreadsheet for logging.
Summary and final thoughts.