Insights / Hardware & Electronics

Types of IoT Sensors: What They Measure and How to Choose One

The main IoT sensor types, the physical principles behind them, and how to choose one by signal, power budget, interface and operating environment.

Portrait of Ivan Karbovnyk

Ivan Karbovnyk

Chief Technology Officer

Chief Technology Officer, responsible for Indeema's technology strategy, and a professor of radiophysics and computer technologies at Ivan Franko National University of Lviv.

View leadership profile

A hand pressing an illuminated touch keypad on a wall-mounted device

The short answer

IoT sensors turn a physical condition into data a device can act on. The most common types measure temperature, humidity and gas, pressure, level, proximity, motion, vibration and acceleration, rotation (gyroscopes), weight and force, light and infrared, with image, depth and touch sensors as more complex systems built on the same principles. Choosing one is less about the type than about four questions: what signal you really need, how much power the device can spend on it, how the reading reaches the microcontroller, and what environment it must survive.

Key takeaways

  • Start from the decision the reading must support, then pick the quantity, range, accuracy and sampling rate that decision needs.
  • The same quantity can be measured on different physical principles; range, drift, power and cost differ more than the label suggests.
  • Sample fast enough for the signal: at least twice its highest frequency, more in practice for vibration and pulse.
  • A sensor that goes quiet is a failure too. Monitor signal level, missed messages and silent nodes, not just the readings.

Why sensor choice decides what the product can know

Every connected product starts at a sensor. If the reading is noisy, drifts over months or arrives too slowly, no amount of cloud analytics recovers what was never measured. Sensor choice also fixes much of the rest of the device: its power budget, its enclosure, its calibration routine and how often someone has to visit it in the field.

That is why sensor selection belongs at the start of hardware design, alongside the radio and the power source, not at the end of a feature list. The questions below apply whether the product is a wearable, a smart building controller or a condition-monitoring unit on a factory motor.

What an IoT sensor is, and how a reading becomes data

IoT sensor
A component that converts a physical quantity, such as temperature, pressure, motion or light, into an electrical signal and then into digital values that a connected device can process, store and transmit.

Physical quantities are continuous; microcontrollers work with numbers. A sensor bridges the two with a sensing element that interacts with a force, medium or field, and a transducer that turns that interaction into an electrical signal. An analog-to-digital converter (ADC), either inside the sensor or integrated into the device's system-on-chip, turns the signal into values. Integrating the ADC on the SoC saves board space, external components and power, which matters in battery-powered devices.

  1. Sensing elementInteracts with the quantity being measured: heat, pressure on a membrane, light on a photodiode, a moving mass.
  2. Transducer and conditioningTurns the interaction into a voltage or current, then amplifies and filters it.
  3. ConversionAn ADC samples the signal into digital values, or a digital sensor delivers them over I2C, SPI or UART.
  4. Local processingThe microcontroller calibrates, filters and decides whether the reading matters.
  5. TransmissionThe radio sends the result, often a summary or event rather than every raw sample, to a gateway or the cloud.
How a physical condition becomes a reading the rest of the IoT system can use.
Icons for eleven sensor types: proximity, infrared, humidity and gas, weight, vibration, temperature, level, pressure, motion, optical and gyroscopic
The eleven sensor types that appear in most connected products, from simple temperature and level sensing to motion and rotation.

Sensors are the device's inputs. What happens next, the decision and the physical response through an actuator, is covered in sensors and actuators in IoT.

Three principles behind most simple sensors

Most simple sensing elements behave in one of three ways, and the principle decides the circuit you need around them, the accuracy you can expect and the cost.

