How two gadgets find each other: Wi-Fi, Bluetooth, NFC and barcodes

: the wave family on one long ruler. Wi-Fi, Bluetooth and NFC sit at the radio end of it. A barcode and a QR code need no radio at all, only light that bounces back.
You switch on new earbuds and your phone lists them in two seconds. You tap your phone on a shop’s machine and the payment goes through. You point a camera at a square of black dots and a web page opens. In each case two gadgets that have never met found each other, with nobody typing an address.
By the end you will be able to explain how each of the four methods works, say how far each one reaches and why, and work out the check digit that lets a scanner catch a misread barcode.
Before you start. Your Remote Throws Invisible Light, the EM spectrum gave you wavelength (the length of one wiggle) and frequency (wiggles per second). How your voice rides a wave: radio and phones showed that a fast carrier wave can carry a message, and that a wave weakens with distance, measured in decibels (dB), where every 10 dB is ten times less power. Shouting in a shared room: how Wi-Fi takes turns showed that Wi-Fi devices share one stretch of air and must take turns.
The history (optional)
On 26 June 1974, at a Marsh supermarket in Troy, Ohio, a cashier named Sharon Buchanan scanned a ten-pack of Wrigley’s chewing gum. It is recorded as the first retail scan of a UPC barcode (sources: GS1 and the Smithsonian, read 2026-11-28). The scanner read the stripes and the shop’s computer looked up the price. In 1994 a team at Denso Wave in Japan, led by Masahiro Hara, finished the QR code. Denso used ordinary barcodes to track car parts, and a one-dimensional code held too little (sources: ETHW milestone page and the Japan Patent Office, read 2026-11-28). The name Bluetooth came from Jim Kardach of Intel, who proposed it as a temporary code name. It honours King Harald Bluetooth of Denmark, who united Danish tribes (source: bluetooth.com, read 2026-11-28).