Temp. Sensor
Temperature sensors measure how hot or cold a surface or environment is, used in thermostats, battery monitors, food-cold-chain logs, and motor protection.
Different sensors use different physics: a thermistor changes resistance with temperature; a photodiode produces current under light; a MEMS accelerometer measures the deflection of a tiny silicon spring; an ultrasonic sensor times the round-trip of a click.
In plain terms
Five senses for your microcontroller. Each sensor is one of those senses translated into electricity.
Why designers use it
- Read the environment so firmware can decide what to do.
- Close the loop on motion control or temperature regulation.
- Detect human presence, gestures, or biometric signals.
- Provide telemetry to dashboards and alerts.
Best for
- Temperature logging within the selected sensor's accuracy and environmental limits.
- Thermostatic monitoring and control with appropriate system safeguards.
- Learning the difference between temperature resolution, accuracy and response time.
Key specifications
- Operating limits: Check the exact manufacturer's datasheet (A family name does not establish voltage, current, temperature or timing limits.)
- Pin assignment: Match the complete part and package code (A similar name or function does not guarantee the same wiring.)
- Mechanical fit: Use the exact package drawing (Check pad layout, dimensions and viewing direction before building.)
When not to use it
- Where a simple switch or threshold would do — sensors add complexity and cost.
- Where firmware can't handle the noise or calibration the sensor demands.
Common mistakes
- Skipping the data-sheet recommended decoupling and seeing noise dominate the measurement.
- Mounting a temperature sensor where the MCU's heat dwarfs the signal.
- Forgetting to calibrate — raw sensor counts ≠ engineering units.
Where you will find it
- A resistive sensing element can be placed in a divider or bridge so its resistance change becomes a measurable voltage.
- A measurement chain may combine a sensor, conditioning electronics and an ADC. Each stage contributes its own limits.
A short history
Temperature-sensing devices trade measurement range, accuracy, resolution, response and interface. For example, the DS18B20 measures from −55°C to +125°C, but its ±0.5°C accuracy claim applies from −10°C to +85°C. A fine digital step size is not the same as equal absolute accuracy across the full range.