Skip to content
Tactiverge

Wireless options and trade-offs

Choosing a wireless link for a robot or sensor: range, power, bandwidth, latency and reliability, battery-life estimates, and why safety functions must not depend on radio.

Lesson 5 of 6 · 30 min · Self-paced · Free

Cutting the cable

Wires are reliable, fast and cheap, so why go wireless? Because some robots move too far or too freely for a cable: a drone, a rover in a field, a sensor strapped to a moving arm, or a swarm of small robots on a table. Wireless links also let you monitor a robot from a laptop without tripping over its tether.

Every wireless link, however, gives up something compared with a wire. The skill is choosing which trade-offs your task can live with, and designing the system so it stays safe when the radio fails, because sooner or later it will.

The five trade-offs

When comparing wireless options, ask about:

  1. Range: how far apart can the devices be, indoors and outdoors?
  2. Power: how much current does the radio draw while transmitting, receiving and sleeping?
  3. Bandwidth: how much data per second can it carry?
  4. Latency: how long from "send" to "received"?
  5. Reliability: how often are messages lost or delayed, and what happens when they are?

These pull against each other. Physics makes it hard to get long range, high bandwidth and low power all at once. Radio signals spread out as they travel: in open space the received power falls with the square of distance, so doubling the distance leaves a quarter of the power. Walls, bodies, metal and water absorb and reflect signals further, so indoor range is usually much shorter than outdoor range.

A tour of common options

These are broad, typical characteristics. Exact figures depend heavily on the specific module, antenna, settings and environment, so treat them as starting points and test in your real setting.

  • Wi-Fi: high bandwidth, enough for video, and connects directly to computers and networks. It draws a lot of power compared with the alternatives, and latency can vary, especially on a busy network. Good for a robot with a substantial battery that streams camera images to a laptop.
  • Bluetooth Low Energy (BLE): designed for low power and modest data, such as sensor readings or control commands from a phone. Typical indoor ranges are around tens of metres. Good for wearables and small battery-powered sensors.
  • IEEE 802.15.4-based networks (such as Zigbee and Thread): low power and low data rate, and designed for mesh networks, where devices relay each other's messages to extend coverage. Common in home and building sensors.
  • Sub-GHz long-range radios (such as LoRa): very long range, often kilometres outdoors, at very low power, but with very low data rates and long transmission times. Good for a field sensor that reports a few bytes every few minutes; far too slow for driving a robot.
  • Simple 2.4 GHz or sub-GHz transceiver modules: small, cheap radios that send short packets with low latency, often used in hobby remote controls. You usually design the protocol yourself, using the ideas from the previous lesson.

Many of these share the crowded 2.4 GHz band, so Wi-Fi, Bluetooth and others can interfere with each other. Radio use is also regulated: each country sets which frequencies may be used and at what power. Using a pre-certified module with its intended antenna and settings is the simplest way to stay within the rules.

Estimating battery life

Radios save power by sleeping most of the time and waking briefly to transmit. The average current decides battery life. Suppose (with made-up but plausible numbers) a sensor's radio draws 20 mA while transmitting for 10 ms, once per second, and 0.01 mA asleep for the remaining 990 ms:

average = 20 mA × (10 / 1000) + 0.01 mA × (990 / 1000)
        = 0.2 mA + 0.0099 mA
        ≈ 0.21 mA

From a 1000 mAh battery, that is roughly 1000 / 0.21 ≈ 4,760 hours, about 198 days, ignoring the sensor and microcontroller, battery self-discharge and temperature effects. Now send ten times per second instead: the transmit term becomes 2.0 mA, the average about 2.01 mA, and the same battery lasts about 21 days. How often you transmit usually matters more than which radio you chose. Sending only when something changes, or batching readings into fewer, larger messages, can multiply battery life.

Latency and lost messages

On a wire, a message either arrives in a predictable time or something is broken. On a radio link, messages are routinely lost to interference or briefly blocked by a person walking past. Many radios automatically retransmit lost packets, which improves reliability but makes latency unpredictable: a message might take 5 ms or 200 ms.

For control, late data can be worse than no data. A steering command that arrives 300 ms late was meant for a situation that no longer exists. A common design gives each command a sequence number and a timestamp, and the robot ignores commands that are too old.

Safety-critical caveats

A wireless link must never be the only thing standing between a robot and harm.

  • Heartbeats and link-loss timeouts: the controller sends a small "I'm here" message regularly, for example 10 times a second. If the robot hears nothing for a set time, say 0.5 s, it stops or enters a safe state by itself. This uses the same timeout pattern as the reliable-pipelines lesson. Never design a robot that keeps doing its last command when the link drops.
  • Emergency stops: a wireless "stop" button is useful, but machines that can hurt people need a physical emergency stop that cuts actuator power directly and does not depend on software or radio.
  • Security: a link that anyone nearby can send commands to is a hazard. Use pairing and encryption where available, and do not accept movement commands from unauthenticated sources.
  • Test in the real environment: range on an empty desk is not range in a classroom full of people, phones and laptops.

Recap

Choose wireless links by range, power, bandwidth, latency and reliability, and accept that you cannot maximise them all. Wi-Fi gives bandwidth at a power cost; BLE and 802.15.4 networks give low power for modest data; long-range sub-GHz radios trade speed for distance. Battery life depends mostly on how often the radio transmits. Expect lost and late messages, reject stale commands, and design the robot to make itself safe on link loss, with a physical emergency stop for anything that could cause harm.

Project

Paper project: choose a link and budget its battery

Pick two of these scenarios:

  • a soil-moisture sensor in a garden that reports once every 10 minutes,
  • a small classroom robot driven from a laptop with a live camera view,
  • a wearable motion sensor that streams 50 readings per second to a phone,
  • a robot arm on a table that receives occasional position commands.

For each one:

  1. Rank range, power, bandwidth, latency and reliability from most to least important, and justify your top two.
  2. Choose a wireless option from this lesson (or decide a cable is better) and explain why.
  3. Estimate average current and battery life using made-up but plausible transmit, receive and sleep currents, clearly labelled as assumptions.
  4. Describe what the system does when the link is lost for 1 second and for 1 minute.

This is a paper activity. No hardware is needed.

Deliverables

  • A ranked list of trade-offs for each scenario
  • A justified wireless choice for each
  • Battery-life calculations with assumptions labelled
  • A link-loss plan for each

Adult supervision requiredThis project is paper-based. If you later test a real wireless link, use only small, low-voltage battery-powered devices, never charge or puncture damaged batteries, test moving robots slowly in a clear area away from people, and work with an adult supervising.

Knowledge check

Check your understanding

  1. 1. In open space, received radio power falls with the square of distance. If you triple the distance, the received power becomes:
  2. 2. A radio draws 30 mA for 5 ms every second and almost nothing otherwise. What is its approximate average current?
  3. 3. A field sensor must send a few bytes every 15 minutes from 2 km away, on a small battery. Which option fits best?
  4. 4. A wirelessly controlled robot loses its link. What should a well-designed robot do?
  5. 5. Why can late commands be worse than lost ones in a control system?

Go further