Ask three IoT architects to define “edge device” and “gateway” and you may get four different answers. The terminology is genuinely inconsistent across the industry — vendors use the terms interchangeably, standards bodies define them differently, and engineers from different backgrounds bring their own mental models. This article cuts through the confusion by establishing clear functional definitions, explaining how these components fit into modern IoT architectures, and providing practical guidance on when each approach serves your system better.
Clearing Up the Terminology
The terms “gateway” and “edge device” describe overlapping but distinct concepts:
An IoT gateway is fundamentally a protocol translator and aggregator. It sits between local devices (which use short-range local protocols like Zigbee, BLE, Modbus, or CAN) and the wider network or cloud (which uses IP-based protocols like MQTT over TCP, HTTPS, or AMQP). Its primary job is bridging these two worlds.
An edge device (or edge computing node) is fundamentally a local compute resource. It processes data near where it’s generated rather than sending raw data to the cloud. Edge devices run application logic, analytics, machine learning inference, and other compute tasks that would otherwise require cloud resources.
The confusion arises because many modern devices are both: a gateway that also performs local processing is simultaneously an edge device. But the concepts describe different capabilities — a gateway can be “dumb” (pure protocol translation, no processing), and an edge device need not be a gateway (a powerful embedded system that processes sensor data locally and connects directly to the cloud via cellular is an edge device but not a gateway in the traditional sense).
The Traditional IoT Gateway: Protocol Translation at its Core
The traditional gateway role emerged from a practical problem: short-range local protocols (Zigbee, BLE, Z-Wave, Modbus RTU, CAN bus) are excellent for their intended purpose but cannot directly reach the internet. IoT gateways solve this by:
Protocol conversion: A Zigbee-to-MQTT gateway receives Zigbee frames from sensor devices, extracts the payload, formats it as JSON or another cloud-friendly format, and publishes it to an MQTT broker via Wi-Fi or Ethernet. The sensor device needs no internet connectivity knowledge — it just speaks Zigbee.
Aggregation: A single gateway handles communication with potentially dozens or hundreds of local devices, multiplexing their data into a single upstream connection. This is far more efficient than each sensor maintaining its own cloud connection.
Local storage and buffering: Gateways typically have more storage than endpoint devices. They can buffer data locally during periods of cloud connectivity loss and synchronize when connectivity is restored.
Security termination: The gateway can provide a security boundary — encrypting traffic for the WAN side, isolating local device traffic from the internet, performing device authentication.
Classic gateway hardware examples:
- Raspberry Pi running home automation software (Home Assistant, Node-RED)
- Commercial gateways: MultiTech Conduit (LoRaWAN), Cisco IR829, Advantech WISE series
- Industrial gateways: Moxa MGate (Modbus/EtherNet-IP to cloud)
The Intelligent Edge Device: Local Compute at the Forefront
The intelligent edge computing paradigm extends the gateway concept by adding substantial local computation capability. Rather than simply translating and forwarding raw data, an edge device analyzes data locally and forwards results.
Key edge computing capabilities:
Local ML inference: An edge device running TensorFlow Lite or ONNX Runtime can apply trained machine learning models to sensor data locally. A predictive maintenance edge device might run a vibration analysis model that classifies bearing health from FFT features — sending a health score to the cloud rather than raw vibration waveforms.
Stream analytics: Continuous data stream processing — rolling averages, event detection, correlation analysis across multiple sensors — runs on the edge device, producing alerts and summaries that go to the cloud rather than raw streams.
Closed-loop control: For applications where the latency of cloud round-trips is unacceptable, the edge device runs the control logic locally. A smart HVAC controller makes comfort decisions based on local occupancy and temperature data without cloud dependency.
Local storage and historian: Industrial edge devices often run local time-series databases, storing high-resolution data locally (accessible via local API) while sending aggregated data to the cloud. This supports both local operator interfaces and cloud analytics.
Edge device hardware examples:
- NVIDIA Jetson family — GPU-accelerated edge AI inference
- Intel NUC with OpenVINO — optimized for Intel’s neural processing toolkit
- Amazon AWS Snowball Edge — edge computing with local S3/EC2
- Raspberry Pi 4/5 — versatile, inexpensive edge platform for lower-demand applications
- Industrial PCs: Beckhoff, Siemens SIMATIC, Advantech UNO

