LDR

A sensor measures a physical quantity (temperature, light, motion, pressure, gas, distance) and outputs a signal — analog voltage, digital pulse, I²C/SPI data, or a frequency the system can interpret.

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

Best for

Key specifications

When not to use it

Common mistakes

Where you will find it

A short history

A sensor links a physical quantity to an electrical response. Comparing sensors requires more than counting output bits: sensitivity, input range, uncertainty, noise, resolution and bandwidth describe different parts of measurement performance. The surrounding signal-conditioning circuit can also limit the result.

Related