Sensors & Measurement · Study deck

How Sensors Work

Imagine a plant probe that makes a bar on a screen move.

Physics Phoebe is your guide for this deck.

sensortypes
Sensor Types Introduction cover: Phoebe sorting sensor tiles by temperature, light, motion, proximity, sound, and moisture.
iotclass.org

After studying this chapter

Learning objectives

A successful sensor read establishes only one part of a measurement claim.

  • Sensor selection starts with a physical quantity and a decision.The plant-probe claim needs one quantity, one unit, a useful range, and the fastest change the product must notice.
  • The measurement chain has separate physical, transducer, signal, and application boundaries.A stable digital message can coexist with poor placement or saturation, so a successful read cannot establish the whole measurement claim.
  • Range, accuracy, resolution, drift, and response must fit the intended use.The chapter’s humidity-response bandwidth and ADC voltage step describe different limits rather than a single measure of sensor quality.
  • The record needs calibration, ownership, unsupported claims, and retest conditions.Part number, wiring, sample rule, mount, and test date preserve the reviewed setup and identify changes that require another check.

I am watching a plant probe move a bar on a screen. I need to identify the real physical change behind that movement and the decision the reading is meant to support.

iotclass.org

Major section

Start With the Measurement Story (1/2)

A moving dashboard becomes useful evidence only after the physical measurement is checked.

  • The claim card needs a quantity, unit, range, and response requirement.The largest error the action can tolerate keeps hardware selection tied to a useful measurement rather than a moving dashboard.
  • Known-condition comparisons provide evidence for the final implementation choice.Two known inputs let the learner record what the probe reports before trusting its conversion of a physical change.

I put the plant probe in two known conditions and record its response. I then disconnect it or use an out-of-range input to see whether the screen can show doubt when the claim fails.

iotclass.org

Major section

Start With the Measurement Story (2/2)

  • A steady input, known step, and disconnection test different measurement limits.The chapter records delay, offset, noise, and missing data, then also checks a value outside the useful range.
  • The display must expose uncertainty when the measurement claim fails.A doubtful value cannot safely become a confident decision merely because the software still produces a number on screen.
iotclass.org

Major section

Placement, lag, noise, and valid messages (1/2)

Placement and operating conditions can distort the reading before software receives a value.

  • Heat transfer can delay the sensing element’s response.The physical condition may take time to reach the sensor, so the latest readable value can lag behind the real change.
  • Mounting and noise can distort the measurement before interpretation.The chapter’s force-reading example changes with mounting, while electrical noise can make the last displayed digits wander.

I am checking a room temperature sensor near a vent. I compare the physical exposure with the stable digital output, because correctly reading the bus does not establish what part of the room was measured.

iotclass.org

Major section

Placement, lag, noise, and valid messages (2/2)

  • A valid digital message can describe a poorly placed or saturated sensor.Checksummed bus communication establishes a signal path without proving that airflow, range, or physical exposure fits the intended decision.
  • The reviewed setup needs its part, wiring, sample rule, and mount recorded.The test date and retest requirement connect later hardware or installation changes to the evidence that supported the earlier claim.
iotclass.org

Major section

Humidity response and ADC voltage steps (1/2)

Response bandwidth and voltage resolution place different limits on the measurement.

  • The humidity example has a 30 s time-to-90% response.The chapter derives a 13.0 s time constant from that response, describing how slowly the sensing element follows a physical change.
  • The stated humidity-response bandwidth is 0.0122 Hz.That bandwidth comes from the response time constant, so it describes a dynamic limit rather than the size of a digital voltage step.

I am comparing the chapter’s catalog-typical humidity response with its ADC example. I keep the time needed to follow a change separate from the voltage increment that the converter can report.

iotclass.org

Major section

Humidity response and ADC voltage steps (2/2)

  • 0.0244 samples/s is a Nyquist floor, not a final rate.The first-order response is not band-limited at twice its 0.0122 Hz corner; sample faster with anti-alias margin.
  • The 10-bit, 3.3 V ADC example has a 3.22 mV step.Voltage resolution describes the conversion increment, while noise, drift, calibration, and the sensing element still limit the usefulness of reported digits.
iotclass.org

Major section

The sensor body changes the signal first (1/2)

Compare the ideal path with the real sensor body before following interface and acquisition.

  • The ideal path shows pressure mapped directly to output.This first part of the figure provides the simplified comparison before the real sensor body introduces physical motion and delay.
  • The real body has inertia, damping, and a restoring force.The mass-spring-damper panel inserts these effects between pressure input and the displacement that later electronics receive.
