How To Make An NFC Tag: Hardware Selection, NDEF Encoding, And Deployment

How To Make An NFC Tag: Hardware Selection, NDEF Encoding, And Deployment

How To Make Nfc Tag At Home at Mark Ferretti blog

Making a functional Near Field Communication (NFC) tag requires pairing a passive 13.56 MHz integrated circuit chip with a tailored aluminum or copper antenna coil, followed by encoding formatted NFC Data Exchange Format (NDEF) payloads via radio frequency fields. By selecting the correct silicon architecture (such as NTAG215 or NTAG216) and applying appropriate ferrite shielding, you can construct custom programmable tags capable of triggering automated scripts, transferring contact records, or establishing secure access credentials within seconds.

NFC Tag Provisioning and Hardware Checklist

Fabricating or programming a custom NFC tag demands strict adherence to international RF protocols (ISO/IEC 14443 Type A or ISO/IEC 15693) and precise matching of memory capacities to your intended data payload. Before commencing the assembly or software encoding sequence, gather the necessary hardware, software interfaces, and structural substrates.



  • Essential Hardware & Substrates:



    • NFC Integrated Circuit Blanks: NTAG213 (144 bytes), NTAG215 (504 bytes), or NTAG216 (888 bytes) inlay stickers or bare IC chips paired with etched aluminum antenna coils.
    • Radio Frequency Encoding Device: An NFC-enabled smartphone (iOS 13+ or Android 8.0+) or an industrial USB desktop reader/writer operating on the 13.56 MHz High-Frequency (HF) spectrum.
    • Interference Mitigating Materials: Ferrite sheet barriers (0.1mm to 0.5mm thickness with high magnetic permeability) mandatory for deployments on metal or conductive surfaces.
    • Protective Encapsulation: Clear epoxy resin, polyimide (Kapton) tape, or PVC casing for moisture and physical stress protection.
  • Mandatory Technical Standards & Protocols:



    • Air Interface Protocol: ISO/IEC 14443-3A or ISO/IEC 14443-4 frame structure.
    • Data Serialization Standard: NFC Forum Type 2 Tag compliance with standardized NDEF structure.
    • Operating Frequency: Standardized 13.56 MHz High-Frequency band.
  • Operational Benchmarks:



    • Estimated Unit Cost: $0.15 to $1.20 per tag inlay depending on order volume and memory tier.
    • Time Required: 2 to 5 minutes per software-encoded tag; 15 to 30 minutes for custom resin physical encapsulation.

Architecting and Encoding NFC Tags: Step-by-Step Execution Workflow



Step 1: Select the Silicon Integrated Circuit and Antenna Topology

The underlying architecture dictates performance, available memory, and spatial transmission characteristics. Most general-purpose NFC applications utilize passive Type 2 tags, which harvest energy directly from the 13.56 MHz magnetic field emitted by the reader device via inductive coupling.



  1. Determine the memory footprint required for your target payload:

    • NTAG213: Optimized for basic URLs, simple text strings, and short system triggers (144 usable bytes).
    • NTAG215: Standardized industry benchmark for Amiibo emulation, complex automation scripts, and vCards (504 usable bytes).
    • NTAG216: Designed for heavy payloads including dense vCards with images, dual-record redirects, and multi-line cryptographic signatures (888 usable bytes).
  2. Choose the spatial dimensions of the antenna coil. Standard circular etched-aluminum antennas measuring 25mm in diameter yield a read distance of 1 to 3 centimeters, while larger rectangular antennas (30mm x 30mm or 50mm x 50mm) offer maximum coupling efficiency up to 5 centimeters.
  3. Verify that the IC chip features built-in 32-bit password protection, a 7-byte unique identifier (UID), and write-endurance ratings exceeding 100,000 write cycles.

Warning: Passive NFC tags cannot communicate through solid metal surfaces without an isolation barrier. Standard aluminum inlays attached directly to iron, steel, or aluminum will experience magnetic flux short-circuiting, rendering the tag entirely unreadable.



Step 2: Prepare the Software Initialization Interface

To format raw EEPROM sectors into a recognized structure, you must install an NDEF-compliant writer tool on your control device.



  1. Download an established software platform such as NFC Tools (available across iOS, Android, macOS, and Windows) or NXP TagWriter.
  2. Launch the application and grant full permissions to access the local NFC transmitter module.
  3. Inspect the blank tag before attempting write operations. Navigate to the diagnostic or read menu and scan the target chip to confirm structural integrity, checking that the chip reports an "Unlocked" state and an intact NDEF formatted memory space.


