Comprehensive Taxonomy & Guide 2026

Sensors: Types of Sensors

Sensors are the sensory organs of modern technology. They convert physical phenomena—such as heat, light, sound, acceleration, pressure, and gas molecules—into measurable electrical signals. Explore our complete guide to sensor classifications, working principles, popular modules, and microcontroller interfacing.

15+ Core Sensor Families
40+ Popular Modules & ICs
5 Interface Protocols
100% Practical Code Snippets
01 — Taxonomy & Fundamentals

How Sensors are
Classified.

Sensors are categorized according to how they produce signals, whether they require external power, whether they touch the subject, and the physical domains they measure.

By Output Signal

Continuous vs Discrete

The nature of the electrical signal produced determines how a microcontroller interfaces with the sensor.

  • Analog Sensors: Output a continuous voltage or current directly proportional to the physical quantity (e.g., 0V to 5V). Must be converted to numbers by an Analog-to-Digital Converter (ADC). Examples: LDR, Thermocouple, LM35, Potentiometer.
  • Digital Sensors: Convert measured data internally into discrete binary numbers or packetized bus data (I2C, SPI, 1-Wire, UART). Highly immune to line noise and cable losses. Examples: DHT22, BME280, MPU6050, DS18B20.

By Energy / Power Source

Self-Generated vs Excited

Determines whether the transducer requires auxiliary electrical energy to modulate signals.

  • Active Sensors: Require an external power supply to energize the sensing circuit or emit probe signals. Examples: Ultrasonic sensor (emits sound), PIR motion detector, Strain Gauge (Wheatstone bridge excitation), Hall switch.
  • Passive Sensors: Generate an output voltage or current autonomously by harvesting energy directly from the physical stimulus itself. Examples: Thermocouples (Seebeck effect), Piezoelectric crystals, Photovoltaic cells.

By Contact Mode

Touch vs Remote

Whether physical touch is necessary to gather accurate readings from the target medium.

  • Contact Sensors: Must make physical surface contact with the medium or object (e.g., RTD temperature probes, limit switches, strain gauges, soil moisture probes).
  • Non-Contact Sensors: Measure attributes across free space via radiation, sound, or magnetic flux (e.g., Infrared thermometers, ToF Laser distance, Ultrasonic, Hall effect).

By Measurand & Domain

Physical Properties

Classification based on the type of physical property or environmental variable being monitored.

  • Thermal: Temperature, heat flux, thermal conductivity.
  • Mechanical: Force, pressure, acceleration, torque, mass, strain.
  • Optical & Radiation: Lux, photon wavelength, UV index, IR radiation.
  • Chemical & Biological: Gas concentration, pH, humidity, SpO2, glucose.
02 — Comprehensive Catalog

Explore Every
Sensor Type.

Filter by category or search by sensor model (e.g., DHT22, MPU6050, HC-SR04, BMP280). Click any card for detailed pinouts, operating voltage, and sample code.

15 Sensor Types Shown
Thermal / Temperature

Thermocouples & RTDs

Exploits the Seebeck effect or positive temperature coefficient of platinum (PT100) to measure extreme thermal ranges in industrial environments.

Analog / SPI K-Type PT100 MAX6675
Range -200°C to +1350°C
Interface SPI / Microvolt ADC
Thermal / Environmental

Digital Temp & Humidity

Combines capacitive polymer humidity sensors and semiconductor bandgap temperature sensors with internal calibrated ADC for digital 1-Wire readout.

1-Wire Digital DHT22 DHT11 DS18B20
Accuracy ±0.5°C | ±2% RH
Voltage 3.3V – 5.5V DC
Thermal / Optical

Infrared Non-Contact Pyrometers

Captures blackbody infrared radiation using an internal thermopile membrane to determine exact object surface temperature without physical contact.

I2C Digital MLX90614 AMG8833 Medical Grade
Object Range -70°C to +380°C
Accuracy Up to ±0.2°C
Optical / Radiation

Ambient Light & Optical Sensors

Measures incident photon flux through photo-conduction (LDR) or calibrated silicon photodiode arrays with human-eye photopic response filters (BH1750).

Analog / I2C LDR GL5528 BH1750 TSL2561
Dynamic Range 1 – 65,535 Lux
Applications Streetlights / Phones
Motion & Presence

PIR Passive Infrared Motion

Pyroelectric elements split behind a segmented Fresnel lens detect differential thermal radiation emitted by warm moving human bodies.

Digital GPIO HC-SR501 AM312 Fresnel Lens
Detection Cone Up to 7m / 120°
Output 3.3V High/Low Pulse
Inertial & Navigation

6-DoF IMU & Accelerometers

Silicon MEMS proof masses measure acceleration along X-Y-Z axes and angular velocity using the Coriolis effect for robot stabilization and attitude tracking.

I2C / SPI MPU6050 ADXL345 BNO055
Ranges ±2g to ±16g | ±2000°/s
Resolution 16-bit Precision ADC
Proximity & Distance

Ultrasonic Distance & Ranging

Emits a 40kHz acoustic burst and calculates distance via time-of-flight. Reliable regardless of target color or transparency.

Pulse Duration (TTL) HC-SR04 US-015 JSN-SR04T
Range 2 cm – 400 cm
Resolution ±3 mm
Proximity & Optical

Laser Time-of-Flight (ToF)

Measures the picosecond flight time of invisible 940nm laser photons. Provides millimeter accuracy immune to object color or reflectivity variations.