Physical input through an ideal sensor and a real mass-spring-damper sensor body before interface and acquisition electronics.
Physical input through an ideal sensor and a real mass-spring-damper sensor body before interface and acquisition electronics.
iotclass.org

Major section

The sensor body changes the signal first (2/2)

  • Those physical dynamics can change displacement, bandwidth, and lag.A correctly configured interface cannot erase motion already shaped by the sensor body, so response needs physical evidence.
  • Interface and acquisition receive a signal affected by the body.The figure’s final stages follow the physical dynamics, showing why timestamped digital output alone cannot establish an ideal pressure measurement.
Physical input through an ideal sensor and a real mass-spring-damper sensor body before interface and acquisition electronics.
Physical input through an ideal sensor and a real mass-spring-damper sensor body before interface and acquisition electronics.
iotclass.org

Activity 1 · Predict

✎ The enclosure moves outdoors

I want you to locate the first changed boundary before trusting the steady dashboard.

A humidity sensor moves outdoors. Its enclosure traps moisture, its response slows, and digital values remain stable. Predict why a valid bus read is insufficient. Write the first boundary to inspect and the checks needed before reuse.

3 minutes · Pen and paper · Answer: Activity 1

Pause for eight seconds: name the first changed boundary and two checks.

Your answer
iotclass.org

Major section

From physical condition to application value (1/2)

The measurement chain changes representation at each stage, creating separate failure boundaries.

  • The environment must affect the sensing element at the reviewed location.A temperature sensor near a vent may respond more to airflow effects than to the room-comfort condition the application intends to measure.
  • The transducer converts the condition into an electrical signal.The output can be resistance or another analogue quantity, so further conversion is needed before software can interpret a digital value.

I follow the room sensor’s measurement from its location through the transducer and acquisition electronics. I keep the application’s units, timing, and quality checks attached to the value that survives those earlier stages.

iotclass.org

Major section

From physical condition to application value (2/2)

  • Conditioning prepares the signal for acquisition and firmware conversion.Amplification, filtering, ADC configuration, and scaling can introduce separate errors even when the sensing element responds to the correct physical condition.
  • Application rules still need units, timestamps, and quality flags.A readable value requires a supported interpretation and fault handling before it can justify the intended display, alert, or control decision.
iotclass.org

Major section

Requirements and installed measurement evidence (1/2)

Choose the sensor by matching the measurement requirement to evidence from the installed path.

  • The decision determines the required range, error tolerance, and response time.A measurement record keeps the sensing goal and expected variation beside the environment in which the reading must support its action.
  • Approval needs interface, power, environmental limits, and specification evidence.A battery sensor may trade sample rate, radio schedule, and heater use against lifetime and measurement quality.

I am choosing a sensor for a stated measurement decision. I compare its specifications with the installation, then record the reference checks and conditions the selected part has not demonstrated.

iotclass.org

Major section

Requirements and installed measurement evidence (2/2)

  • Calibration and validation need reference checks and installation checks.Self-test behavior, failure indicators, maintenance interval, and an owner are part of keeping the measurement usable after the initial selection.
  • Unsupported placements and decisions must remain explicit.The selected sensor cannot inherit proof for a new environment merely because its electrical connection and digital interface still work.
iotclass.org

Major section

Outdoor humidity and a moisture-trapping enclosure

A stable number can hide a problem at the physical or transducer boundary.

  • An enclosure can trap moisture and slow the response after relocation.The chapter’s outdoor humidity example changes the physical path to the sensing element even though digital values remain stable.
  • Consistent bus messages do not resolve altered exposure or airflow.A successful I2C transaction cannot establish that the surrounding humidity reaches the element correctly in the new enclosure conditions.
  • The changed setup needs placement, condensation, response, and calibration checks.Those observations can address the physical and transducer boundaries before the reviewer reuses an earlier humidity-measurement claim.
  • The new environment requires fresh evidence before the earlier claim applies.Enclosure, airflow, contact, contamination, and environmental changes are explicit reasons to reopen condition-to-element validation.

I move the humidity sensor outdoors and find that its enclosure traps moisture. I investigate the changed physical exposure while the stable bus values remind me that communication can succeed during a measurement failure.

iotclass.org

Activity 2 · Predict

✎ The enclosure moves outdoors

I want you to locate the first changed boundary before trusting the steady dashboard.

A humidity sensor moves outdoors. Its enclosure traps moisture, its response slows, and digital values remain stable. Predict why a valid bus read is insufficient. Write the first boundary to inspect and the checks needed before reuse.