When to Use a Pure Gateway
A pure gateway approach (with minimal local processing) is appropriate when:
Data volumes are low and cloud processing is sufficient. A smart home with 20 Zigbee devices producing a few KB/second in total doesn’t need edge analytics — the cloud handles it easily.
Latency requirements don’t mandate local decisions. If your application can tolerate 200–500ms latency for all responses, pure cloud processing simplifies your architecture significantly.
You’re integrating legacy protocols. Brownfield deployments connecting existing Modbus, HART, OPC-DA, or serial devices to cloud systems often need protocol conversion without algorithmic processing — a gateway is the right tool.
Cost constraints are tight. A simple gateway (Raspberry Pi Zero 2W or a commercial Z-Wave/Zigbee hub) is inexpensive. Edge compute hardware capable of running ML inference can cost hundreds to thousands of dollars per node.
Remote management is simple. Pure gateways with minimal software are easier to manage and update than complex edge computing platforms running containerized workloads.
When to Use an Edge Device with Local Processing
Intelligent edge computing is warranted when:
Real-time response is required. Industrial control, robotics, safety systems, and anything requiring sub-100ms response time must process locally. The cloud round trip is physically too slow.
Bandwidth costs are significant. High-frequency sensor data (vibration at 10+ kHz, video, audio) is too expensive to stream to the cloud continuously. Edge processing extracts features locally and sends only meaningful results.
Operations continue without cloud connectivity. Any system that must function during network outages needs local decision-making capability. This is especially important in industrial, infrastructure, and safety applications.
Privacy requirements mandate local data processing. Systems processing biometric data, medical data, or other sensitive information may be designed to keep that data on-premises, with only anonymized or aggregated results going to the cloud.
ML inference improves with local context. Models that consider local state (not just individual readings) benefit from running on an edge device with access to the full local device ecosystem.
Hybrid Architectures: Gateway + Edge in the Same Device
The most practical modern IoT architectures use hardware that serves both roles simultaneously. A single edge gateway:
- Receives data from local devices (Zigbee, BLE, Modbus) — gateway function
- Processes it locally (filtering, aggregation, ML inference, control logic) — edge function
- Selectively forwards results to the cloud (alerts, summaries, aggregates) — both functions
This “edge gateway” design is increasingly the default for industrial and commercial IoT deployments. Platforms like AWS Greengrass and Azure IoT Edge are purpose-built for this pattern — they run cloud-managed containerized workloads on edge hardware, blurring the line between cloud and edge.
Software architecture for edge gateways:
- Container-based deployment (Docker) for edge applications
- Local message broker (Mosquitto) for intra-device communication
- Local rules engine and stream processor
- OTA update capability for both OS and application containers
- Remote monitoring and management via cloud console
UABit designs complete edge gateway architectures as part of our IoT device development services and IoT connectivity integration work.
Performance and Resource Considerations
Edge devices run the full software stack — OS, container runtime, application logic, ML runtime — on hardware that may have limited resources compared to cloud servers.
Compute requirements for common edge tasks:
| Task | Minimum Hardware | Typical Platform |
|---|---|---|
| Protocol translation only | Single-core ARM, 512MB RAM | RPi Zero, ESP32-S3 |
| Statistical analytics | Dual-core ARM, 1GB RAM | RPi 3, industrial Cortex-A |
| Computer vision (basic) | Quad-core, 4GB RAM, NPU | Raspberry Pi 4, Jetson Nano |
| Vision with deep learning | Jetson-class GPU | Jetson Orin NX, Hailo-8 |
| High-throughput stream processing | x86 multi-core, 8GB+ RAM | Intel NUC, industrial server |
Power consumption scales with compute requirements. Protocol translation can run on 2W hardware indefinitely. GPU-accelerated ML inference may require 20–50W — feasible for mains-powered installations but impractical for battery operation.
Security Differences Between Gateways and Edge Devices
Both gateways and edge devices require careful security attention, but the threat models differ:
Gateway security priorities:
- Isolating local network from WAN
- Authenticating connected devices
- Encrypting protocol-translated data in transit
- Preventing unauthorized device enrollment
Edge device security priorities:
- Protecting intellectual property (ML models, application logic) from extraction
- Secure boot to prevent unauthorized firmware/OS modifications
- Tamper detection and response
- Secure remote management channel
- Container isolation to limit blast radius of compromised applications
The IoT Security Foundation’s best practice guidelines cover security requirements for both device classes in detail.
Choosing the Right Hardware for Each Role
Pure gateway selection criteria:
- Protocol support (BLE, Zigbee, Z-Wave, LoRa, Modbus, etc.)
- WAN connectivity options (cellular, Ethernet, Wi-Fi)
- Environmental rating (industrial vs. consumer)
- Management interface (web UI, cloud-managed)
- Certifications required (FCC, CE, UL, ATEX for hazardous locations)
Edge device selection criteria:
- All gateway criteria plus:
- Compute requirements (CPU, GPU, NPU for ML workloads)
- Memory and storage (models and buffers can be large)
- Thermal design (edge servers in enclosed industrial enclosures need careful thermal management)
- Software ecosystem (support for your target ML framework, container runtime)
Conclusion
The distinction between IoT gateways and edge devices comes down to function: gateways translate protocols and aggregate device connections; edge devices process data locally to reduce latency, bandwidth, and cloud dependency. In practice, modern IoT deployments increasingly use hardware that does both simultaneously.
The key architectural decision is not which label applies to your intermediate node, but rather what functions that node must perform: pure protocol translation, local analytics, real-time control, or all three. Let those functional requirements drive the hardware and software selection.
For help designing the gateway and edge layer of your IoT architecture, UABit’s IoT consulting and prototyping team brings deep expertise in both embedded gateway hardware and edge computing software.
Further reading:
- AWS Greengrass documentation — edge-cloud hybrid IoT platform
- Azure IoT Edge runtime — containerized edge workloads
- Eclipse Kura — open-source Java IoT gateway framework
- Node-RED — visual flow-based edge/gateway programming
- NVIDIA Jetson platform — GPU-accelerated edge AI hardware
- Hackster.io edge computing projects — practical edge implementation examples
IoT & AIoT Weekly
Get the best IoT development content delivered weekly. No noise, just signal.