Step 3: Construct the NDEF Data Payload

NDEF structures consist of one or more NDEF Records wrapped in an NDEF Message. The receiving OS parses these records without requiring specialized client-side background software.



  1. Open the "Write" or "Add Record" interface within your chosen encoding tool.
  2. Select your specific Record Type Definition (RTD):

    • URI / URL Record: Select HTTPS prefix option. Enter the target web domain. Ensure the string length does not exceed your silicon chip's total byte capacity.
    • Text Record: Select plain text encoding (UTF-8). Input text variables for system displays or offline asset labeling.
    • Wi-Fi Configuration Record: Input target SSID, security type (WPA2/WPA3 Personal), and raw network key. Upon scanning, devices automatically attempt network authentication.
    • VCard Record: Input identity parameters (Name, Organization, Phone Number, Email Address). Note that full vCard entries routinely consume 300 to 600 bytes, requiring an NTAG215 or NTAG216.
  3. Review total payload sizing displayed in the software interface to guarantee it leaves sufficient overhead for record header bytes (typically 3 to 5 bytes per record).

Pro-Tip: Shorten external URLs using a link management service before compiling the NDEF record. A shorter URL string reduces the total byte size written to memory, decreasing the physical read/write cycle time and improving scan responsiveness across older smartphones.



Step 4: Execute Wireless Transceiver Alignment and Flash Program

Once the payload layout is finalized, transmit the structured bytes into the physical non-volatile EEPROM memory array via near-field inductive coupling.



  1. Initiate the hardware write phase by selecting the "Write" or "Execute Payload" command in your application software.
  2. Locate the primary NFC induction coil on your writing device:

    • iOS Devices: Center of the top edge on the back of the chassis.
    • Android Devices: Center point on the upper-middle rear glass or plastic housing.
  3. Place the physical NFC chip within 1 centimeter of the active coil location. Keep the tag stationary during transmission.
  4. Monitor the status feedback. The writing tool will send an RF burst, powering up the tag's microchip, writing sector by sector, verifying the checksum, and returning an audio/visual confirmation upon success.


Step 5: Implement Hardware Lock States and Environmental Encapsulation

Depending on deployment requirements, protect your tag against data tampering and physical wear.



  1. Software Lock Options:

    • Read-Only Lock: Execute a permanent lock command within your software menu. This converts the tag's lock bytes to irreversible logic states, making the payload permanently read-only.
    • Password Lock: Set a custom 32-bit hexadecimal password to allow future rewrites while blocking unauthorized access.
  2. Physical Mounting & Protection:

    • If installing on metal surfaces, peel and stick a high-permeability ferrite sheet precisely onto the back of the antenna inlay before affixing it to the surface.
    • Encapsulate exposed paper or PET inlays in two-part clear epoxy resin or wrap them in polyimide tape to seal the silicon die against moisture, chemical exposure, and mechanical stress.

What Are Nfc Tags | What Are NFC Tags? — Complete Guide - OYEF

What Are Nfc Tags | What Are NFC Tags? — Complete Guide - OYEF

NFC Integrated Circuit Architecture and Technical Specifications

Selecting the correct tag variant requires matching technical parameters against environmental constraints and data payloads. The comparative matrix below details standard NFC Forum Type 2 and Type 5 integrated circuits.



Technical Parameter NXP NTAG213 NXP NTAG215 NXP NTAG216 NXP ICODE SLIX (Type 5)
Total EEPROM Memory 180 Bytes 540 Bytes 924 Bytes 128 Bytes
Usable User Memory 144 Bytes 504 Bytes 888 Bytes 112 Bytes
Air Interface Standard ISO/IEC 14443-A ISO/IEC 14443-A ISO/IEC 14443-A ISO/IEC 15693
Operating Frequency 13.56 MHz 13.56 MHz 13.56 MHz 13.56 MHz
Maximum Read Range 1 cm – 3 cm 1 cm – 3 cm 1 cm – 3 cm 5 cm – 10 cm
Data Retention Rating 50 Years 50 Years 50 Years 50 Years
Write Endurance 100,000 Cycles 100,000 Cycles 100,000 Cycles 100,000 Cycles
Recommended Use Case Web Links, Automation Triggers Amiibo, Contact Info, Small vCards Complex vCards, Large Payload Triggers Industrial Asset Tracking, Libraries

