With hundreds of sensor modules available, knowing which Arduino sensors to buy can be overwhelming. This comprehensive buying guide covers 20+ sensors across all major categories – temperature, motion, light, sound, distance, gas, moisture, pressure, and touch – with a description, pinout, and use case for each. Whether you are just starting out or building your next advanced project, this guide helps you pick the right sensor for the job and make smart purchases from Zbotic.in.
Table of Contents
- Temperature & Humidity Sensors
- Motion & Presence Sensors
- Distance & Proximity Sensors
- Light & Optical Sensors
- Sound & Audio Sensors
- Gas & Air Quality Sensors
- Moisture & Soil Sensors
- Pressure & Force Sensors
- Touch & Gesture Sensors
- Buying Tips for Indian Makers
- Which Sensors to Start With
- Frequently Asked Questions
Temperature & Humidity Sensors
Temperature and humidity sensors are among the most commonly used in Arduino projects. They are the foundation of weather stations, smart thermostats, server room monitoring, and greenhouse automation systems.
1. DHT11
The DHT11 is the most popular beginner temperature and humidity sensor in India. It uses a single digital data wire and a proprietary 1-Wire-like protocol. Measuring range: 0-50°C (±2°C accuracy), 20-90% RH (±5% accuracy). Sampling rate: once per second. The DHT library handles all timing for you.
Pinout: 3 pins – VCC (3.3-5V), DATA, GND. Use a 10kΩ pull-up resistor on the DATA pin (many breakout boards include it).
Use case: Home weather station, room temperature display on LCD, HVAC control, IoT dashboard.
2. DHT22 (AM2302)
The DHT22 is the premium upgrade to the DHT11. Wider range: -40 to +80°C (±0.5°C accuracy), 0-100% RH (±2-5% accuracy). Can sample every 2 seconds. Same wiring as DHT11 and fully compatible with the same DHT library. About 2-3x the price of DHT11 but significantly more accurate and usable in colder climates.
Use case: Professional weather monitoring, cold chain logistics, outdoor environment sensing.
3. DS18B20
The DS18B20 is a waterproof digital temperature sensor using the 1-Wire bus. Multiple sensors can share a single Arduino pin (each has a unique 64-bit address). Range: -55 to +125°C with ±0.5°C accuracy from -10 to +85°C. The waterproof probe version is ideal for liquid temperature measurement.
Pinout: 3 pins – VCC, DATA, GND. Requires 4.7kΩ pull-up on DATA.
Use case: Aquarium thermometer, water heater control, soil temperature, food temperature monitoring.
4. LM35
The LM35 is an analog temperature sensor producing 10mV per degree Celsius. No library needed – just read the analog pin and calculate: Temperature = (analogRead(pin) * 5.0 / 1024.0) * 100. Range: -55 to +150°C. Very linear and accurate but no humidity measurement.
Pinout: 3 pins – VCC (5V), OUTPUT (to analog pin), GND.
Use case: Simple temperature measurement where humidity is not needed, industrial monitoring.
Motion & Presence Sensors
Motion sensors detect people and moving objects, making them essential for security systems, automatic lighting, and energy-saving applications.
5. HC-SR501 PIR Motion Sensor
The HC-SR501 passive infrared sensor detects changes in infrared radiation from warm bodies (humans and animals) within a 7-metre radius at up to 120-degree cone angle. Two onboard potentiometers adjust sensitivity and time delay (hold time after detecting motion). Output is digital HIGH for detected, LOW for clear.
Pinout: 3 pins – VCC (5-20V), OUT, GND.
Use case: Security alarm, automatic light switch, visitor counter, intruder detection.
6. RCWL-0516 Microwave Radar Sensor
Unlike PIR sensors that need direct line of sight, the RCWL-0516 uses 3.18GHz microwave Doppler radar and can detect motion through walls, glass, and thin materials. Range: 5-7 metres. Useful when PIR line-of-sight is not available. Small PCB form factor.
Use case: Through-wall motion detection, cabinet/drawer intrusion detection, concealed security sensors.
Distance & Proximity Sensors
Distance sensors measure how far away an object is – essential for robots, parking assistants, fill-level monitoring, and touchless controls.
7. HC-SR04 Ultrasonic Distance Sensor
The HC-SR04 is the most popular distance sensor for Arduino. It emits a 40kHz ultrasonic burst and measures echo return time to calculate distance. Range: 2-400cm with 3mm resolution. Two pins required: TRIG (trigger pulse) and ECHO (measures return time). No library needed, but the NewPing library simplifies coding.
Pinout: 4 pins – VCC (5V), TRIG, ECHO, GND.
Use case: Robot obstacle avoidance, water level meter, parking distance sensor, inventory fill monitoring.
8. VL53L0X Time-of-Flight Distance Sensor
The VL53L0X uses a laser time-of-flight technique to measure distance with high accuracy (±3% up to 2m). Uses I2C (2 pins). Much more accurate than ultrasonic at close range (up to 20cm) and compact enough for wearables. Range: 3-200cm. Requires the Adafruit VL53L0X library.
Use case: Precision robotics, gesture detection, automatic tap control, vending machine sensing.
9. Sharp IR Distance Sensor (GP2Y0A21YK)
The Sharp IR distance sensor uses triangulation for analog distance output. Range: 10-80cm. No moving parts, very reliable. Outputs analog voltage proportional to distance (non-linear, requires calibration). Faster than ultrasonic for continuous reading.
Use case: Close-range robot navigation, obstacle detection on smaller robots where ultrasonic is too large.
Light & Optical Sensors
Light sensors detect ambient brightness, specific light wavelengths, and enable color-sensing or proximity detection.
10. LDR (Light Dependent Resistor)
The LDR (photoresistor) is the simplest light sensor. Its resistance decreases as light increases. Wire it as a voltage divider with a 10kΩ resistor and read the analog pin. No library needed. Range: very dark to bright sunlight. Inexpensive but not precise.
Use case: Automatic night light, sun tracker for solar panels, day/night detection for automated curtains.
11. BH1750 Digital Light Sensor
The BH1750 gives calibrated lux readings via I2C. Range: 1-65535 lux. Very accurate, no calibration needed. Use the BH1750 library by claws. Much better than LDR when you need actual lux values.
Use case: Smart office lighting control, plant grow light monitoring, camera exposure assist.
12. TCS34725 Color Sensor
The TCS34725 senses RGB color and clear light via I2C with an IR filter. Use the Adafruit TCS34725 library. Detects dominant colors under different lighting conditions.
Use case: Color-sorting robot, paint mixing reference, product quality inspection, LED mood lighting.
Sound & Audio Sensors
Sound sensors detect audio levels and can trigger actions based on noise presence or amplitude.
13. KY-038 Sound Sensor Module
The KY-038 microphone module has both digital output (threshold-based, adjustable by potentiometer) and analog output (raw microphone signal). The digital output goes HIGH when sound exceeds the threshold. Simple and inexpensive for clap-detection projects.
Pinout: 4 pins – VCC, GND, D0 (digital threshold), A0 (analog).
Use case: Clap-activated switch, sound-triggered alarm, voice activity detection, musical visualization.
14. MAX9814 Electret Microphone Amplifier
The MAX9814 is a high-quality amplifier for electret microphones with automatic gain control (AGC). Outputs amplified audio on an analog pin. Better signal quality than basic KY-038 for audio recording or level measurement applications.
Use case: Voice recorder reference, dB meter, audio spectrum analyzer, environmental noise monitor.
Gas & Air Quality Sensors
Gas sensors detect specific chemical compounds in the air, enabling safety alarms and air quality monitoring.
15. MQ-2 Gas Sensor (Smoke, LPG, Methane)
The MQ-2 is a chemiresistive sensor sensitive to smoke, LPG, propane, hydrogen, and other combustible gases. Outputs both analog (concentration level) and digital (threshold alarm) signals. Requires a 2-minute warm-up time before readings are valid. The Waveshare MQ-2 module includes signal conditioning circuitry.
Pinout: 4 pins – VCC (5V), GND, D0 (digital alarm), A0 (analog concentration).
Use case: Gas leak alarm (LPG kitchen safety — very relevant in Indian homes), fire alarm, air quality dashboard.
16. MQ-135 Air Quality Sensor
The MQ-135 detects CO2, ammonia, benzene, alcohol, and other pollutants. Useful for indoor air quality monitoring. Like all MQ-series sensors, needs calibration for accurate ppm readings. The MQ Sensor library simplifies this process.
Use case: CO2 monitor for offices and classrooms, air quality index display, ventilation control.
17. MQ-7 Carbon Monoxide Sensor
The MQ-7 specifically detects carbon monoxide (CO), an odorless and dangerous combustion gas. Requires a specific heating cycle (HIGH voltage for 60s, LOW voltage for 90s) for accurate readings. Often used in vehicle exhaust monitoring and indoor safety systems.
Use case: CO alarm for rooms with gas heaters, parking garage air quality, workshop ventilation monitoring.
Moisture & Soil Sensors
Moisture sensors are widely used in agricultural automation, plant monitoring, and water management projects.
18. Capacitive Soil Moisture Sensor
Capacitive soil moisture sensors measure the dielectric permittivity of soil (which changes with water content) without any bare metal probes in the soil. This makes them corrosion-resistant and longer-lasting than older resistive designs. Outputs analog voltage proportional to soil dryness.
Use case: Automatic plant watering system, greenhouse humidity monitoring, farm irrigation automation.
19. FC-28 Resistive Soil Moisture Sensor
The FC-28 is the common inexpensive resistive soil moisture probe. It uses two metal probes that corrode over time but works well for short-term projects and learning. Cheaper than capacitive sensors. Has both analog and digital outputs on the breakout board.
Use case: Basic plant watering reminder, classroom demos, short-term moisture monitoring.
Pressure & Force Sensors
Pressure sensors measure atmospheric or fluid pressure, and force-sensitive resistors detect mechanical force or weight.
20. BMP280 / BME280 Barometric Pressure Sensor
The BMP280 measures atmospheric pressure (300-1100 hPa) and temperature. The upgraded BME280 adds humidity sensing too. Both use I2C (or SPI). Extremely accurate and popular for weather stations and altitude calculation. Adafruit and Bosch both provide excellent libraries.
Use case: Portable weather station, altitude meter for drones and planes, indoor navigation, weather prediction (pressure trends indicate rain).
21. MPX5700 Fluid Pressure Sensor
The MPX5700 measures gauge pressure (0-700kPa) with an analog output. Used for monitoring water pressure in pipes, compressed air systems, and pneumatic controls. Requires an op-amp for amplification to improve Arduino ADC resolution.
Use case: Water pipe pressure monitoring, tyre pressure gauge, pneumatic system control.
22. FSR (Force Sensitive Resistor)
Force sensitive resistors change resistance proportional to applied force. Wire as a voltage divider with a 10kΩ resistor and read analog. Cheap, flexible, and works for weight detection and pressure-sensitive interfaces. Not extremely precise but useful for presence detection and interactive projects.
Use case: Smart footmat (person present detection), drum pad controller, grip strength measurement, capacitive switch alternative.
Touch & Gesture Sensors
Touch and gesture sensors provide intuitive human interfaces without mechanical buttons.
23. TTP223 Capacitive Touch Sensor
The TTP223 is a single-pad capacitive touch IC that outputs a clean digital signal. Waterproof through glass or plastic up to 4mm thick. Perfect replacement for mechanical buttons in clean environments. Toggle or momentary modes selectable via jumper.
Use case: Water-resistant switches, clean-room interfaces, decorative project buttons.
24. APDS-9960 Gesture & Proximity Sensor
The APDS-9960 uses I2C and detects left/right/up/down swipe gestures, proximity (0-20cm), RGB color, and ambient light in a single IC. The SparkFun APDS-9960 library provides easy gesture decoding. Popular for futuristic touchless interfaces.
Use case: Touchless music player control, smart mirror interface, contactless menu navigation, robotic hand gesture control.
Buying Tips for Indian Makers
Buying sensors wisely in India saves money and frustration. Here are key tips from experienced makers:
- Buy modules, not bare ICs: Breakout boards include decoupling capacitors, pull-up resistors, and voltage regulators that the bare sensor IC needs. Modules save significant assembly time and troubleshooting.
- Check voltage compatibility: Most modules are 5V for Arduino Uno/Mega. If using ESP32 or ESP8266 (3.3V), verify the module is 3.3V compatible or has an onboard regulator.
- Verify library support: Before buying an uncommon sensor, search “sensor name arduino library” to confirm a working library exists in the Arduino Library Manager. Avoid sensors with only vendor-specific SDKs.
- Prefer I2C for complex projects: I2C sensors only need 2 wires (SDA+SCL shared) and multiple sensors share the same bus. UART sensors need dedicated serial pins. Analog sensors work fine for simple projects but are less precise for absolute measurements.
- Buy at least 2 of every sensor: Sensors fail, especially during learning. Having a spare prevents project delays caused by a faulty component you cannot easily replace same-day in India without waiting for shipping.
Which Sensors to Start With
If you are new to Arduino and wondering which sensors to buy first, here is a prioritized list based on versatility, learning value, and demand in Indian school and college projects:
| Priority | Sensor | Why Start Here |
|---|---|---|
| 1st | DHT11 Temperature & Humidity | Most project-ready sensor, used in 80% of IoT projects |
| 2nd | HC-SR04 Ultrasonic | Essential for robotics, easy to use, very visual output |
| 3rd | HC-SR501 PIR Motion | Immediately useful (automatic lights, alarm), impressive demo |
| 4th | MQ-2 Gas Sensor | Highly relevant in India for LPG safety, great college project |
| 5th | LDR | Cheapest light detector, teaches analog reading, very versatile |
| 6th | Soil Moisture Sensor | Huge demand for agriculture automation projects in India |
| 7th | BMP/BME280 Pressure | I2C practice, accurate weather station, drone altitude control |
Start with sensors 1-3 to build confidence with digital I/O and simple libraries. Add sensors 4-7 as your projects become more complex. Once you are comfortable, move to I2C multi-sensor boards (like the Waveshare ENV HAT) that combine multiple sensors in one compact package.
Frequently Asked Questions
Q: How do I know if a sensor needs a library or not?
Sensors with analog output (LDR, LM35, FSR, soil moisture) only need analogRead() – no library. Sensors with simple digital output (PIR, IR obstacle, touch) only need digitalRead() – no library. Sensors with I2C/SPI protocols (DHT11, BMP280, OLED displays) need specific libraries available in the Arduino Library Manager. Sensors with complex timing protocols (DHT, 1-Wire) also need libraries even though they use a single pin.
Q: Can I use 5V sensors with an ESP32 (3.3V)?
It depends on the sensor. For analog sensors, a 5V supply with 5V output to the ESP32 analog pin will damage it (max 3.3V on ESP32 ADC pins). Use a voltage divider. For I2C sensors with 5V logic, use a bidirectional level shifter on SDA/SCL. For digital output sensors (PIR, IR obstacle), the 3.3V HIGH threshold is usually sufficient to trigger the comparator, and most modules accept 3.3V digital input as valid HIGH. Always check the specific module’s datasheet.
Q: What is the difference between active and passive sensors?
Active sensors emit energy and measure the reflected or transmitted signal (ultrasonic, IR obstacle, radar). They require more power but can measure distance and detect objects in complete darkness. Passive sensors only receive energy from the environment (PIR, LDR, microphone, thermocouple). They consume less power and are simpler but depend on the target emitting or reflecting ambient energy.
Q: Why do my sensor readings fluctuate even when nothing is changing?
Noise in sensor readings is normal. For analog sensors, use oversampling: take 10-20 readings and average them. For I2C sensors, add 100nF decoupling capacitors close to the sensor VCC and GND pins. For sensors near motors or relays, use opto-isolation or twisted-pair wiring to reduce electromagnetic interference. Most production systems use exponential moving average filters to smooth sensor data.
Q: Which sensors work best for college science fair projects in India?
The most impressive and easily demonstrable sensors for Indian college projects are: DHT11 + OLED display for a weather station, MQ-2 for an LPG gas leak alarm (very relatable for Indian homes using gas cylinders), HC-SR04 for a parking distance sensor, soil moisture + relay for automatic plant watering, and PIR + buzzer for a security alarm. These projects score well because they solve real Indian household problems and are easy for judges to understand and interact with.
Ready to Build Your Next Arduino Project?
Shop sensors, modules, and components at Zbotic.in – India’s trusted electronics store with fast shipping across India.
Add comment