IoT sensor network explained
Short answer: An IoT sensor network is a set of sensor nodes that send their readings to a gateway, which forwards them to a cloud or server. The gateway is the bridge between the local devices and the internet. The main things to check are battery life, radio range and where the data gets processed.
How an IoT sensor network links nodes, gateways and a cloud, how the gateway reaches the internet, and what to check for battery life and range.
This article covers the three parts of an IoT sensor network (nodes, gateways, cloud or server), what the gateway does, how data is processed at the edge and in the cloud, and the battery and range limits to check It does not cover a choice of radio protocol, a ranking of vendors, the cost of a deployment, or the security design of a specific network
A sensor network has sensors spread across a site, and something has to collect what they measure. In an IoT sensor network, the sensors are small wireless devices called nodes. They send readings to a gateway, and the gateway sends them on to a cloud or server. This guide covers those three parts, what the gateway does, and what to check before you build one. For the protocols the nodes use, read IoT protocols.
The three parts
Nodes. Ezurio calls the most numerous devices in the IoT nodes. It says they are lightweight sensor devices that mostly gather status information over a set interval. A node senses and sends its readings.
Gateway. The gateway is the central hub for the sensors. It collects their data and provides the path to the cloud. The reference architecture calls it a communications bridge between sensors and actuators at one end and the Internet and cloud on the other.
Cloud or server. The reference architecture says data from many end points and gateways is aggregated in the cloud and passed to system-wide applications. Ezurio describes the cloud as storage and processing in a data center, pulling in data from a gateway.
What the gateway does
The reference architecture says the gateway is a security boundary between things with different security levels. It also converts between the sensor protocol on one side and Internet protocols on the other. Its uplink may be Wi-Fi, Ethernet or a longer link. The architecture says a gateway that is not near an Internet access point can use a medium-range link such as LoRa, or a wide-area link such as LTE or NB-IoT.
Ezurio says some gateways listen passively, and the sensor operates without knowing the gateway is there. Others allow two-way communication, so the sensor can be controlled from the cloud.
Where the data gets processed
The reference architecture says some data samples may never leave the edge and are processed, stored locally or discarded. The rest is sent on for processing elsewhere. Ezurio makes the same point from the other side: it is inefficient to send all the data to the cloud and make decisions there.
Battery and range
Ezurio says nodes can be wireless and run on a coin cell battery for years. Its example node uses 4.8 mA at peak transmission and 0.4 µA in deep sleep. Those figures show the gap between sending and sleeping. Ezurio says the technologies vary in throughput, range and power use. It also says a short-range Bluetooth gateway can give adequate coverage at a much smaller power draw for a smart home, where the components are all nearby.
What to check before you build one
- Coverage. Is there a gateway within range of every node, or does the site need a long-range link?
- Reporting interval. How often does each node send, and how long does its radio stay on?
- Gateway uplink. Is there an Internet access point nearby, and what happens when the link fails?
- Edge processing. Which readings need to reach the cloud, and which can be handled at the gateway?
- Two-way control. Do you need to send commands back to the nodes, or only receive readings?
Sources
- Ezurio, All about IoT, vendor blog, read in part: nodes, gateway role, cloud storage and processing, coin cell battery, power figures, range and power trade-offs.
- Internet of Things: System Reference Architecture (arXiv 2204.01872), read in part from the PDF text: gateway role and uplink options, cloud aggregation, edge data processing, gateway as communications bridge and security boundary.
The Ezurio page is a vendor blog. The reference architecture is an academic preprint. Both are read in part.
Common questions
What is an IoT sensor network?
A group of sensor devices that send their readings to a gateway, which passes them on to a cloud or server. The reference architecture describes gateways as the component that provides connectivity between locally connected sensors and the Internet.
What does a gateway do in a sensor network?
It collects data from the sensors and provides the path to the cloud. Ezurio calls it the central hub for sensors. The reference architecture calls it a communications bridge between sensors and actuators at one end and the Internet and cloud on the other.
Do sensor nodes need a gateway?
Usually, but not always. Ezurio says some gateways listen passively, and the sensor operates without knowing the gateway is there. The reference architecture says a gateway is often a point where Internet connectivity is achieved, and that some data may never leave the edge.
How long can a sensor node run on a battery?
Ezurio says some nodes can be wireless and run on a coin cell battery for years. It also says a node that transmits draws far more current than one in deep sleep, so the schedule and the radio matter.
Where is the sensor data processed?
Some at the edge, in the gateway or in the sensor, and the rest in the cloud. The reference architecture says data from many end points is aggregated in the cloud, and that some data samples may be processed or discarded at the edge.
Written by Hamza Rivera. Facts in this article follow the editorial policy: each one is behavior that is well established or set by the standard named in the text. A confirmed error is fixed in the article and its Updated date changes.