Field Diagnostics and Signal Interference Remedies



Scenario 1: Tag Fails to Scan When Affixed to Metallic Surfaces



  • Root Cause: Conductive metal surfaces reflect magnetic flux lines emitted by the reader device, inducing eddy currents that cancel out the 13.56 MHz carrier wave and preventing power transfer to the IC die.
  • Actionable Fix: Remove the tag from the surface and apply a specialized anti-metal ferrite shielding layer (minimum thickness of 0.2mm) between the antenna inlay and the metallic substrate. Verify read success using a test scanner before final mounting.


Scenario 2: Memory Overflow Error During Software Encoding



  • Root Cause: The compiled NDEF record payload—including header overhead and character length—exceeds the usable user memory space of the physical chip (e.g., trying to write a 200-byte vCard to an NTAG213 with 144 bytes limit).
  • Actionable Fix: Trim payload fields by removing non-essential fields (such as vCard profile pictures), compress URL strings using shortened aliases, or upgrade to a higher-capacity IC such as the NTAG215 or NTAG216.


Scenario 3: Tag Enters a Permanent Read-Only State unexpectedly



  • Root Cause: The write application executed a global permanent lock byte command (CC sector write) during payload flashing, altering the physical hardware bits inside the chip's lock registers.
  • Actionable Fix: Permanent hardware lock states cannot be reversed. Discard the affected tag inlay and re-program a new chip, taking care to uncheck "Lock Tag permanently" options in your software interface prior to execution.


Scenario 4: Intermittent Signal Dropouts inside Custom Epoxies or Enclosures



  • Root Cause: Exceeding maximum material potting depths, high dielectric constant casting resins, or elevated temperatures during resin curing (>120°C / 248°F) causing micro-fractures in the flip-chip bonding layer of the silicon die.
  • Actionable Fix: Maintain physical encapsulation thickness under 2mm over the antenna face, select cold-cure low-exotherm resins, and position the tag near the exterior wall of your custom housing.

Frequently Asked Questions



Can you make a DIY NFC tag using copper wire and a bare microchip?

Yes, you can physically construct an NFC tag by hand-winding a copper coil to act as an inductor, but it requires precise inductance calculation ($L$) matching the input capacitance ($C_{i}$) of the silicon microchip (typically 17pF or 50pF) to resonate exactly at 13.56 MHz. Because missing target resonance by even 0.5 MHz eliminates reading capabilities, using commercially etched inlay blanks is generally recommended for reliable performance.



What is the primary operational difference between NTAG213 and NTAG215?

The primary difference lies in total usable user memory. The NTAG213 provides 144 bytes of user memory, suitable for basic web links and short triggers, while the NTAG215 offers 504 bytes. The NTAG215 is also the standard format used for Nintendo Amiibo identification files, which demand its specific memory layout.



Do custom encoded NFC tags require an internal battery to function?

No, standard NFC tags are passive devices that contain no internal energy source. They rely entirely on electromagnetic induction: when an active device (such as a smartphone) creates a 13.56 MHz magnetic field, the tag's coil converts that magnetic field into electrical current, powering the silicon microchip long enough to transmit data back.



How do you secure an NFC tag so others cannot edit the contents?

You can secure an NFC tag using your encoding software by setting a 32-bit hexadecimal password or by issuing a permanent lock command. Setting a password allows authorized users to rewrite the data later, whereas a permanent lock permanently changes the chip's internal lock bits, converting the tag into a fixed read-only memory device.



Why does a smartphone fail to detect a freshly programmed NFC tag through a case?

Thick protective cases—especially those containing magnetic mounts, metal plates for car docks, or internal shielding layers—block the low-power 13.56 MHz magnetic field from reaching the tag's antenna coil. Removing metallic accessories or aligning the reader coil directly over the unshielded tag area resolves the detection failure.

Scale Your NFC Integration Project Today

Building custom high-performance NFC implementations requires matching hardware specifications with appropriate NDEF structures. Take advantage of modern deployment tools to quickly encode, protect, and integrate passive NFC tags across your physical asset tracking and hardware automation setups.


NFC Tag UPDATED VERSION (V2) by FlyToTheSky | Download free STL model ...

NFC Tag UPDATED VERSION (V2) by FlyToTheSky | Download free STL model ...

Read also: Houston County GA Gazette: The Ultimate Guide to Local News, Public Records, and Community Trends
close