The three most common sensing principles and what each asks of the circuit around it.
PrincipleHow it worksTypical sensorsWhat the circuit needs
Voltage generationA physical effect creates a potential difference across the contacts, such as a conductor moving in a magnetic field or the thermoelectric effect.Thermocouples, some magnetic and piezoelectric sensorsUsually amplification before the ADC; small signals are sensitive to noise
Resistance changeThe element's resistance changes with force, temperature, a chemical or another property of the environment.Thermistors, strain gauges, many gas and humidity sensorsA voltage divider with a known resistor; the ADC measures the voltage drop. Simple and cheap
Capacitance changeThe distance between plates, or the material between them, changes the capacitance.Pressure membranes, humidity sensors, proximity and touch sensorsCapacitance cannot be read directly; a charging circuit and usually an amplifier are needed

Other elements rely on a specific physical effect: the photoelectric effect in photodiodes, the piezoelectric effect in some pressure and acceleration sensors, or a resonant frequency that shifts with temperature or mass. These are often more precise and more expensive. Resistive elements are the easiest to work with in electronics, which is why they appear in so many low-cost devices.

The common IoT sensor types

The list keeps growing as manufacturers learn to detect more signals and as device processors become capable of combining several sensors into one measurement. These are the types that appear in most connected products.

Common IoT sensor types, what they measure, where they are used and what to check before choosing one.
Sensor typeMeasuresTypical usesWhat to check
TemperatureHeat, as resistance, voltage or a digital valueHVAC and thermostats, cold chain, equipment overheating, fire detectionRange, self-heating from nearby electronics, placement in the enclosure
Humidity and gasMoisture, CO₂, VOCs and other gasesVentilation control, air-quality monitoring, leak detectionCalibration drift, warm-up time, cross-sensitivity to other gases
PressureForce on a membrane: gas, liquid or barometric pressureBoilers and water systems, tyre pressure, weather, blood-pressure monitorsAbsolute vs relative measurement, overpressure rating, media compatibility
LevelHeight of a liquid or bulk materialTanks, fuel gauges, flood monitoring, liquid dispensingCapacitive, optical, ultrasonic or float principle; foam and residue
ProximityPresence or distance of a nearby objectParking assistance, machine guarding, object countingCapacitive, inductive, ultrasonic or photoelectric; target material and range
MotionMovement of people or objectsSecurity, occupancy-based lighting, gesture input, activity trackingFalse triggers, detection angle, standby power
Vibration and accelerationAcceleration of a mass on a spring, read piezoelectrically or capacitivelyMachine condition monitoring, screen orientation, fitness trackingFrequency range, sensitivity, number of axes, sampling rate
GyroscopeAngular velocity: the rate of rotation around an axisOrientation and navigation, drones, sports and motion analysisDrift over time; usually paired with an accelerometer
Weight and forceLoad, usually as strain on a deforming elementElevator overload, bulk loading, scales, packaging linesCreep under constant load, temperature compensation, mounting
InfraredHeat radiated by objects, or reflected IR from an emitterNon-contact temperature, presence detection, pulse measurement in wearablesField of view, ambient light and heat sources, emissivity of the target
Optical and lightLight intensity converted to current by the photoelectric effectScreen brightness, daylight-aware lighting, rotation counting with optocouplersSpectral response, dynamic range, contamination of the window

Temperature: thermocouples, thermistors and RTDs

A thermocouple joins two different conductors; a temperature difference between its ends produces a measurable voltage (the Seebeck effect). Depending on the metals, thermocouples cover very wide ranges, roughly from −200 °C to +1500 °C, which is why industry uses them on heaters, furnaces and machinery. Their drawbacks are a small, non-linear signal and lower accuracy in some ranges.

Most modern thermistors are semiconductor devices: small, cheap, easy to place next to a chip and well suited to mass deployment in devices and buildings. Their range is much narrower, roughly −55 °C to 160 °C for typical parts. Platinum resistance thermometers such as the Pt100 sit in between: stable and accurate, and common in industrial measurement points.

Pressure, acceleration and humidity

