Skip to content
London, United Kingdom · Est. 1994
English

Unit 3: Connectivity and Protocols

The main ways IoT devices connect, from short-range wireless to cellular and low-power wide-area networks, the messaging protocols that carry their data, and a practical method for choosing between them.

Unit 3 of 5 · about 54 minutes

3.1 Short-range and local networks

Connectivity is how data gets from a device to the systems that use it. There is no single best option: each technology makes different trade-offs between range, data rate, power consumption, cost and reliability. This lesson covers technologies used within a home, building or site; the next covers networks that reach across towns and countries.

Wired connections

Wired connections are easy to overlook but often the most reliable choice for fixed equipment. Ethernet cables provide fast, stable connections and can also deliver power to devices through a technique called Power over Ethernet, which is common for cameras and access control panels. In factories, older wired standards for connecting machines and controllers remain widespread, and many industrial IoT projects involve connecting these existing systems rather than installing new wireless sensors. The downside of cabling is installation cost and inflexibility when equipment moves.

Wi-Fi

Wi-Fi is familiar, widely available and offers high data rates, which makes it suitable for devices such as cameras, displays and appliances that have mains power. Its main drawbacks for IoT are relatively high power consumption, which limits battery life, and limited range through walls and floors. Connecting large numbers of devices to an office Wi-Fi network can also create management and security challenges, so many organisations place IoT devices on a separate network segment.

Bluetooth Low Energy

Bluetooth Low Energy, often shortened to BLE, is designed for short-range communication with very low power use. It is common in wearables, medical devices, asset tags and beacons. Beacons are small devices that broadcast an identifier so that phones or gateways nearby can detect them, which supports indoor location and asset tracking. Range is typically tens of metres indoors, depending on the environment, and devices often connect through a smartphone or gateway rather than directly to the internet.

Mesh networks: Zigbee and Thread

In a mesh network, devices pass messages for one another, so a signal can hop around obstacles and extend coverage across a building. Zigbee has been used for many years in smart lighting, building controls and smart meters. Thread is a newer low-power mesh technology that uses internet addressing, making it easier to connect devices directly to wider networks. Thread is one of the networks used by Matter, an industry standard intended to help smart home devices from different manufacturers work together. Mesh networks are resilient but can be harder to plan and troubleshoot than simple point-to-point links.

Comparing the options

TechnologyTypical rangeData ratePower useCommon uses
EthernetCable lengthVery highMains or Power over EthernetCameras, controllers, gateways
Wi-FiWithin a buildingHighRelatively highAppliances, displays, cameras
Bluetooth Low EnergyShortLow to moderateVery lowWearables, tags, beacons
Zigbee or ThreadShort per hop, extended by meshLowLowLighting, building controls, smart home

These are broad descriptions; real performance depends heavily on building materials, interference from other equipment and how devices are configured.

Tip: Always test connectivity in the actual location before committing to a large purchase. Concrete, metal shelving, refrigeration units and even water in pipes can weaken signals in ways that specifications do not predict.

Radio spectrum and interference

Most of these technologies operate in licence-exempt radio bands, which anyone may use within national rules on power and duty cycle. This keeps costs low but means devices share the airwaves with many others. In crowded environments, such as apartment blocks or busy offices, interference can cause dropped messages. Designers reduce the impact through retries, careful channel planning and choosing technologies suited to the environment.

In practice

For any local IoT deployment, start by asking four questions. Does the device have mains power, or must it run on batteries? How much data does it send, and how often? How far is it from the nearest network access point or gateway, and what lies in between? Does it need to work with devices from other manufacturers? A battery-powered sensor sending a few readings an hour points towards BLE, Zigbee or Thread; a mains-powered camera points towards Wi-Fi or Ethernet. Recording these answers before talking to suppliers keeps the discussion focused on your needs rather than their preferred technology.

3.2 Wide-area networks: cellular and LPWAN

Many IoT devices are located far from any building network: on vehicles, in fields, along pipelines, in street furniture or in customers' homes where the organisation has no access to local Wi-Fi. For these, wide-area connectivity is needed. The two main families are cellular networks, run by mobile operators, and low-power wide-area networks, usually shortened to LPWAN.

Cellular IoT

