Chapter 21 of 22 Part V: Near-Field & Finding Networks

NFC: The Secret Power of a Tap

Difficulty: Applied Editorial estimate: ~45 min Prerequisites: Chapter 04, Chapter 08

Chapter Field Guide

Scientific principles & laws
  • Electromagnetic induction, near-field coupling, digital encoding, memory and communication protocols.
Everyday applications
  • Museum exhibits, contactless access, transit, product labels, device pairing and the payment systems introduced in Chapter 15.
What you gain
  • Explain why a passive tag needs no battery, design a safe tap interaction and distinguish readable data from a trustworthy service.

Measurable Learning Outcomes

  • Explain how a passive NFC tag draws power from a reader's 13.56 MHz magnetic field.
  • Calculate NDEF record byte overhead vs. payload size on memory-limited tags.
  • Distinguish reading an NFC tag's bytes from automatically opening a URL inside it.

Core Scientific Intuition

Near Field Communication (NFC) operates at 13.56 MHz over a few centimeters. A powered reader generates an alternating magnetic field that induces electric current in a passive tag's tiny wire coil (inductive coupling), powering its chip without a battery. Tags format messages as NDEF records, which fit in compact memory (e.g., 144 to 888 bytes). Crucially, reading a tag's bytes is safe, whereas automatically launching an untrusted URL can expose a user to phishing.

f = 13.56 MHz, M(d) drops rapidly with coil separation d
In plain words: NFC uses a 13.56 MHz carrier where mutual magnetic coupling falls off steeply over a few centimeters.
Units & assumptions: Short range (~1–4 cm typical) is a physical property of near-field magnetic induction.

Worked Example

An NDEF URI record uses a short prefix code (e.g., 0x04 for "https://") so the URL "https://example.org" saves 7 bytes on a small 144-byte NTAG213 tag.

Hands-On Exploration

Interactive Laboratory

Test the concepts directly with 3 interactive panels, live controls, and visual feedback.

Open Interactive Lab →

Three Guided Projects

Structured experiments with hypotheses, boundary tests, hints, and reflection prompts.

View 3 Projects →

Source Code (3 Snippets)

Inspect byte-identical printed JavaScript blocks, download `.js` files, or test runnable blocks in the isolated sandbox.

Browse Code →

Self-Check Quiz (5 Questions)

Immediate explanations for every choice, unlimited retries, and local-only score tracking.

Take Self-Check Quiz →

Book Chapter Outline (Reference Guide)

Section headings from Volume 1 for cross-referencing with the printed book.

Show all 22 book section headings
  1. Your field guide
  2. Scientific principles & laws
  3. Everyday applications
  4. What you gain
  5. A museum label that wakes up
  6. Two coils and a tiny computer
  7. Distance, orientation and materials
  8. How fast does the field alternate?
  9. What does a tag actually contain?
  10. From tap to action: a closer look
  11. Three roles, many applications
  12. A tour of everyday NFC
  13. NFC, QR or Bluetooth?
  14. Can a public tag be dangerous?
  15. Can someone simply copy a bank card?
  16. Detective mission: three labels
  17. Build a science trail
  18. Code lab: Three experiments
  19. Project 1: Model two coils
  20. Project 2: Count the message bytes
  21. Project 3: Design a cautious tap interface
  22. Further reading and official sources

Primary Sources & Further Reading

External links are provided for independent verification and deeper study. Link availability can change over time; see the Resources page for verification notes.

Source Type Link
NFC Forum: NFC technology primary-standard https://nfc-forum.org/learn/NFC-technology/
NFC Forum: technical specifications primary-standard https://nfc-forum.org/build/specifications/
EMVCo: contactless payments primary-standard https://www.emvco.com/emv-technologies/contactless/