Pressure sensors read the deformation of a membrane: as a change in capacitance between plates, as a change in resistance of a strain gauge bonded to it, or through the piezoelectric effect. Piezoelectric absolute-pressure sensors can be small enough for phones and watches. Digital scales use the same idea, since weight is pressure on a surface.

Accelerometers suspend a small mass on springs and measure how far it shifts under acceleration. The same part that rotates a phone screen can monitor the vibration of a machine or a building, if its frequency range and sensitivity fit the signal. Humidity sensors are mostly capacitive or resistive elements built on a moisture-absorbing polymer; thermal designs that compare a wet and a dry chamber tolerate higher temperatures but can be disturbed by other gases.

Complex sensors: optical, ranging, imaging and touch

Many of the sensors in phones, wearables and robots do not measure a quantity directly. They combine emitters, detectors and processing to calculate it from a stream of raw data. That puts more of the engineering into firmware and signal processing.

Photodetector systems and optical pulse measurement

An optocoupler pairs an LED with a photosensor; a slotted wheel between them turns rotation into countable pulses. Optical displacement sensors, as in a computer mouse, add a second optical path and a small matrix of photosensitive elements, so the processor can work out both direction and speed of movement. Industrial equipment and printers use the same principle for non-contact position control.

Wearables estimate pulse and blood-oxygen saturation the same way. Blood absorbs and reflects light differently as capillaries fill, so a photodetector tracks the change in reflected light over time; saturation compares the response at two wavelengths, typically red and infrared. The sampling rate must be at least twice the highest heart rate expected, and the sensor must stay over the same patch of skin, which is why a loose band gives poor readings during exercise.

Rangefinders, LIDAR and time-of-flight

A laser rangefinder sends light towards a target and times the reflection. Because light is so fast, many rangefinders modulate the signal and measure the phase shift between what was sent and what came back. LIDAR repeats the measurement in many directions with moving optics to build a map of the surroundings; units have become far smaller and cheaper and now appear in vehicles, drones and robot vacuum cleaners.

Diagram of a rotating LIDAR unit with laser emitters and receivers on a drum above a motor housing
A rotating LIDAR unit sweeps paired laser emitters and receivers around its axis to measure distance in every direction.

Depth cameras either compare images from two or more cameras spaced apart, like binocular vision, or use time-of-flight: a pulsed infrared source lights the scene and the sensor accepts only light that returns with the right timing. Both produce a 3D point cloud, used for face authentication, gesture control and robot navigation.

A camera with a pulsed infrared source sends an encoded beam to a tree and receives the reflection, while sunlight is ignored
Pulsed infrared sensing accepts only light that returns with its own encoding, so ambient light does not disturb the depth measurement.

Image sensors

An image sensor is a large matrix of light-sensitive elements on one integrated circuit. CCD sensors historically offered better sensitivity; CMOS sensors are cheaper and more energy-efficient and are now used in almost all portable devices and surveillance cameras. Infrared-sensitive arrays are the basis of thermal imagers.

Cutaway of an image sensor package showing the sensor chip, wire bonds, cover glass, package and contact pads
Inside an image sensor package: the light-sensitive chip is wire-bonded to the package and protected by cover glass.

Touch sensors and fingerprint scanners

Capacitive touch has replaced almost every other touch technology. A lattice of transparent electrodes measures the capacitance between them, and a finger adds to it. Capacitive fingerprint sensors use the same idea at far higher resolution, which makes noise from the environment and the device itself the main design problem. Optical fingerprint sensors instead light the finger and image the ridges through a lens onto a CMOS sensor.

Exploded view of an optical fingerprint sensor: optical plate, light transmittance plate, lens, CMOS sensor and LED light source
An optical fingerprint sensor lights the finger from below and images its ridges through a lens onto a CMOS sensor.

Wireless sensor nodes and networks