Ordinary mobile networks can carry IoT data using a SIM card in the device, in the same way as a phone. Mobile standards also include versions designed specifically for IoT:

  • LTE-M supports moderate data rates, mobility between cell towers and even voice, while using much less power than a standard phone connection. It suits trackers, wearables, alarms and payment terminals.
  • NB-IoT (narrowband IoT) sends very small amounts of data, uses very little power and penetrates deep inside buildings and underground. It suits meters and static sensors that report occasionally.
  • 5G networks bring higher capacity and, in some configurations, very low delay, which can support demanding industrial and vehicle applications. Some organisations also run private 4G or 5G networks on large sites such as ports and factories.

Many devices now use embedded SIMs, which can be configured remotely to change operator without physically swapping a card. This is helpful for devices deployed across several countries or for long lifespans.

Low-power wide-area networks

LPWAN technologies are designed to send small messages over long distances, often several kilometres in open areas, with battery lives that can extend to years. The most widely used open standard is LoRaWAN, which operates in licence-exempt radio bands. An organisation can install its own gateways, use a public network provided by an operator, or combine the two. LoRaWAN is popular for smart agriculture, environmental monitoring, utility metering and smart buildings.

The trade-off is very limited data. LPWAN devices typically send messages of a few dozen bytes, perhaps a few times an hour, and there are restrictions on how often they may transmit. They are not suitable for video, large files or applications needing frequent two-way communication.

Satellite

For remote locations without mobile coverage, such as ships, offshore installations or remote farmland, satellite connectivity can carry small IoT messages. Newer satellite services are making this cheaper and increasingly compatible with cellular IoT standards, but costs and power use remain higher than terrestrial options in most cases.

Remember: Networks also have lifespans. Several countries have switched off or are switching off older 2G and 3G networks, and devices that relied on them stop communicating. Ask suppliers which networks a device uses and how long those networks are expected to operate in your region.

Costs and contracts

Cellular connectivity normally involves a subscription per device, which may be priced by data volume, by month or as a pooled allowance shared across many devices. LPWAN using your own gateways may have no per-device fee but requires you to install and maintain the gateways. Public LPWAN services charge subscriptions but cover the infrastructure. When comparing options over a five or ten year period, include equipment, subscriptions, maintenance and the cost of replacing devices if a network is withdrawn.

Coverage in practice

Published coverage maps are a starting point, not a guarantee. Signals vary with terrain, buildings and whether a device is inside a metal cabinet or below ground. A short field test at representative locations is one of the best investments an IoT project can make.

In practice

Suppose a housing association wants to detect damp in hundreds of flats. Tenants' Wi-Fi cannot be relied upon, devices must run for years on batteries, and each sensor needs to send only a few readings per day. These requirements point towards NB-IoT or LoRaWAN rather than Wi-Fi or standard 4G. If the association already has LoRaWAN gateways covering its estates, adding sensors may be inexpensive; if not, NB-IoT using an existing mobile network avoids installing infrastructure. Writing down requirements in this way leads naturally to a short list of suitable options.

3.3 Messaging protocols and interoperability

Connectivity technologies move bits from place to place. On top of them, messaging protocols define how devices and platforms structure their conversations: how a device announces a reading, how a platform sends a command, and how both sides know a message has arrived. You do not need to configure these protocols yourself to understand why they matter.

MQTT: publish and subscribe

MQTT is one of the most widely used IoT messaging protocols. It follows a publish and subscribe pattern. Devices publish messages to named topics, such as a topic for the temperature in a particular room. A central server called a broker receives the messages and passes them to any system that has subscribed to that topic. The device does not need to know who is listening, and new applications can subscribe without changing the devices.

MQTT is lightweight, which suits devices with limited power and processing. It offers three levels of delivery assurance, known as quality of service: send once with no confirmation, ensure delivery at least once, or ensure delivery exactly once. Higher levels are more reliable but use more messages and energy.

CoAP and HTTP

  • CoAP, the Constrained Application Protocol, is designed for very small devices and lossy networks. It follows a request and response pattern similar to web browsing but with much smaller messages.
  • HTTP, the protocol used by the web, is familiar to developers and works well for devices with plenty of power and bandwidth. It is heavier than MQTT or CoAP, so it is less suited to battery-powered sensors.

In industrial settings, other protocols are common. OPC UA is widely used to exchange structured data between industrial machines and software, and older protocols such as Modbus remain in use on many production lines.

