How Wireless Connections Work

How Wireless Connections Work

How NFC, Bluetooth, Wi-Fi and infrared send data, and how far each one reaches

What you'll learn

  • How a signal switched on and off carries ones and zeros
  • How NFC payments and transit cards work at a few centimetres
  • How Bluetooth pairs two devices and why it uses so little power
  • How Wi-Fi connects a home to the internet, and why infrared needs a clear path

NFC, Bluetooth, Wi-Fi and infrared all send data without a cable. Each one switches a signal on and off very quickly, and the receiver reads those changes as ones and zeros that make up a message. They differ in the kind of signal they use and how far it reaches.

NFC only works when two devices are about four centimetres apart or closer. A payment terminal gives off a magnetic field, and a phone held close picks it up and answers with a one-time payment code. Transit cards have no battery, because the reader's field powers the card's chip long enough for it to reply. Bluetooth uses radio waves and links two devices directly, like a phone and earbuds, up to about ten metres apart. After you pair them once, both keep a shared key and reconnect on their own.

Wi-Fi also uses radio, but each device connects to a router, and the router is wired to the internet. Anyone nearby can pick up the signal, so Wi-Fi scrambles it, and only devices with the password can read it. Infrared is light just past the red we can see. A TV remote blinks it in a pattern that the TV's sensor reads as a command, so it needs a clear path and only works inside one room.

More videos

36 short explainers so far, with more on the way

View all videos

Join the Community

roadmap.sh is among the top 10 most starred projects on GitHub and is visited by hundreds of thousands of developers every month.

Top 10 out of 28M!

372K

GitHub Stars

Star us on GitHub
Help us reach #1

+90kevery month

+3.2M

Registered Users

Register yourself
Commit to your growth

+2kevery month

52K

Discord Members

Join on Discord
Join the community

RoadmapsGuidesFAQsYouTube

roadmap.shby@nilbuild

Community created roadmaps, best practices, projects, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh·Terms·Privacy·

ThewNewStack

The top DevOps resource for Kubernetes, cloud-native computing, and large-scale development and deployment.