A wireless sensor node combines the sensor with a microcontroller, a radio transceiver, an internal antenna or a connector for an external one, and a battery that can sometimes be replaced by an energy-harvesting element. A set of nodes reporting to a gateway forms a wireless sensor network (WSN). The gateway or a platform behind it processes the data and triggers a response, such as switching on ventilation when a room gets too warm.

Wireless matters most where cables are impractical. In machinery condition monitoring, sensors often need to sit on rotating or moving equipment where wiring would get in the way of the process. In healthcare, wearable sensors replace wired leads so that vital signs can be monitored while the patient moves. In homes and buildings, battery-powered motion, temperature and leak sensors can be installed without opening walls.

A network can include hundreds or thousands of nodes, each sending regularly, so the sensors themselves need monitoring. Planning should establish the signal level at which the gateway stops hearing a node, then set alerts around it.

  1. Signal levelAlert when received signal strength approaches the level at which the gateway would stop hearing the node.
  2. Signal dropAlert when signal strength falls sharply from one message to the next; it often precedes a fault.
  3. Missed messagesFlag gaps in the expected sequence, which point to interference or a failing sensor.
  4. Silent nodeRaise an alarm when a node has not reported for longer than its threshold, for example 30 minutes for a 10-minute reporting interval.
  5. NotifyDeliver the alert to the team by email, a dashboard or a message broker such as MQTT.
How a sensor network watches its own health and raises an alert before data is lost.

Range, battery life and data rate pull against each other in the radio choice. For low-power wide-area options, see NB-IoT explained; for how sensors fit with the other hardware blocks of a home device, see smart home device hardware.

From readings to maintenance decisions

Before connected sensors, maintenance staff measured temperature, humidity or vibration on critical assets by hand during periodic rounds. Sensors replace that with continuous, automatically recorded data that can be checked remotely, which reduces manual effort and recording errors.

The value appears when the readings are integrated with the software that plans work, such as a computerised maintenance management system (CMMS). Several sensors measuring different aspects of one machine build a history of the conditions just before a failure or near miss. That history is what makes it possible to recognise the pattern next time and act before the failure.

Engineering trade-offs

Integrated digital sensor vs analog sensing element

You gain
A digital sensor arrives calibrated, with its own ADC and a simple bus interface, so firmware and board design are faster.
You pay
Less control over sampling, filtering and range; supply and pin-compatible second sources can be harder.
Choose it when
Digital for common quantities at volume; an analog element when you need unusual ranges, high sample rates or full control of the signal chain.

Wired vs wireless sensor nodes

You gain
Wireless nodes go where cables cannot, such as moving machinery, patients and finished buildings, and install quickly.
You pay
Every node needs a power budget, a radio link to plan and monitor, and battery maintenance.
Choose it when
Wireless when cabling is impractical or costly; wired where power is available and readings are continuous or safety-critical.

Processing on the device vs streaming raw data

You gain
Summarising on the device, for example a vibration spectrum or an event, saves radio power and bandwidth.
You pay
It needs more capable firmware and a way to update the algorithm in the field; raw detail is lost unless captured on demand.
Choose it when
Process locally for high-rate signals and battery devices; stream raw data during development or when the analysis is still changing.

Sensor selection matrix

Four questions decide most sensor choices. This is how they play out for common sensing jobs.

Sensor selection matrix
DeviceSignal you actually needPower profileInterface to the MCUEnvironment to check
Room temperature and humiditySlow-changing; one reading per minute or less is usually enoughVery low; sample, transmit, sleepDigital sensor over I2C, or a thermistor on an ADC pinSelf-heating from the board, airflow through the enclosure
Machine vibrationFrequency content up to the fault frequencies of the machineHigh during capture; process on the device and send summariesAccelerometer over SPI, or analog through a high-rate ADCMounting stiffness, temperature, dust and oil
Occupancy or motionAn event, not a continuous valueVery low; the sensor wakes the MCU on detectionDigital interrupt lineHeat sources, pets, lens angle and mounting height
Pressure or level in a tank or pipeAbsolute or relative value at a defined accuracyLow; periodic samplingAnalog current or voltage loop, or a digital interfaceMedia compatibility, overpressure, freezing and condensation
Pulse or blood oxygen on the bodyA waveform sampled well above twice the highest heart rateModerate; the emitter LEDs dominateIntegrated optical front end over I2C or SPISkin contact, movement, ambient light
Depth or distance for a robotRange and resolution across a field of viewHigh; emitter plus processingDedicated ToF or LIDAR module with its own processorSunlight, reflective or dark surfaces, dust on the window

