How unit 2 is examined
This unit covers sensors (definition, features, types, errors), the sensor node, and actuators; the marks sit in sensor types, the sensor node, actuator selection and the four sensor errors.
Define Sensor
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A sensor is a device that detects a physical, chemical or biological quantity from its surroundings and converts it into a measurable electrical signal.</mark>
Key points.
- The measured quantity is called the measurand, for example temperature, light, pressure or motion.
- A sensor is the input side of an IoT system: it turns the real world into data.
- Output is usually voltage, current or a digital code that a microcontroller can read.
- Many sensors need a signal conditioning stage (amplifier, filter, ADC) after the sensing element.
Basic components and challenges of a sensor node
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Medium weight</span>
Definition. A sensor node is a small, battery-powered device that senses a quantity, processes it locally and sends it wirelessly to a gateway or sink.
Diagram. <figure class="ds-fig" style="margin:1.4rem 0;overflow-x:auto"><svg xmlns="http://www.w3.org/2000/svg" id="dsfig-u2-01" viewBox="0 0 467 252" width="467" height="252" role="img" aria-label="Sensor node. Sen = sensing unit, ADC = analog to digital converter, MCU = processing unit with memory, Rad = transceiver, Pow = power unit"><style>#dsfig-u2-01 .e{stroke:#454C5A;stroke-width:1.4;fill:none}#dsfig-u2-01 .e.hi{stroke:#2340B8;stroke-width:2.6}#dsfig-u2-01 .n{fill:#FFFFFF;stroke:#16181D;stroke-width:1.4}#dsfig-u2-01 .n.hi{fill:#E3E9FC;stroke:#2340B8;stroke-width:2.2}#dsfig-u2-01 .n.rb-b{fill:#16181D;stroke:#16181D}#dsfig-u2-01 .n.rb-r{fill:#BD3227;stroke:#BD3227}#dsfig-u2-01 text{font-family:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;font-size:13px}#dsfig-u2-01 .t{fill:#16181D;font-weight:500}#dsfig-u2-01 .t.inv{fill:#FFFFFF;font-weight:700}#dsfig-u2-01 .kd{stroke:#16181D;stroke-width:1.2}#dsfig-u2-01 .dot{fill:#16181D}#dsfig-u2-01 .ann{fill:#2340B8;font-size:11px;font-weight:700}#dsfig-u2-01 .lbl{fill:#6F7787;font-family:system-ui,-apple-system,sans-serif;font-size:12px;font-weight:700}#dsfig-u2-01 .ptr{fill:#2340B8;font-size:12px;font-weight:700}#dsfig-u2-01 .ah{fill:#454C5A}#dsfig-u2-01 .ah.hi{fill:#2340B8}#dsfig-u2-01 .wl rect{fill:#FFFFFF;stroke:#DCE0E7}#dsfig-u2-01 .wl .t{font-size:12px;font-weight:700}#dsfig-u2-01 .wl.hi rect{fill:#2340B8;stroke:#2340B8}#dsfig-u2-01 .wl.hi .t{fill:#FFFFFF}html.dark #dsfig-u2-01 .e{stroke:#B1B7C3}html.dark #dsfig-u2-01 .e.hi{stroke:#8FA3FF}html.dark #dsfig-u2-01 .n{fill:#161920;stroke:#E6E8ED}html.dark #dsfig-u2-01 .n.hi{fill:#1E2748;stroke:#8FA3FF}html.dark #dsfig-u2-01 .n.rb-b{fill:#E6E8ED;stroke:#E6E8ED}html.dark #dsfig-u2-01 .n.rb-r{fill:#FF7E71;stroke:#FF7E71}html.dark #dsfig-u2-01 .t{fill:#E6E8ED}html.dark #dsfig-u2-01 .t.inv{fill:#0F1115}html.dark #dsfig-u2-01 .kd{stroke:#E6E8ED}html.dark #dsfig-u2-01 .dot{fill:#E6E8ED}html.dark #dsfig-u2-01 .ann{fill:#8FA3FF}html.dark #dsfig-u2-01 .lbl{fill:#858D9C}html.dark #dsfig-u2-01 .ptr{fill:#8FA3FF}html.dark #dsfig-u2-01 .ah{fill:#B1B7C3}html.dark #dsfig-u2-01 .ah.hi{fill:#8FA3FF}html.dark #dsfig-u2-01 .wl rect{fill:#161920;stroke:#2A2E37}html.dark #dsfig-u2-01 .wl.hi rect{fill:#8FA3FF;stroke:#8FA3FF}html.dark #dsfig-u2-01 .wl.hi .t{fill:#0F1115}</style><defs><marker id="ah10" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="ah" d="M0,1 L9,5 L0,9 z"/></marker><marker id="ahh10" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="ah hi" d="M0,1 L9,5 L0,9 z"/></marker></defs><path class="e" d="M59,40 L148,40" marker-end="url(#ah10)"/><path class="e" d="M188,40 L277,40" marker-end="url(#ah10)"/><path class="e" d="M319,40 L406,40" marker-end="url(#ah10)" marker-start="url(#ah10)"/><path class="e" d="M298,193 L298,61" marker-end="url(#ah10)"/><circle class="n" cx="40" cy="40" r="18"/><text class="t" x="40" y="40" dy=".35em" text-anchor="middle">Sen</text><circle class="n" cx="169" cy="40" r="18"/><text class="t" x="169" y="40" dy=".35em" text-anchor="middle">ADC</text><circle class="n" cx="298" cy="40" r="18"/><text class="t" x="298" y="40" dy=".35em" text-anchor="middle">MCU</text><circle class="n" cx="427" cy="40" r="18"/><text class="t" x="427" y="40" dy=".35em" text-anchor="middle">Rad</text><circle class="n" cx="298" cy="212" r="18"/><text class="t" x="298" y="212" dy=".35em" text-anchor="middle">Pow</text></svg><figcaption style="font-size:.82em;opacity:.72;margin-top:.45rem">Sensor node. Sen = sensing unit, ADC = analog to digital converter, MCU = processing unit with memory, Rad = transceiver, Pow = power unit</figcaption></figure>
Key points.
- The sensing unit holds the sensor and an ADC, and converts the physical quantity into a digital signal.
- The processing unit is a microcontroller with memory; it runs the program, filters data and controls the other units.
- The transceiver gives wireless communication (ZigBee, BLE, Wi-Fi, LoRa) to the gateway.
- The power unit is a battery, often with solar harvesting, and decides the node lifetime.
- Requirements of an IoT device are low power, connectivity, security, scalability and low cost.
- Challenges are heterogeneity of devices, limited energy, memory and processing (resource constraints), poor interoperability between vendors, and difficult remote management and updates.
- Design implication: use duty cycling, light protocols and standard interfaces so that large numbers of nodes stay cheap, secure and manageable.
| Basis | Sensor node | Actuator node |
|---|---|---|
| Function | Senses and reports data | Receives commands and acts |
| Data flow | Environment to network | Network to environment |
| Key part | Sensor and ADC | Actuator and driver or DAC |
| Example | Temperature node | Relay or valve node |
| Power | Low, sleeps often | Higher, drives a load |
Answer frame. Open with the definition; draw the block diagram; develop the four units, then requirements and challenges; for Q3 add the table; close with the design implication.
Asked: [7 marks] (May 2023) Explain challenges and requirements of IoT device. Asked: [7 marks] (May 2026) Explain the basic components of a sensor node and differentiate between sensor node and actuator node.
Sensor features
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Sensor features are the performance characteristics that describe how well a sensor measures: range, accuracy, sensitivity, resolution, precision, linearity, response time and repeatability.</mark>
Key points.
- Range is the span between the minimum and maximum values the sensor can measure.
- Accuracy is how close the reading is to the true value; precision is how close repeated readings are to each other.
- Sensitivity is the change in output per unit change in input.
- Response time is how fast the output follows a change; linearity is how straight the output-input line is.
Sensor resolution
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Resolution is the smallest change in the measured quantity that a sensor can detect.</mark>
Formula. For an $n$-bit ADC over a span $V$: $$\text{resolution}=\frac{V}{2^n}$$
Key points.
- A 10-bit ADC over 5 V gives $5/1024 \approx 4.88$ mV per step.
- More bits means finer resolution but larger data and higher cost.
- Resolution is not accuracy: a sensor can show fine steps and still be wrong.
Analog Sensors
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>An analog sensor gives a continuous output (voltage or current) proportional to the measured quantity.</mark>
Key points.
- Examples are LM35 temperature sensor, LDR and thermistor.
- The output needs an ADC before a microcontroller can use it.
- They are simple and cheap but sensitive to noise over long wires.
Digital Sensors
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A digital sensor converts the measurement internally and outputs discrete binary data or a digital signal.</mark>
Key points.
- Examples are DHT11, DS18B20 and PIR, using I2C, SPI, 1-wire or on/off levels.
- No external ADC is needed, and the signal is noise-resistant.
- They cost more but are easier to interface and calibrate.
Scalar Sensors
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A scalar sensor measures only the magnitude of a quantity and gives a single value with no direction.</mark>
Key points.
- Examples are temperature, humidity, pressure and light sensors.
- Output is one number per reading.
- Direction is irrelevant to the measurement.
Vector Sensors
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A vector sensor measures both magnitude and direction of a quantity.</mark>
Key points.
- Examples are accelerometer, gyroscope, magnetometer and anemometer with direction.
- Output has several components, such as x, y and z axes.
- They are used for motion tracking, orientation and navigation.
Sensor Types
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Medium weight</span>
Definition. Sensors are classified by the quantity they measure; in IoT they let devices observe the physical world before data is processed and sent to the cloud.
Key points.
- Temperature sensors (LM35, DHT11) measure heat and suit smart homes and cold chains.
- Humidity sensors measure moisture in air and are used in agriculture and weather stations.
- Pressure sensors (BMP180) measure air or fluid pressure for altitude, weather and industrial lines.
- Proximity and ultrasonic sensors (HC-SR04) find distance to objects for parking and robots.
- PIR motion sensors detect human movement for security and lighting.
- Gas sensors (MQ series) detect gases and smoke for safety and air quality.
- Light (LDR), accelerometer and gyroscope sensors serve streetlights, wearables and vehicles.
- Building blocks of IoT are sensing, processing, connectivity, cloud, analytics and user interface; sensors form the first block and feed the rest.
| Sensor | Principle | Range | Output | Power and cost | Use |
|---|---|---|---|---|---|
| LM35 temperature | Voltage rises with temperature | -55 to 150 C | Analog | Low, cheap | Room monitoring |
| DHT11 humidity | Resistive humidity element | 20 to 90 % RH | Digital | Low, cheap | Weather, farming |
| BMP180 pressure | Piezo-resistive | 300 to 1100 hPa | Digital (I2C) | Low, medium | Altitude, weather |
| PIR motion | Infrared change | About 7 m | Digital on/off | Very low, cheap | Security |
| HC-SR04 ultrasonic | Echo time of sound | 2 to 400 cm | Digital pulse | Low, cheap | Distance, parking |
| MQ-2 gas | Gas changes resistance | 300 to 10000 ppm | Analog | High (heater), cheap | Leak, smoke |
Answer frame. Open with the role of sensors in IoT; classify by quantity with one example each; give the comparison table; close with selection criteria: range, accuracy, power, cost and interface. For Q5 first list the six building blocks in one line each.
Asked: [7 marks] (May 2023, May 2024) What are the different types of sensors used in IoT network? Compare the common commercially available sensors used for IoT-based sensing applications. Asked: [7 marks] (May 2022) Discuss the building blocks of IoT. What are the most used sensor types in IoT?
bias
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Low weight</span>
Definition. <mark>Bias (offset error) is a constant difference between the sensor reading and the true value, present at every point of the range.</mark>
Key points.
- Cause is manufacturing tolerance or wrong zero setting; effect is every reading shifted by the same amount.
- Example: a thermometer that reads 2 C when the true value is 0 C has a bias of 2 C, which affects weighing scales and medical thermometers.
- Fix by calibration: measure the offset once and subtract it in software.
Asked: [7 marks] (May 2026) Describe bias, drift, hysteresis error and quantization error in sensors with suitable examples and applications. (answer with bias, drift, hysteresis and quantization sections below)
drift
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Drift is the slow change in a sensor output over time even though the input stays constant.</mark>
Key points.
- Causes are ageing, temperature change and contamination; gas and pH sensors drift the most.
- Effect: readings gradually go wrong, harming long-term monitoring such as air quality.
- Fix by periodic recalibration or compensation with a reference sensor.
Hysteresis error
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Hysteresis error is the difference in output for the same input when the input is approached while increasing and while decreasing.</mark>
Key points.
- Cause is friction, magnetic or material lag; the sensor output depends on its past.
- Example: a pressure sensor reads 100 kPa on the way up but 98 kPa on the way down.
- It hurts control systems such as valves and level sensors; fix with better materials and averaging both directions.
quantization error
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Quantization error is the difference between the true analog value and the nearest digital level produced by the ADC.</mark>
Key points.
- It is at most half a step: $\pm\frac{1}{2}\,\text{LSB}$, where the step is $V/2^n$.
- Example: a 10-bit ADC over 5 V has a step of 4.88 mV, so the error is up to 2.44 mV.
- Reduce it by using an ADC with more bits.
Actuator
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Medium weight</span>
Definition. <mark>An actuator is a device that converts an electrical control signal into physical action such as motion, force, heat or flow.</mark>
Key points.
- Role in IoT: the actuator is the output side; sensors sense, the controller decides, and the actuator acts on the real world.
- Types by energy source are hydraulic, pneumatic, electrical, thermal or magnetic, mechanical and soft actuators; common examples are electric motors, solenoids and relays.
- Applications are smart-home locks and lights, industrial automation and robotics.
- Selection characteristic 1, force or torque: the push or turning effort must exceed the load, for example a motor lifting a shutter.
- Selection characteristic 2, displacement or stroke: the distance it moves must cover the needed travel, such as a valve opening fully.
- Selection characteristic 3, speed: how fast it moves decides response time, a fast relay versus a slow hydraulic ram.
- Selection characteristic 4, power and efficiency: input energy versus useful output matters for battery-powered nodes.
Answer frame. Q1: open by defining actuator and selection criteria; explain four characteristics with unit of measure and one IoT example each; close by matching them to the application. Q9: define role first, then list types with one line and one application each.
Asked: [7 marks] (May 2024, Jun 2025) Explain four common characteristics of actuators used for selection. Asked: [? marks] (Dec 2024) Discuss the role of actuators in IoT. Explain various types of actuators.
Hydraulic actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A hydraulic actuator uses pressurised incompressible liquid, usually oil, to move a piston and produce linear or rotary motion.</mark>
Key points.
- They give very high force and precise control.
- They need pump, reservoir and pipes, so they are heavy and can leak.
- Uses are excavators, presses and heavy industrial machines.
Pneumatic actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Low weight</span>
Definition. <mark>A pneumatic actuator uses compressed air to push a piston or diaphragm and produce motion.</mark>
Key points.
- Construction is a cylinder, piston, rod and valves fed by a compressor; air entering one side moves the piston, and a spring or the other port returns it.
- They are fast, clean and cheap, and safe in explosive areas.
- Air compresses, so force and position control are less precise than hydraulics.
Asked: [7 marks] (Jun 2025) Explain: i) Pneumatic ii) Sensor features (see Sensor features above)
electrical actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>An electrical actuator converts electrical energy into motion using motors, solenoids or relays.</mark>
Key points.
- Types include DC, stepper and servo motors, solenoids and relays.
- They are clean, easy to control from a microcontroller and need little maintenance.
- Uses are smart locks, fans, robots and door openers.
thermal/magnetic actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>Thermal actuators move by expansion or phase change under heat, and magnetic actuators move by magnetic force.</mark>
Key points.
- Thermal examples are bimetallic strips and shape memory alloys.
- Magnetic examples are electromagnets and solenoids.
- Thermal ones are slow; magnetic ones are fast but short-stroke.
mechanical actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Low weight</span>
Definition. <mark>A mechanical actuator converts rotary input into linear motion using gears, screws, cams or rack and pinion.</mark>
| Basis | Mechanical | Soft | Shape memory polymer |
|---|---|---|---|
| Material | Metal parts | Elastomer | Polymer |
| Principle | Gears, screws | Air or fluid inflation | Heat returns shape |
| Force | High | Low | Low to medium |
| Speed | Fast | Medium | Slow |
| Use | Machines | Grippers | Medical, deployable |
Asked: [7 marks] (May 2024) Compare mechanical, soft and shape memory polymer based actuators.
soft actuators
<span style="display:inline-block;padding:.16em .6em;border:1.5px solid currentColor;border-radius:999px;font-size:.68em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75">Not asked since 2022</span>
Definition. <mark>A soft actuator is made of flexible material such as silicone that bends or grows when inflated, heated or electrically stimulated.</mark>
Key points.
- They are safe and gentle around humans.
- Uses are soft grippers, wearables and medical devices.
- Force is low and control is harder.
Last-minute revision
- Sensor: converts a physical quantity into an electrical signal; actuator does the reverse job of acting.
- Sensor node units: sensing, processing, transceiver, power.
- Resolution $=V/2^n$; quantization error $=\pm$ half LSB.
- 10-bit ADC over 5 V: 4.88 mV per step.
- Bias is constant offset; drift is change over time; hysteresis depends on direction.
- Analog needs an ADC; digital does not.
- Scalar has magnitude; vector has magnitude and direction.
- Actuator selection: force, displacement, speed, power and efficiency.
- Hydraulic gives the highest force; pneumatic is fast and clean.
- IoT challenges: heterogeneity, resource constraints, interoperability, security.
Memory hooks
- Sensor node = SPTP: Sense, Process, Transmit, Power.
- Bias stays, drift moves, hysteresis remembers, quantization rounds.
- Hydraulic = oil = heavy; pneumatic = air = fast.
- Scalar = size only; vector = size plus direction.
Coverage checklist
- Define Sensor
- Basic components and challenges of a sensor node: Q2, Q3
- Sensor features: Q4 (part ii)
- Sensor resolution
- Analog Sensors
- Digital Sensors
- Scalar Sensors
- Vector Sensors
- Sensor Types: Q5, Q6
- bias: Q7
- drift: Q7
- Hysteresis error: Q7
- quantization error: Q7
- Actuator: Q1, Q9
- Hydraulic actuators
- Pneumatic actuators: Q4
- electrical actuators
- thermal/magnetic actuators
- mechanical actuators: Q8
- soft actuators