Skip to content
IoT Crest

What is an IoT device? Parts, examples and how they connect

Updated , 7 min read

Short answer: An IoT device is a physical object with a sensor or actuator, a small computer and a network connection, built to do one job and to report data or take commands over a network without a person operating it. Smart plugs, thermostats, water meters, machine vibration sensors and connected streetlights are all IoT devices.

What is an IoT device: the parts inside one, examples at home, at work and in cities, how IoT devices connect, and how they differ from a phone or a laptop.

This article covers a working definition, the parts inside an IoT device, examples across homes, businesses, industry and cities, how devices connect, and the main risks. It does not cover choosing a specific product, protocol details beyond the basics, or step-by-step security hardening, which have their own articles.

An IoT device is a physical object that senses or changes something in the real world and is connected to a network, so it can send what it measures and receive commands without a person sitting in front of it. The name comes from the Internet of Things, the idea of ordinary objects joining the network alongside computers and phones. A temperature sensor that reports every few minutes, a smart plug you switch from an app and a pump controller in a factory are all IoT devices. This article gives a working definition, takes one apart, lists examples in different settings, explains how IoT devices connect and how they differ from a computer or phone, and sets out the risks that come with them.

What is an IoT device: a working definition

Three things together make a device part of the Internet of Things.

It deals with the physical world. It measures something, such as temperature, motion, light, current or position, or it acts on something by switching a relay, turning a motor or opening a valve. Many devices do both.

It is connected. It sends data to, or takes instructions from, a service somewhere else: an app, a hub in the house, a server on a factory floor or a cloud platform. The connection might be Wi-Fi, a low-power radio, a cellular modem or a cable.

It runs largely unattended. It does one job, repeatedly, for years, with no keyboard or screen and nobody operating it. People see the results in an app or dashboard, but the device itself just gets on with its task.

“IoT devices”, in the plural, usually means the whole category: sensors, actuators, gateways and the smart products built from them. The meaning is the same whether the device sits in a kitchen or on an oil pipeline.

The parts of an IoT device

Open almost any IoT device and you find the same six parts, even when they share one chip.

The sensor or actuator is the part that touches the world. A sensor turns a physical quantity into an electrical signal; an actuator does the reverse, turning a signal into movement, heat, light or a switched circuit. The IoT sensors guide covers the common types and what each one measures.

The microcontroller is the small computer that reads the sensor, decides what to do and drives the actuator. It has its processor, memory and storage on one chip, draws little power and can sleep between tasks. Larger devices such as cameras and gateways often use a more powerful processor running Linux instead. The microcontroller comparison looks at the boards most people start with, and the ESP32-C6 guide covers a newer chip built around smart home radios.

The radio or network interface connects the device. It might be Wi-Fi, Bluetooth Low Energy, Zigbee or Thread, LoRa, a cellular modem, or wired Ethernet. The choice of radio decides much of the rest of the design, because it sets how far the device can reach, how much data it can send and how much power it uses.

Power comes from mains, a battery or harvested energy such as a small solar cell. On a battery device the power budget governs everything else: how often it wakes, how long its radio stays on and how many readings it can send. Some devices have no battery at all and run only on harvested energy; the ambient IoT guide explains how they manage.

Firmware is the software that runs on the microcontroller. It holds the logic, the network code and the device’s identity and security keys, and on a well-designed device it can be updated over the network.

The service is the part outside the box: a cloud platform, a local hub or an on-site server that receives the data, stores it, runs rules and sends commands back. For most IoT devices the service is what makes the device useful, and a device whose service is switched off often stops working.

heat, motion, light relay, valve, motor one IoT device sensor reads actuator switches MCU microcontroller runs firmware reads, decides, sends radio Wi-Fi, Thread, LoRa, cellular power battery, mains or harvested energy service cloud or local hub readings go out through the radio; commands come back and drive the actuator
Diagram: the parts inside one IoT device. A sensor reads the physical world and an actuator acts on it; the microcontroller running the firmware sits between them and the radio; a power source feeds everything; and the radio links the device to a cloud or local service that receives readings and sends commands back.

Examples of IoT devices

The same anatomy turns up in very different places. What changes is what the device measures, how far it has to reach and how long it has to last.

SettingExamplesWhat they sense or doTypical connection
HomeSmart plugs, thermostats, door and window sensors, smart locks, video doorbellsSwitch power, hold a temperature, report open or closed, stream videoWi-Fi, Zigbee, Thread, Bluetooth
Business and buildingsOccupancy sensors, air quality monitors, smart meters, asset tagsCount people, measure CO2 and humidity, report energy use, locate equipmentWi-Fi, Ethernet, LoRaWAN, cellular
IndustryVibration and temperature sensors on motors, tank level sensors, connected PLCs and gatewaysWatch machine health, track stock levels, feed production data upwardWired fieldbus, Ethernet, Wi-Fi, cellular
Cities and utilitiesWater meters, streetlight controllers, parking sensors, waste bin fill sensorsRead consumption, dim lights, report free spaces and full binsLoRaWAN, NB-IoT, LTE-M
AgricultureSoil moisture probes, weather stations, livestock trackersMeasure soil and weather, locate animalsLoRaWAN, cellular

A few things in the table are worth drawing out. Home devices mostly sit within reach of Wi-Fi or a hub, so they use short-range radios. City and farm devices are spread over kilometers and run on batteries for years, which pushes them toward long-range, low-power networks. Industrial devices often connect to machines that already have their own networks, and a gateway bridges the two.

How an IoT device differs from a computer or a phone

