IoT sensors and hardware: boards, sensors and power
The parts an IoT node is built from and how to choose between them: the microcontroller board, the sensors it reads, and the power source that decides how long it runs.
Sensors and hardware articles
- 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.
- 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.
- 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.
- 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.
- 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.
- What is an IoT device? Parts, examples and how they connect
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.
- 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.
- 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.
- 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.
- 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.
Related guides
Shorter guides to the questions that come up around sensors and hardware.
- 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.
- 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.
- 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.
- 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.
What this topic covers
This topic covers the hardware side of building a connected device: which microcontroller family fits which project, how the common temperature and humidity sensors differ in practice, and how to power a node from mains, batteries or a small solar panel. The articles assume you can follow a wiring diagram and are happy to write or adapt a little code.
It does not cover PCB design for production, certification for radio equipment, or industrial-grade sensors with their own signal conditioning. Those come after the prototype works, and they have their own literature.
The IoT sensors overview is the place to start: it groups sensors by what they measure and explains the three kinds of output you will meet before you pick a board to read them.
Common sensors and hardware questions
Which board should a beginner start with for an IoT project?
For anything that needs to send data over Wi-Fi, an ESP32 development board is the shortest path: the radio is built in, the boards are inexpensive, and the ecosystem of libraries and examples is large. If the project is about reading sensors and driving simple outputs with no network at all, a classic Arduino board is easier to understand, because there is less going on inside it. The Raspberry Pi Pico sits between the two, with a fast core and flexible input and output but no radio on the base model.
The microcontroller comparison article sets out the trade-offs board by board. The general advice is to choose the board whose examples most closely match what you want to build, because for a first project the quality of the available tutorials matters more than the specification sheet. Buy two of whatever you choose; the second one saves a week when the first meets a mistake with the power supply.
How accurate does a sensor need to be?
As accurate as the decision you will make from its reading, and no more. A sensor that turns a fan on when a room gets warm does not need to know the temperature to a fraction of a degree, because the fan's threshold is a rough one anyway. A sensor that logs the humidity in a storage room where the acceptable band is narrow needs to be repeatable across that band and to respond quickly when conditions change.
Two things matter more than the headline accuracy figure on a datasheet. Repeatability is whether the same conditions give the same reading each time, which is what an alarm threshold relies on. Response time is how long the sensor takes to follow a change, which decides whether it can catch a short event. The sensor comparison article treats both, and the sensor placement notes in it explain why a well-placed cheap sensor often beats a badly placed accurate one.
How long can a sensor run on batteries?
Anywhere from a day to several years, and the difference is almost entirely how the node spends its time. A microcontroller with its radio on continuously draws enough current that a small battery lasts hours or days. The same microcontroller that wakes for a fraction of a second, takes a reading, sends it and goes back to a deep sleep state can run for months on the same battery, because the average current is dominated by the sleeping state rather than the active one.
The powering article shows how to estimate this with a simple budget: the active current, how long each wake lasts, how often it happens, and the sleep current in between. It also covers why the battery chemistry and the voltage regulator matter, and when a small solar panel makes more sense than a bigger battery. If you want a single rule, it is that the interval between readings is the lever you can move most.
Sponsor an article in Sensors and hardware
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.