I2C Digital VL53L0X VL53L1X VCSEL 940nm
Range 30 mm – 2000 mm
Accuracy Millimeter Precision
Pressure & Environmental

Barometric Pressure & Altimeter

High-precision piezoresistive silicon diaphragm measures absolute atmospheric air pressure to calculate altitude changes down to 1 meter resolution.

I2C / SPI BMP280 BME280 DPS310
Pressure Range 300 – 1100 hPa
Altitude Acc. ±1 meter relative
Force & Mechanical

Strain Gauge & Load Cells

Measures physical deformation using metallic foil strain gauges wired in a Wheatstone bridge. Paired with a 24-bit ADC for precision weight scales.

24-bit Serial ADC HX711 Load Cell Wheatstone
Capacity 1 kg to 500+ kg
Accuracy <0.05% Full Scale
Gas & Chemical

Gas & Air Quality Sensors

Heated tin dioxide (SnO2) ceramic semiconductor reacts with combustible or toxic gases, significantly reducing electrical resistance in contaminated air.

Analog + Digital D0 MQ-135 (Air/CO2) MQ-2 (Smoke) MQ-7 (CO)
Sensitivity 10 – 10,000 ppm
Heater Power 5.0V DC (~150mA)
Environmental & Agriculture

Soil Moisture & Water Level

Measures dielectric capacitance changes created by water content in soil. Capacitive design avoids the galvanic electrode corrosion seen in cheap resistive probes.

Analog Voltage Capacitive v1.2 Anti-Corrosion Raindrop PCB
Operating Volt 3.3V – 5.0V DC
Lifespan Multi-year Durability
Biomedical & Healthcare

Pulse Oximeter & Heart Rate

Photoplethysmography (PPG) using dual Red (660nm) and Infrared (880nm) LEDs to measure differential light absorption by oxygenated vs deoxygenated hemoglobin.

I2C Digital MAX30102 AD8232 ECG SpO2 PPG
Heart Rate 30 – 220 BPM
SpO2 Range 70% – 100%
Sound & Acoustics

Acoustic & Sound Sensors

Electret condenser or MEMS microphones translate atmospheric acoustic pressure waves into proportional audio waveforms and adjustable threshold trigger pulses.

Analog + Digital D0 KY-038 MAX9814 (AGC) INMP441 I2S
Frequency 20 Hz – 20 kHz
Dynamic Range 40 dB to 120 dB SPL
Magnetic & Navigation

Magnetic Field & Hall Effect

Exploits the Lorentz force on charge carriers in semiconductors to detect magnetic fields for non-contact gear RPM counting, door alarms, and 3-axis compasses.

Digital Switch / I2C A3144 Switch SS49E Linear HMC5883L Compass
RPM Rate 100,000+ pulses/min
Compass Acc. 1° – 2° Heading
03 — Operating Principle

The Sensor Signal Chain.

Every sensor follows a structured physical-to-digital transformation path before raw reality becomes actionable software data.

STEP 01

Physical Stimulus

Real-world energy: photons, thermal motion, acoustic wave, gas molecules, or gravitational acceleration.

STEP 02

Transducer Element

Converts physical property into electrical change (e.g. resistance change, capacitance shift, or microvolts).

STEP 03

Signal Conditioning

Operational amplifiers boost micro-signals; low-pass filters eliminate electrical noise and frequency aliasing.

STEP 04

Quantization & ADC

Continuous electrical curves are sampled and quantized into discrete digital binary words (10-bit to 24-bit).

STEP 05

MCU & Action

Microcontroller (ESP32/Arduino) applies calibrations, logs data to cloud IoT dashboards, or triggers actuators.

04 — Engineering Decision Matrix

How to Choose the
Right Sensor.

Key trade-offs between precision, response time, communication bus complexity, and power budgets.

Requirement Recommended Sensor Interface Key Advantages Limitations / Watch-out
Indoor Room Climate DHT22 / BME280 1-Wire / I2C Low cost, integrated temp + humidity + pressure 2-second sampling interval limit (DHT22)
Extreme Heat (>200°C) K-Type Thermocouple + MAX6675 SPI Up to +1350°C withstand, rugged metal sheath Requires cold-junction compensation amplifier
Obstacle Avoidance (<2m) VL53L0X Time-of-Flight I2C Millimeter accurate, unaffected by object surface color Direct sunlight can degrade range indoors vs outdoors
Water Level in Tank JSN-SR04T Waterproof Ultrasonic Trigger/Echo Pulse Non-contact, corrosion-resistant sealed transducer Blind spot closer than 20cm from probe face
Drone / Robot Balance MPU6050 / BNO055 IMU I2C / SPI High-speed 6-axis gyro + accelerometer fusion Raw gyro drifts over time without fusion filter
Combustible Gas Leak MQ-2 / MQ-135 Gas Sensor Analog (A0) + D0 Fast response to LPG, methane, smoke particles High 5V heater current (~150mA); needs burn-in warm up
Automated Plant Watering Capacitive Soil Moisture v1.2 Analog (0-3V) Corrosion-proof, lasts years in damp acidic soil Needs individual calibration for different soil mixes
Wearable Fitness SpO2 MAX30102 Pulse Oximeter I2C Integrated dual optical LEDs, miniature package Sensitive to motion artifacts and finger pressure
Start Building Today

Build with Sensors.

Join our open technology community to build practical electronics, prototype intelligent IoT systems, and learn embedded programming with peers across India and worldwide.