A laptop or phone is a general-purpose computer. You install whatever apps you like, you sit in front of it, and it has a screen, a keyboard and a large battery that you charge every day. An IoT device is built for one task, and the differences follow from that.

It runs fixed firmware for a single purpose. You cannot install new software on a smart plug, and the manufacturer decides what it does.

It has no screen or keyboard, or a very small one. You interact with it through an app, a hub or its own physical button.

It is constrained. A typical sensor has a microcontroller with kilobytes of memory, a radio chosen for low power and a battery expected to last months or years.

It lives a long time with nobody watching. A meter or thermostat may stay on the wall for ten years or more, and its owner rarely thinks about updating it.

The boundary is not sharp. Smart speakers, smart TVs and connected cars contain full computers but behave like IoT devices in the ways that matter: one main purpose, managed by the manufacturer, and connected all the time. Many people count them as IoT devices, and for security purposes they should be treated as such.

How IoT devices connect

There are two basic routes from an IoT device to the service it reports to.

The direct route suits devices with an IP-capable radio. A Wi-Fi or Ethernet device joins the local network and talks to its service over the internet. A cellular device, including those on the low-power NB-IoT and LTE-M networks, connects straight to a mobile network. In both cases the device speaks an internet protocol itself, usually MQTT or HTTPS, sometimes CoAP.

The gateway route suits devices whose radio is too small or too low-power to reach the internet on its own. Zigbee, Bluetooth Low Energy and LoRaWAN devices send their readings to a hub or gateway nearby, and the gateway forwards them over the home or site network. Thread is a middle case: it carries IP, but it still needs a border router to reach the rest of the network. The gateway often does more than pass messages along: it can translate protocols, filter or combine readings, and keep working locally if the internet connection drops.

through a gateway sensor Zigbee, BLE, LoRaWAN radio gateway or hub, bridges to IP MQTT direct sensor Wi-Fi or cellular IP, direct: MQTT, HTTPS service cloud or local stores data runs rules API app dashboard top: a low-power radio needs a gateway to reach an IP network bottom: a Wi-Fi or cellular device talks to the service itself
Diagram: the two paths a reading can take. A low-power sensor sends it by radio to a gateway or hub, which forwards it over IP to the service; a Wi-Fi or cellular sensor sends it to the service directly. The service stores the reading, runs rules and passes the result to the app.

Which route a device uses depends on its radio, and the radio depends on its range, data and power needs. The IoT protocols explainer lays out the radios and the messaging protocols above them as one stack.

The risks of IoT devices

The features that make IoT devices useful also make them a risk. They are connected all the time, they run for years and nobody watches them.

Security is the first concern. Devices have shipped with default passwords, open network services and unencrypted traffic, and a compromised device can be used to spy on its owner, reach other machines on the same network or join attacks on other systems. Putting IoT devices on their own network segment limits the damage one weak device can do.

Updates are the second. Firmware has flaws like any software, and a device that cannot be updated keeps them for life. A good device checks for updates, installs them automatically and verifies they came from the manufacturer.

End of support is the third. Manufacturers stop issuing updates after a while, and some shut down the cloud service a device depends on, which can leave it unpatched or stop it working entirely. Some countries, the UK among them, now require manufacturers to state how long a device will receive security updates, and that period is worth checking before you buy. Devices that can work with a local hub are less exposed to a service shutting down.

The IoT device security basics article covers these risks in more depth, with the checks to run on any device before it goes on your network.

Written by the IoT Crest editorial team. Facts in this article follow the editorial policy: only well-established behavior is stated and no figures are invented.

More from Sensors and hardware

  1. Hall effect sensor: how it works, types and uses

    How a Hall effect sensor works, its switch, latch, linear and 3D types, wiring to a microcontroller, common uses, and how it compares with a reed switch.

  2. Ambient IoT: battery-free devices explained

    Ambient IoT explained: devices that run on harvested energy with no battery, how backscatter works, the 3GPP and Bluetooth approaches, uses and real limits.

  3. ESP32-C6 explained: Wi-Fi 6, Thread and Zigbee

    ESP32-C6 explained: its RISC-V cores, Wi-Fi 6, Bluetooth LE and Thread or Zigbee radio, how it compares with ESP32, C3, S3, H2 and C5, and when to choose it.

  4. I2C vs SPI: which sensor bus to use

    I2C vs SPI compared for sensor projects: wires and pull-ups, addresses against chip selects, speed, distance, power, and which bus suits each kind of part.

  5. mmWave sensor vs PIR: how presence and motion detection differ

    An mmWave sensor is a small radar that can detect a person sitting still, where a PIR sensor sees only movement. How each works, false triggers and placement.

  6. IoT sensors: the main types and how to choose one

    IoT sensors explained: the main sensor types by what they measure, how analog, digital and wireless outputs differ, and how to choose one for a project.

  7. Choosing a microcontroller for an IoT project: ESP32, Arduino or Raspberry Pi Pico

    Choosing a microcontroller for an IoT project: how ESP32, Arduino boards and the Raspberry Pi Pico compare on radio, power, pins and toolchain.

  8. Temperature and humidity sensors compared: DHT22 vs SHT31 vs BME280

    DHT22 vs SHT31 vs BME280 compared: interface, accuracy class, response time, self-heating, and which temperature and humidity sensor suits each project.

  9. Powering IoT sensors: batteries, solar and deep sleep

    Powering IoT sensors: how to estimate a power budget, choose between mains, batteries and solar, and use deep sleep so a node runs for months.

All sensors and hardware articles

Sponsor an article in this topic

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.