Data formats and meaning

A protocol delivers a message, but both sides also need to agree what the message means. A reading of "21" is useless unless everyone knows it is a temperature, in degrees Celsius, from a specific device, at a specific time. Common data formats include JSON, a readable text format, and more compact binary formats for constrained devices. Beyond format, organisations benefit from consistent data models: agreed names, units and structures for things such as rooms, meters and machines. Without them, each new device type creates extra integration work.

Interoperability

Interoperability is the ability of devices and systems from different suppliers to work together. Poor interoperability leads to vendor lock-in, where an organisation cannot easily change supplier because its devices only work with one platform. Ways to reduce lock-in include:

  1. preferring open, widely adopted standards for connectivity and messaging;
  2. ensuring that you can export your data in documented formats;
  3. checking that devices can be reconfigured to send data to a different platform;
  4. using an integration layer so that business systems are not tied directly to one device type.

Tip: Ask every supplier the same question: if we stopped using your platform in three years, how would we keep our devices running and take our data with us? The quality of the answer tells you a great deal.

Choosing connectivity and protocols together

A simple decision process brings this unit together:

  1. List the requirements: location, power source, data volume, frequency, delay tolerance, mobility and expected lifespan.
  2. Eliminate options that cannot meet hard constraints, such as Wi-Fi for a remote sensor without power.
  3. Compare the remaining options on total cost, coverage, security features and supplier support.
  4. Confirm the messaging protocol and data format are supported by your chosen platform.
  5. Test in real conditions before scaling.

In practice

When reviewing a supplier proposal, look for three things: which network technology the devices use, which messaging protocol carries the data, and in what format the data arrives. If the proposal cannot answer these clearly, or relies entirely on proprietary methods with no export option, treat it with caution. Even as a non-technical manager, asking these questions signals that you understand the long-term implications of today's choices.

Case study: Connecting sensors across a country park

Fernhill Parks Trust, a fictional charity managing a large country park, wanted to monitor water levels in streams, the fill level of litter bins and visitor numbers at car park entrances. The park had no Wi-Fi outside the visitor centre and patchy mobile coverage in the valleys.

The estates manager listed requirements for each use case. Water level and bin sensors sent only a few readings per hour, had no mains power and needed to run for years. The car park counters were near the entrance building and had mains power. A field test showed that a single LoRaWAN gateway mounted on the visitor centre roof, plus one on a hilltop mast, reached almost all sensor locations, whereas mobile signal was weak in several valleys.

The trust chose LoRaWAN for the battery sensors and wired the car park counters to the building network. The supplier confirmed that data would be delivered to the trust's platform using MQTT in a documented JSON format, so the trust could change dashboard providers later without replacing any sensors.

Activity

Take two contrasting IoT use cases, such as a vehicle tracker and a battery-powered water meter. For each, list the requirements for range, power, data volume and mobility. Then recommend a connectivity option and justify your choice in two or three sentences.

Compare with a model answer

A good answer sets out requirements before choosing technology. A vehicle tracker moves across large distances, has access to vehicle power, sends location data every few minutes and needs reliable coverage on roads, so cellular IoT such as LTE-M or standard 4G is a sensible choice because it supports mobility and moderate data rates.

A water meter is static, often in a basement or underground chamber, runs on a battery for many years and sends a small reading once or a few times a day. NB-IoT or LoRaWAN suits this, because both use little power and penetrate buildings well. The strongest answers mention testing coverage at real locations, considering per-device subscription costs and checking how long the chosen network is expected to remain available.

Key takeaways

  • Every connectivity option trades off range, data rate, power use, cost and reliability; there is no single best technology.
  • Wi-Fi and Ethernet suit powered devices with more data, while Bluetooth Low Energy, Zigbee and Thread suit low-power devices over short ranges.
  • Cellular IoT (LTE-M and NB-IoT) and low-power wide-area networks such as LoRaWAN connect devices across wide areas with long battery life but limited data.
  • Messaging protocols such as MQTT, CoAP and HTTP, together with agreed data formats and models, determine how easily systems can use device data.
  • Open standards, data export and real-world testing reduce the risks of vendor lock-in, poor coverage and network switch-offs.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 2 Unit 4 →
WhatsApp