3 minutes · Pen and paper · Answer: Activity 2

Your answer
iotclass.org

Deck summary

Key takeaways

Sensor approval preserves the complete measurement claim and its supporting conditions.

  • A readable signal leaves physical placement and accuracy to be established.A digital bus can return valid messages while poor airflow or saturation prevents the sensing element from representing the intended condition.
  • More ADC digits cannot compensate for noise, drift, or weak calibration.A precise count does not establish a valid reference, so the last reported digits can remain meaningless to the decision.
  • Response time and voltage resolution answer different measurement questions.The chapter’s 30 s humidity response concerns change over time, while its 3.22 mV ADC step concerns conversion increments.
  • Sensor, circuit, enclosure, sampling, and decision changes require retesting.Each change can reopen a different measurement boundary, so the reviewed claim needs its setup, owner, and evidence preserved.

I return to the plant probe and its moving display with the claim card beside me. I can describe the physical quantity, conversion path, limits, and retest conditions that make the reading useful.

iotclass.org

Retrieval practice

Recall check 1 of 3

Physics Phoebe says: answer from memory, then check your reasoning.

Q1A team says a measurement is ready because the microcontroller can read values from a sensor. What should the review ask next?

AAsk what physical state it proves, where it is measured, and whether range, accuracy, and calibration fit.
BAsk whether repeated values agree, then approve the sensor on repeatability alone.
CAsk whether the interface is digital because that determines whether the readings need placement calibration.
DAsk only whether it is expensive, treating cost as proof of measurement quality.
Show answer

Answer: A A successful read proves communication, but the sensor claim depends on physical placement, specification fit, calibration, and operations evidence.

iotclass.org

Retrieval practice

Recall check 2 of 3

Physics Phoebe says: answer from memory, then check your reasoning.

Q2A soil-moisture deployment needs to trigger irrigation. Which selection evidence is most important before choosing the sensor?

ACompare the sensor library's numeric resolution for the irrigation threshold.
BThe irrigation decision, expected soil conditions, installation depth, tolerated error, calibration method, interface and power behavior.
CCheck whether the candidate streams moisture values reliably over Wi-Fi.
DChoose the lowest-cost soil-moisture module that reports a value at the controller and has a published sensitivity curve suitable for the irrigation setpoint.
Show answer

Answer: B The sensor must fit the physical condition and operational decision, not just produce a value.

iotclass.org

Retrieval practice

Recall check 3 of 3

Physics Phoebe says: answer from memory, then check your reasoning.

Q3A dashboard shows stable humidity values, but the enclosure traps moisture and slows response after the device is moved outdoors. Which boundary should be reviewed first?

AReview the dashboard stability trend to confirm the outdoor sensor is responding normally.
BReview cloud storage continuity for the outdoor humidity readings.
CThe physical and transducer boundary: enclosure exposure, airflow, response time, condensation risk, placement.
DThe interface boundary: check for stale register reads and missed bus updates before inspecting the enclosure.
Show answer

Answer: C The digital values may be stable, but the measurement chain changed at the physical boundary.

iotclass.org

Print reference

Answers

Answer key.

  1. A · A successful read proves communication, but the sensor claim depends on physical placement, specification fit, calibration, and operations evidence.
  2. B · The sensor must fit the physical condition and operational decision, not just produce a value.
  3. C · The digital values may be stable, but the measurement chain changed at the physical boundary.
iotclass.org
With the answer frame visible, compare the three decisions. A successful read proves communication, not the intended physical measurement. The soil probe must fit the irrigation decision and its installation. After an outdoor move, regular humidity messages do not settle the exposure question. At each step, name what the observation proves and what still needs checking.

Print reference

Activity 1 answer

Model answer.

Predict: The first changed boundary is how humidity reaches the sensing element. Inspect airflow, trapped moisture, placement, and response time, then compare the reading with a known humidity condition.

iotclass.org
Now compare your enclosure prediction with the visible model answer. The first changed boundary is how humidity reaches the sensing element. Inspect airflow, trapped moisture, placement, and response time. Then compare the reading with a known humidity condition. A valid bus message cannot rescue an old approval if those physical checks fail.

Print reference

Activity 2 answer

Model answer.

Predict: The physical and transducer boundary changed. Inspect enclosure exposure, airflow, condensation, placement, and response time, then check calibration under the new conditions. Bus communication cannot establish that humidity reaches the element correctly.

iotclass.org