Field Guide · Fundamentals

Data Transfer Without Wires
how the 1s and 0s actually fly across the room

A key fob, a TV remote, WiFi, a Bluetooth OBD dongle — they all pull off the same trick. Take a carrier (a beam of light, or a radio wave), switch it on and off fast enough, and the pattern of on/off is the data. Same idea every time; only the medium changes. Here's the whole concept — and an IR remote you can watch blink a byte, letter by letter.

The one big idea

Wireless is a flashlight blinking Morse code — sped up a few million times

  • You already own the mental model. Point a flashlight across a field and flick it on and off — on-off-on-on = a message. Wireless data is exactly that, just faster than your eye or ear can follow.
  • The carrier does the travelling. Light and radio waves cross empty space on their own. We don't send the "1s and 0s" — we send a wave and modulate it: nudge its brightness, strength, or timing so the changes spell out the bits.
  • The receiver just watches for the changes. A sensor on the far end measures the carrier and turns the on/off (or the shifts in it) back into the same 1s and 0s that went in. Encode, fly, decode.
The whole field in one line: pick a carrier, flick it in a pattern the other end agrees to read. IR uses light. Bluetooth, WiFi and ESP-NOW use radio. Everything below is variations on that.
InteractiveIR transmitter — type a letter, watch it blink across
Type a character · the LED blinks its byte · the receiver decodes it live

An infrared remote, in slow motion

A TV remote is a tiny LED that blinks a coded pattern of light; a sensor in the TV reads the blinks. Type one character below and hit Send. We turn it into 8 bits, wrap it with a start and stop marker, and blink it out — least-significant bit first, the way real serial links do. The LED lights for a 1, stays dark for a 0. Watch the receiver rebuild the byte.

Character
Speed
Transmitterencode
H
ASCII 72 · binary below
On the wire · LSB first
IR LED
»»»
light →
Receiverdecode
Bits seen (LSB→MSB)
waiting for a frame…
·
Nothing received yet. Hit Send.
Frame timeline10 slots · start + 8 data + stop

Real remotes go one step further: the LED doesn't just switch on, it flickers a ~38 kHz carrier during each "on," and bits are coded by the length of the gaps (NEC and similar schemes), so daylight and other IR don't fool the receiver. The core idea is unchanged — a light blinking a code a sensor reads back.

Example oneIR — modulated light you can almost see

How it works

Light
  • An infrared LED blinks a coded pattern; a photodiode in the receiver turns the flashes back into bits. That's the entire link.
  • The light is just past red — invisible to your eye, but a phone camera often sees it as a pale flicker. Point a remote at your selfie cam and press a button to catch it.

What it's good at

Cheap & simple
  • Pennies to build, sips power, and dead simple — why it's in every remote, and why so many one-way "press a button" gadgets still use it.
  • Directional by nature — the beam mostly goes where you point it, which is a feature when you don't want to trigger the neighbour's TV.

What stops it

Line of sight
  • Light doesn't go through walls — or a couch, or a hand over the end. No line of sight, no link. Range is short, a handful of metres.
  • Bright sun and other IR can drown a cheap receiver, which is exactly why real remotes hide their signal on that 38 kHz carrier.
Example twoRadio — the same trick, on a wave that walks through walls
Swap the medium

Bluetooth and WiFi are IR's idea done with radio

  • Radio is a wave too — just a much longer one. Instead of a beam of light you make an antenna wiggle electrons, and that launches a wave that spreads out in every direction and passes through walls, floors and people. No line of sight needed.
  • Same modulation game. The bits ride the wave by shifting its strength, frequency, or phase in a pattern the receiver agrees to read. On/off is the simplest; real radios use cleverer shifts to pack more bits into each moment.
  • Bluetooth is short-range, low-power radio (~2.4 GHz) for headphones, sensors, and those little OBD dongles. WiFi is the same neighbourhood but louder and faster — enough to carry video and haul a whole house onto the internet.
  • Frequency is a trade. Lower frequencies (a key fob at 315/433 MHz, TPMS sensors) slip through walls better and travel further; higher ones (5 GHz WiFi) carry more data but fade faster and hate obstacles. There's no free lunch — only which corner you optimise.
Example threeESP-NOW — little devices talking straight to each other