Decision rule: Write down the decision the reading supports first, then fix sampling rate and accuracy, then power and interface. Choose the part last, and test it in the real enclosure and location.

Before you commit to a sensor

A short checklist that turns a sensing idea into a hardware requirement:

  • State the decision the reading supports and what happens if the reading is wrong or missing.
  • Define range, accuracy over the product's life and the sampling rate the signal really needs.
  • Measure the sensor's real power draw in your duty cycle, including warm-up and conversion time.
  • Choose the interface (analog, I2C, SPI, interrupt) and check it against the MCU's pins and ADC.
  • Test in the real enclosure and installation: heat from electronics, airflow, mounting and contamination.
  • Plan calibration, self-test and health monitoring so a drifting or silent sensor is detected.

Common mistakes

  1. Choosing by the datasheet accuracy figure alone

    Drift, self-heating and placement errors in the field exceed the headline accuracy.

    Instead: Specify accuracy over the product's lifetime in the real enclosure, and plan recalibration.

  2. Sampling too slowly

    Vibration faults or pulse peaks fall between samples and the data looks clean but is wrong.

    Instead: Sample at least twice the highest frequency of interest, with margin, and filter before the ADC.

  3. Streaming every raw sample over the radio

    Batteries drain and the network saturates as the fleet grows.

    Instead: Process on the device and send summaries or events; capture raw data on demand.

  4. Treating silence as normal

    A node with a dead battery or a blocked signal goes unnoticed until the data is needed.

    Instead: Alert on signal level, missed messages and nodes that stop reporting.

Where we've built this

Matching the sensor to the signal shaped a machinery condition-monitoring product we built. The work covered integrating multichannel accelerometers into the diagnostic unit, embedded acquisition with calibration and self-diagnostics, and the monitoring software that turns vibration into condition views and alerts.

Case studyTurning machine vibration into condition-monitoring viewsA vibration diagnostic unit for rotating machinery, where the accelerometer's frequency range, sensitivity and sampling had to match the machine before any analytics could help.

Questions engineers ask

How are sensors used in IoT?

A sensor converts a physical condition into digital data. The device's microcontroller filters and interprets it, and the device either acts locally or sends the result to a gateway or cloud platform, where it feeds dashboards, alerts and automated decisions.

What are IoT sensors that detect the presence or absence of nearby objects called?

Proximity sensors. They use capacitive, inductive, ultrasonic or photoelectric principles to detect an object, and often its distance, without touching it.

Which type of electronic sensor is the least complex and expensive?

Sensors that behave like resistors, such as thermistors and many humidity and gas elements. A voltage divider and the microcontroller's built-in ADC are often enough to read them.

How do you choose a wireless sensor for remote industrial monitoring?

Start from the signal the decision needs, its range and sampling rate. Then check the power budget against the reporting interval, the radio range on the real site, the mounting and environmental rating, and how the network will detect nodes that stop reporting.

Was this useful?

Where this shows up in our work

ExpertiseHardware and electronics engineering for connected productsWhen the open questions are which sensor, which signal chain, what power budget and how to make it survive the installation, our hardware and electronics engineers own those decisions with the firmware team.

Where sensors watch machines that have to keep running, mounting, wiring and maintenance routines change the design. See Engineering connected products for machines that keep running.

Apply this to your product

Talk through your device architecture

Talk through your device architecture