IoT & ConnectivityInternubiquitous

IoT Device Classification: Constrained, Gateway, Cloud

A practical breakdown of the constrained-device, gateway, and cloud IoT tiers, with resource budgets, protocol choices, and a battery-life worked example.

6 min readAhmet Zahid ArıcanUpdated 11 Sept 2026
Contents & prerequisites

Every IoT system diagram eventually collapses into three tiers — a constrained sensor node, a gateway, and a cloud service — but the boundaries between them are defined by hard resource and power budgets, not by marketing labels. Getting the classification right early in a project determines which protocol stack, silicon, and power architecture are even feasible, because the compute and energy budget of a Class 1 sensor node is three to four orders of magnitude smaller than that of a gateway.

The Three-Tier Model

A typical IoT deployment is layered as:

[Constrained Device] --(BLE/802.15.4/LoRa)--> [Gateway] --(Ethernet/Cellular/Wi-Fi)--> [Cloud]
   sensor + MCU              protocol bridge          message broker + storage + analytics
   µA–mA sleep current       mA–A active current       kW-scale data centers

Each tier exists because no single device class can simultaneously satisfy ultra-low power, protocol translation, and elastic compute. Splitting the system lets each tier be optimized independently.

Constrained Devices

These are the sensor/actuator endpoints — the "things." They're defined by RFC 7228's device classes (covered in depth elsewhere in this roadmap), but the practical classification hinges on three numbers:

ResourceTypical rangeWhy it matters
RAM1.5 KB – 50 KBLimits protocol stack choice (no full TCP/IP TLS stack fits in 10 KB)
Flash/ROM10 KB – 250 KBBounds firmware size, OTA image size, crypto library choice
Power sourceCoin cell, energy harvesting, battery packSets duty cycle: often <1% active time
RadioBLE, 802.15.4 (Zigbee/Thread), LoRa, sub-GHz proprietaryRange/bandwidth/power triangle, not full IP routing capability

Constrained devices almost never run a full IP stack with TLS 1.3; they use lightweight protocols (CoAP over UDP, BLE GATT, 6LoWPAN) and rely on the next tier to bridge into internet-routable transport. Design implication: firmware here is typically bare-metal or RTOS-based (FreeRTOS, Zephyr), interrupt-driven, and power-profiled in µA during sleep, mA during radio TX bursts.

Worked example — duty cycle and battery life: A soil-moisture sensor wakes every 10 minutes, samples, transmits over LoRa, and sleeps.

  • Sleep current: I_sleep = 2 µA
  • Active current (MCU + ADC + LoRa TX, ~200 ms burst): I_active = 120 mA
  • Duty cycle: t_active / t_cycle = 0.2 s / 600 s = 3.33×10⁻⁴

Average current:

I_avg = I_sleep·(1 − duty) + I_active·duty
      = 2 µA·(0.99967) + 120,000 µA·0.0003333...
      = 1.9993 µA + 40.00 µA
      ≈ 42.0 µA

With a 2400 mAh AA-cell pack: life = 2400 mAh / 0.042 mA ≈ 57,100 hours ≈ 6.5 years.

Check: active-phase contribution (≈40 µA) dominates the sleep contribution (≈2 µA) by 20×, confirming that radio TX time — not sleep current — is the lever most worth optimizing in this design. Halving the TX burst to 100 ms would drop I_avg to ≈22 µA, nearly doubling battery life.

Gateways

The gateway is the protocol and trust boundary between constrained radios and IP networks. It is not just a passive router — it typically performs:

  • Protocol translation: BLE/Zigbee/LoRa frames → MQTT/HTTP/CoAP over Ethernet, Wi-Fi, or cellular backhaul.
  • Local buffering: queues telemetry during backhaul outages (store-and-forward), critical for cellular links with intermittent coverage.
  • Edge processing: filtering, aggregation, threshold alarms, sometimes ML inference — reducing what's sent upstream (see Edge vs. Fog vs. Cloud trade-offs elsewhere in this roadmap).
  • Security boundary: terminates device-side lightweight security (e.g., BLE bonding, 802.15.4 AES-CCM) and re-establishes it as TLS/DTLS toward the cloud, often holding the device fleet's provisioning credentials.
  • Fleet fan-in: a single gateway commonly aggregates 10–200+ constrained devices, depending on radio and traffic pattern.