No router in the middle

Peer to peer
  • Normally your phone talks to a router, which relays to everything else. ESP-NOW (an Espressif protocol on the 2.4 GHz WiFi radio) skips that — two small boards talk directly, no access point, no joining a network.
  • Because there's no "connect and log in" handshake, a node can wake, fire a short message, and sleep in milliseconds — ideal for battery sensors.

Small, fast, far — pick the payload

Lean by design
  • Payloads are small (a couple hundred bytes) and it's not built for streaming — but for "the tank is full" or "the door opened," small is all you need.
  • Open-air range can beat plain WiFi because the messages are tiny and simple, so a weak link still gets them through.

Mesh is a layer on top

Be precise
  • ESP-NOW itself is connectionless peer-to-peer, not a mesh. A true mesh — where messages hop node-to-node to reach further — is software built on top of a link like this.
  • The pattern matters: cheap radios that each relay for their neighbours can blanket a big area with no wiring and no central hub.
InteractiveFour ways to go wireless — tap to compare
Pick a technology · watch range, speed, wall-penetration and battery-friendliness shift

There is no "best" — only trade-offs

Every wireless choice spends one thing to buy another. Tap each one and watch the four bars move: push speed up and you usually pay in battery; want to punch through walls and you often trade away raw speed. The bars are relative and illustrative — the figures underneath are typical, not spec.

Infrared (IR)

  • Carrier
  • Typical range
  • Typical speed
  • Line of sight
  • Power draw
  • You'll find it in

Bars are a relative feel, not measurements. Real-world range and speed swing hugely with antennas, obstacles, interference and power — treat every number as "typical," not a guarantee.

The four dialsWhat every wireless link is trading
  • RangeHow far before the signal is lost in the noise — more power and lower frequency buy distance
  • SpeedBits per second — higher frequency and wider bandwidth carry more, but fade faster and cost power
  • Line of sightDoes it need a clear path — light does; radio mostly doesn't, though walls still steal signal
  • PowerBattery life — blink less, send less, sleep more; streaming video is the opposite of sipping power
InteractiveSelf-check — tap to reveal

Q1. A TV remote and a WiFi router are doing "the same thing." In one sentence, what is it — and what's the one real difference?

Both take a carrier and modulate it — switch/shift it in a coded pattern so the far end can read bits back out. The difference is only the medium: the remote flicks a beam of infrared light (line-of-sight, short, cheap), the router wiggles a radio wave (through walls, farther, much faster). Same idea, different carrier.

Q2. Why does IR need you to point the remote, while Bluetooth in your pocket still reaches your headphones?

Light doesn't go through solid stuff; radio largely does. IR is a beam that a couch cushion or your hand blocks completely — no clear path, no signal. Bluetooth's 2.4 GHz radio wave spreads in all directions and passes through fabric, plastic and your body with only some loss, so it doesn't care which way the phone is facing.

Q3. Someone says "ESP-NOW is a mesh network." What's the precise correction?

ESP-NOW is a connectionless, peer-to-peer link — two devices exchange short messages directly on the WiFi radio, with no router and no network to join. A mesh (messages hopping node-to-node to reach farther) is a layer built on top of a link like that, not the link itself. The building block is peer-to-peer; mesh is what you construct with it.

The mental modelHow to reason about any wireless link you meet
  1. Name the carrierLight or radio? That one answer tells you line-of-sight vs through-walls, and roughly the range and speed you can expect.
  2. Find the modulationHow is it flicking the carrier — on/off, or shifting frequency/phase? That's how the bits get on and off the wave.
  3. Ask what it's optimised forNobody wins all four dials. Long battery life or fat data pipe? Reach or speed? The design gives away the priority.
  4. Follow the failureDropouts behind a wall smell like line-of-sight or high frequency. Works up close, dies at range = power or noise. The symptom names the dial.
Go deeper, free

Curious how the thing in your hand actually pulls this off?

Pick any wireless gadget on your bench — a key fob, a Bluetooth dongle, a WiFi board — and ask Kate how it encodes, what frequency it rides, and why it fails where it fails. She'll take it from "a light blinking a code" all the way down to the protocol, at whatever depth you want. No guessing, no "look it up." Just the next layer, whenever you're ready for it.