The NFC Tag Click (Manufacturer Part ID: MIKROE-1726) is a compact module designed for Near Field Communication (NFC) applications. It enables wireless data transfer between devices over short distances, typically up to a few centimeters. This module integrates an NFC chip and an antenna, making it ideal for a variety of NFC functionalities such as reading NFC tags, peer-to-peer communication, and contactless payments.
The following table outlines the key technical details of the NFC Tag Click module:
Parameter | Specification |
---|---|
Manufacturer | MIKROE |
Part ID | MIKROE-1726 |
Communication Protocol | I2C or SPI |
Operating Voltage | 3.3V |
Interface Voltage | 3.3V (logic level) |
NFC Chip | NXP NT3H1101/NT3H1201 |
Frequency Range | 13.56 MHz |
Antenna | Integrated PCB antenna |
Operating Temperature | -40°C to +85°C |
Dimensions | 28.6mm x 25.4mm |
The NFC Tag Click module uses a standard mikroBUS™ socket. The pinout is as follows:
Pin | Name | Type | Description |
---|---|---|---|
1 | AN | Analog Input | Not used in this module |
2 | RST | Digital Input | Reset pin for the NFC chip |
3 | CS | Digital Input | Chip Select for SPI communication |
4 | SCK | Digital Input | SPI Clock |
5 | MISO | Digital Output | SPI Master-In-Slave-Out |
6 | MOSI | Digital Input | SPI Master-Out-Slave-In |
7 | PWM | Digital Input | Not used in this module |
8 | INT | Digital Output | Interrupt pin for NFC events |
9 | TX | Digital Output | Not used in this module |
10 | RX | Digital Input | Not used in this module |
11 | SCL | Digital Input | I2C Clock |
12 | SDA | Digital Input | I2C Data |
13 | 3.3V | Power | 3.3V power supply |
14 | GND | Power | Ground |
Below is an example of how to use the NFC Tag Click with an Arduino UNO via I2C:
#include <Wire.h> // Include the I2C library
#define NFC_I2C_ADDRESS 0x55 // Default I2C address for the NFC chip
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Initialize serial communication for debugging
// Send a reset command to the NFC chip
Wire.beginTransmission(NFC_I2C_ADDRESS);
Wire.write(0x00); // Example command to reset the NFC chip
Wire.endTransmission();
Serial.println("NFC Tag Click initialized.");
}
void loop() {
// Example: Read data from the NFC chip
Wire.requestFrom(NFC_I2C_ADDRESS, 16); // Request 16 bytes of data
while (Wire.available()) {
char c = Wire.read(); // Read a byte
Serial.print(c); // Print the byte to the serial monitor
}
Serial.println();
delay(1000); // Wait for 1 second before the next read
}
0x55
) and commands with the appropriate values based on your NFC chip's datasheet.No Response from the NFC Module
NFC Tag Not Detected
Data Corruption
Can the NFC Tag Click work with 5V microcontrollers?
What is the maximum range of the NFC Tag Click?
Can I use both I2C and SPI simultaneously?
Is the antenna replaceable?
By following this documentation, you can effectively integrate the NFC Tag Click into your projects and troubleshoot common issues.