Skip to content
IoT Crest

IoT connectivity: LoRaWAN, cellular and MQTT

How data gets from a device to wherever it is needed: the low-power radio networks built for sensors, the cellular options for things that move or sit far from any Wi-Fi, and the messaging protocol most of them speak at the top.

Connectivity articles

  1. What is LPWAN? Low-power wide-area networks

    What LPWAN is, what it gives up for range and battery life, how NB-IoT, LTE-M, LoRaWAN and Sigfox differ, who runs each network and how to choose.

  2. 5G RedCap: what it is and where it fits

    5G RedCap explained: what Reduced Capability 5G cuts from full 5G, how it compares with LTE-M, NB-IoT and Cat 1 bis, eRedCap, and which devices should use it.

  3. Wi-Fi HaLow (802.11ah): range, speed and uses

    Wi-Fi HaLow explained: how 802.11ah uses sub-1 GHz bands for long range, what speed and battery life to expect, how it compares with LoRaWAN, and where it fits.

  4. What is an IMEI number? Digits, checks and uses

    What is IMEI: the 15-digit ID of a phone or cellular module, how its TAC, serial and check digit work, how it differs from IMSI and ICCID, and where to find it.

  5. What is IMSI? The international mobile subscriber identity

    What is IMSI: the subscriber identity on every SIM, its MCC, MNC and MSIN digits, how networks hide it with temporary IDs and SUCI, and IMSI vs IMEI vs ICCID.

  6. What is an MNO? Mobile network operators vs MVNOs

    MNO meaning in telecoms: what a mobile network operator owns, MVNOs, MVNEs and MVNAs, what a PLMN is, and how to compare an MNO and an MVNO for IoT SIMs.

  7. 2.4 GHz vs 5 GHz: which Wi-Fi band IoT devices need

    2.4 GHz vs 5 GHz Wi-Fi for IoT: range, speed, channels 1, 6 and 11, why smart devices need 2.4 GHz, and how to fix pairing on a dual-band router.

  8. ICCID number explained: the SIM serial, digit by digit

    The ICCID number explained: what the SIM serial is, how its digits break down, how it differs from IMSI and IMEI, and where to find it on phones and modules.

  9. What is an M2M SIM card? How M2M and IoT SIMs differ from phone SIMs

    What an M2M or IoT SIM card is, how it differs from a regular phone SIM, where it is used, activation, the 2FF to MFF2 form factors, M2M eSIM and iSIM.

  10. IoT protocols explained: the radio, network and messaging layers

    IoT protocols explained layer by layer: radio and link protocols, the network and transport layers above them, messaging on top, and how to combine them.

  11. MQTT vs CoAP: which IoT messaging protocol to use

    MQTT vs CoAP compared for IoT devices: publish-subscribe over TCP against a REST-like protocol over UDP, delivery guarantees, power and when each one fits.

  12. MQTT explained: topics, QoS levels and retained messages

    MQTT explained: how a broker, publishers and subscribers fit together, how to name topics and use wildcards, what QoS levels promise and retained messages.

  13. LoRaWAN explained: range, data rates and when to use it

    LoRaWAN explained: how LoRa radio and the LoRaWAN network layer differ, what range to expect, how spreading factors work, and when to pick it.

  14. NB-IoT vs LTE-M for cellular IoT devices

    NB-IoT vs LTE-M for cellular IoT devices: bandwidth and latency, mobility, power saving modes, coverage inside buildings, and which one to pick.

Related guides

Shorter guides to the questions that come up around connectivity.

  1. 5G RedCap: what it is and where it fits

    5G RedCap explained: what Reduced Capability 5G cuts from full 5G, how it compares with LTE-M, NB-IoT and Cat 1 bis, eRedCap, and which devices should use it.

  2. What is an IMEI number? Digits, checks and uses

    What is IMEI: the 15-digit ID of a phone or cellular module, how its TAC, serial and check digit work, how it differs from IMSI and ICCID, and where to find it.

  3. What is LPWAN? Low-power wide-area networks

    What LPWAN is, what it gives up for range and battery life, how NB-IoT, LTE-M, LoRaWAN and Sigfox differ, who runs each network and how to choose.

  4. Wi-Fi HaLow (802.11ah): range, speed and uses

    Wi-Fi HaLow explained: how 802.11ah uses sub-1 GHz bands for long range, what speed and battery life to expect, how it compares with LoRaWAN, and where it fits.