Hardware profile: an MCU-class part with more headroom (Cortex-A or high-end Cortex-M), 64 MB–2 GB RAM, persistent power (mains or large battery + solar), and usually a Linux or RTOS-with-networking-stack OS. This is the tier where you find products like industrial gateways, smart home hubs, and cellular routers.

Cloud Tier

The cloud tier receives aggregated telemetry and provides functions no edge device can economically host:

  • Message brokering at scale: MQTT brokers or managed IoT hubs handling millions of concurrent device connections.
  • Durable storage: time-series databases for telemetry history (see Time-Series Data article), object storage for firmware images.
  • Device management: registration, OTA orchestration, remote configuration, device shadows/digital twins.
  • Analytics and integration: batch/stream processing, dashboards, ML training, API integration into business systems (ERP, SaaS apps).
  • Elastic compute: scales horizontally with fleet size — the only tier where "just add servers" is a valid scaling strategy.

The cloud tier assumes effectively unconstrained power and compute relative to the edge; the engineering constraints here are about distributed systems (consistency, ordering, backpressure) rather than joules and bytes.

Why the Split Matters: A Concrete Comparison

PropertyConstrained DeviceGatewayCloud
RAMKBMB–GBeffectively unbounded
PowerµA–mA, battery/harvestedmA–A, mains/batterykW+, grid
ProtocolBLE, 802.15.4, LoRatranslates radio ↔ IPHTTP/MQTT/AMQP at scale
Security roleshared/pre-provisioned keysTLS termination, credential vaultcertificate authority, IAM
Failure modedevice offline, data lost until wakelocal outage → buffered queueregional outage → multi-AZ failover
Typical lifespan in field5–10+ years unattended3–7 years, serviceablecontinuously upgraded

A design mistake seen often: trying to run full mutual-TLS and a REST client directly on a coin-cell sensor. The RAM/flash and energy budget don't support it — this is precisely why the gateway tier exists, terminating heavyweight security and protocols on the device's behalf.

Practical Design Implications

  • Match protocol to tier, not the other way around. Don't force CoAP-only devices to speak MQTT directly to the cloud; let the gateway translate.
  • Push authentication complexity upstream. Constrained devices should use lightweight, symmetric-key or pre-shared credential schemes; asymmetric PKI and certificate rotation belong at the gateway/cloud boundary.
  • Size the gateway for fan-in, not fan-out. A gateway's RAM and connection-table limits, not its CPU, are usually the first bottleneck as device count per gateway grows.
  • Plan for the gateway as a single point of failure. Loss of one gateway can take out dozens to hundreds of devices' connectivity — budget buffering and redundancy accordingly.
  • Don't over-provision the cloud tier prematurely for a pilot with 50 devices, but do choose a broker/architecture (see IoT Scalability article) that won't require a rewrite at 50,000 devices.

Key Takeaways

  • The three-tier model — constrained device, gateway, cloud — exists because no single tier can meet the conflicting demands of ultra-low power, protocol bridging, and elastic compute simultaneously.
  • Constrained devices are classified by RAM/flash/power budgets (RFC 7228 classes) and typically run lightweight, non-IP-native radio protocols.
  • Gateways perform protocol translation, local buffering, edge processing, and security boundary termination — they are the trust and translation point of the architecture, not just a router.
  • The cloud tier provides durable storage, device management, and elastic analytics, with distributed-systems constraints replacing power/memory constraints.
  • Matching protocol and security complexity to the correct tier — not forcing heavyweight stacks onto constrained silicon — is the single most common architectural decision that determines whether a battery-powered deployment survives its target lifetime.

Learning

Sign in to track your progress.

Evidence

Public projects engineers linked to IoT Device Classification: Constrained, Gateway, Cloud.

Add evidence

No engineer has linked a project to this topic yet. Built something that proves it? Add the project and tag it with iot-connectivity-iot-device-classification-constrained-gateway-clou — it then shows here and on your public profile.