What this topic covers

This topic covers the links between devices and the systems that read them: LoRaWAN for long-range, low-data sensing, the two cellular technologies designed for IoT devices, and MQTT, the messaging protocol that sits above most of these radios. The articles explain what each technology is good at, what it costs in power and complexity, and when it is the wrong choice.

It does not cover Wi-Fi network design, satellite IoT, or 5G private networks. Those are large subjects in their own right and would be poorly served by a short section here.

If you are new to the subject, the IoT protocols explainer sorts the whole alphabet soup into layers first; the MQTT explainer and the MQTT against CoAP comparison then cover the messaging layer in depth.

three questions, then the radio; MQTT sits above whichever it is how far to something that can hear it · how much data it sends · what power it has Wi-Fi inside a building, mains power, a lot to say LoRaWAN battery sensor sending a few bytes a few times an hour, kilometers from the nearest gateway NB-IoT or LTE-M cellular: it moves, or sits where you cannot put your own gateway MQTT: the messaging layer does not care what radio carried the packets; on LoRaWAN it appears after the network server has decoded them range, data rate and power are traded against each other in every radio design
Diagram: the three questions that choose a radio and where they lead: Wi-Fi for a mains-powered device indoors with a lot to say, LoRaWAN for a battery sensor sending a few bytes a few times an hour, cellular for a device that moves or sits beyond your own gateway; MQTT is the messaging layer above any of them.

Common connectivity questions

Which wireless technology should an IoT device use?

Start from three questions: how far the device is from something that can hear it, how much data it needs to send, and what power it has. A device inside a building with mains power and a lot to say can use Wi-Fi. A battery sensor that sends a few bytes a few times an hour, possibly kilometers from the nearest gateway, is what LoRaWAN was designed for. A device that moves, or sits somewhere you cannot put your own gateway, needs cellular, and the choice between NB-IoT and LTE-M is covered in its own article.

The mistake to avoid is picking the radio before answering those questions, usually because a module was to hand. Range, data rate and power are traded against each other in every radio design, so a technology that is excellent on one axis is usually poor on another. The LoRaWAN article shows that trade-off in the spreading factor table, and it applies in some form to every option on this hub.

What is the difference between a radio protocol and a messaging protocol?

A radio protocol decides how bits get through the air: the frequency, the modulation, how devices share the channel and how far a signal reaches. LoRaWAN, NB-IoT, Zigbee and Wi-Fi are all radio-level choices. A messaging protocol decides how data is organized once a link exists: what a message is, who it is addressed to, whether delivery is confirmed, and how a reader finds the messages it cares about. MQTT is a messaging protocol, and it does not care what radio carried the packets.

The two are chosen separately, which is why a plant can run MQTT over Ethernet, Wi-Fi and a cellular modem at the same time and treat the results identically at the broker. The MQTT article explains topics, quality-of-service levels and retained messages, which are the parts of the messaging layer that most affect how a system behaves. LoRaWAN is the exception in the sense that it defines its own small application layer, so MQTT usually appears only after a LoRaWAN network server has decoded the packets.

How much data does a typical sensor send?

Very little, most of the time. A temperature and humidity reading fits in a handful of bytes, a GPS position in a few tens of bytes, and a status flag in one. What makes the difference is how often the device sends and how much protocol overhead surrounds each payload. A LoRaWAN uplink carries a small payload with a small header; an MQTT message over TCP over cellular carries the same payload wrapped in several layers, each with its own headers and acknowledgments.

That overhead is why battery devices on constrained radios send compact binary payloads rather than readable text, and why they send less often than the sensor could be read. The connectivity articles avoid quoting a single figure because the answer depends on the payload format and the interval, both of which you control. Work out the bytes per message, multiply by messages per day, and the radio choice usually becomes obvious.

Sponsor an article in Connectivity

Sponsored articles and in-article link placements for IoT vendors, agencies and SEO buyers. Every sponsored piece is labeled, edited to the same standard as the rest of the site, and placed in the hub its readers already visit. Rates on request.

Ask a question

Ask a question

Spotted an error, or want a topic covered? It goes straight to the editors, who reply by email, WhatsApp or SMS.