Choosing the best sensors for Arduino projects can be overwhelming when you’re staring at dozens of options online. Whether you’re a student building your first weather station or an engineer prototyping an IoT device, the right sensor makes the difference between a project that works reliably and one that gives you headaches. This guide covers every major sensor category available in India, with honest comparisons, real pricing, and practical advice on which ones to pick for your specific project.
Temperature and Humidity Sensors
Temperature sensing is the most common starting point for Arduino projects, and for good reason — it’s straightforward, useful, and teaches fundamental concepts like analog vs digital communication.
LM35 — The Analogue Classic
The LM35 outputs a linear analogue voltage proportional to temperature (10 mV/°C). It needs no external components, works from 4V to 30V, and reads directly through an Arduino analogue pin. Accuracy is ±0.5°C at 25°C, which is acceptable for room temperature monitoring. The main limitation is that it only measures temperature — no humidity — and requires an ADC, so you get 10-bit resolution (about 0.5°C steps) on a standard Arduino.
DHT11 and DHT22 — Temperature Plus Humidity
The DHT series sensors measure both temperature and relative humidity over a single digital pin. The DHT11 is cheaper (around ₹60-80) but less accurate (±2°C, ±5% RH) and has a narrower range (0-50°C). The DHT22 costs more (₹150-250) but delivers ±0.5°C and ±2% RH accuracy across -40 to 80°C. Both use a proprietary single-wire protocol handled by libraries like DHT.h.
For most indoor projects — weather stations, incubators, server room monitors — the DHT22 is worth the extra cost. The DHT11 works fine for basic “is the room warm?” checks.
DS18B20 — Waterproof and Chainable
The DS18B20 uses Dallas OneWire protocol, meaning you can connect multiple sensors on a single Arduino pin — each has a unique 64-bit serial code. It offers ±0.5°C accuracy with 9-12 bit configurable resolution. The waterproof probe version is ideal for liquid temperature monitoring: aquariums, fermentation tanks, water heaters, and soil temperature measurement.
BME280 — The All-in-One Environmental Sensor
If you need temperature, humidity, and barometric pressure in one tiny package, the BME280 is the gold standard. It communicates via I2C or SPI, offers ±1°C temperature accuracy, ±3% RH humidity, and ±1 hPa pressure accuracy. The pressure reading can estimate altitude with about 1-metre resolution. It’s the sensor behind most commercial weather stations and indoor air quality monitors.
Quick Comparison: Temperature Sensors
| Sensor | Temp Range | Accuracy | Interface | Price (₹) |
|---|---|---|---|---|
| LM35 | -55 to 150°C | ±0.5°C | Analogue | 45-65 |
| DHT11 | 0 to 50°C | ±2°C | Digital (1-wire) | 60-80 |
| DHT22 | -40 to 80°C | ±0.5°C | Digital (1-wire) | 150-250 |
| DS18B20 | -55 to 125°C | ±0.5°C | Dallas OneWire | 50-120 |
| BME280 | -40 to 85°C | ±1°C | I2C/SPI | 180-350 |
Distance and Proximity Sensors
Measuring distance is essential for robotics, parking sensors, level monitoring, and security systems. The technology you choose depends on range, accuracy, and environment.
HC-SR04 — The Universal Ultrasonic Sensor
The HC-SR04 measures distance from 2 cm to 400 cm using ultrasonic pulses at 40 kHz. It costs around ₹50-70 and works with any Arduino. The catch: it’s unreliable on soft, angled, or very small surfaces because sound waves scatter. It also can’t work underwater or in very dusty environments. For clear line-of-sight measurements — parking sensors, room occupancy, or basic obstacle avoidance — it’s hard to beat at the price.
// HC-SR04 Basic Distance Measurement
const int trigPin = 9;
const int echoPin = 10;
void setup() {
Serial.begin(9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
long duration = pulseIn(echoPin, HIGH);
float distance = duration * 0.034 / 2; // Speed of sound in cm/us
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
delay(500);
}
Waterproof Ultrasonic Sensors
For outdoor or liquid-level applications, standard HC-SR04 won’t survive. The JSN-SR04T and AJ-SR04M are waterproof versions with IP67-rated probes. They’re commonly used in water tank level monitoring, agricultural irrigation, and outdoor parking systems. Range is slightly shorter (20 cm to 450 cm for the JSN-SR04T), and the minimum detection distance is larger (around 20 cm vs 2 cm for the HC-SR04).
IR Proximity Sensors
Infrared proximity sensors use reflected IR light to detect objects at close range (typically 2-30 cm). They’re binary — object present or not — unless you use an analogue variant like the Sharp GP2Y0A21. They’re faster than ultrasonic sensors and work well for line-following robots, edge detection, and object counting on conveyor belts. They struggle with black or transparent objects that absorb or pass IR light.
LiDAR Sensors
For precision distance measurement beyond ultrasonic range, LiDAR sensors like the TFmini offer 12-metre range with ±1 cm accuracy. They’re significantly more expensive (₹2,000-4,000) but essential for drone altitude hold, mapping, and high-accuracy measurement. LiDAR works outdoors in sunlight where ultrasonic sensors fail.
Motion and Gesture Sensors
Detecting movement, orientation, and gestures opens up projects from security systems to wearable devices and robotics.
PIR Motion Sensors
PIR (Passive Infrared) sensors detect changes in infrared radiation caused by moving warm bodies — people, animals, or vehicles. The HC-SR501 is the standard module, offering adjustable sensitivity and a detection range of about 7 metres with a 120° cone. They cost ₹40-60 and output a simple HIGH/LOW digital signal. Perfect for security alarms, automatic lighting, and people counters.
The main limitation is they detect heat movement, not presence. A person sitting still in a room will eventually stop triggering the sensor. For occupancy detection, combine PIR with other sensors (microwave, CO2, or light).
MPU6050 — Accelerometer + Gyroscope IMU
The MPU6050 combines a 3-axis accelerometer and 3-axis gyroscope in one I2C module, making it the go-to choice for orientation tracking, vibration measurement, step counting, and drone stabilisation. It costs around ₹120-200 and has an onboard Digital Motion Processor (DMP) that handles sensor fusion calculations, reducing the load on your Arduino.
For projects needing a magnetometer (compass heading), upgrade to the MPU9250 (9-axis) or the BNO055, which has onboard sensor fusion and outputs calibrated orientation data directly — no complex maths needed.
ADXL345 Accelerometer
If you only need acceleration data (not rotation), the ADXL345 is a lightweight I2C/SPI option. It features tap detection, free-fall sensing, and activity/inactivity monitoring built into hardware. Useful for shake-to-wake systems, tilt sensing, and vibration monitoring.
Environmental and Gas Sensors
Air quality monitoring has become increasingly relevant in India, where pollution levels in cities regularly exceed safe limits. Arduino-based monitors give you hyperlocal data at a fraction of commercial device costs.
MQ Series Gas Sensors
The MQ family covers a broad range of gases. Here are the most useful ones for hobby and safety projects:
| Sensor | Detects | Common Use |
|---|---|---|
| MQ-2 | LPG, Methane, Smoke | Kitchen gas leak detector |
| MQ-3 | Alcohol vapour | Breathalyser projects |
| MQ-5 | Natural gas, LPG | Gas pipeline monitoring |
| MQ-7 | Carbon monoxide | CO safety alarm |
| MQ-135 | NH3, NOx, CO2, Benzene | Air quality index monitor |
All MQ sensors need a 24-48 hour burn-in period before readings stabilise. They draw significant current (around 150 mA for the heater element), so battery-powered projects need careful power management. Analogue output can be calibrated against known gas concentrations for approximate PPM readings.
Particulate Matter Sensors (PM2.5)
For serious air quality monitoring, sensors like the SDS011 and PMS5003 measure particulate matter (PM2.5 and PM10) using laser scattering. The SDS011 is larger but well-documented, while the PMS5003 is compact with UART output. Both cost between ₹1,200-1,800 and give readings in µg/m³ that map directly to AQI values — particularly useful in Indian metros where AQI regularly crosses 200+.
Force and Pressure Sensors
Load Cells with HX711
Load cells convert force into an electrical signal, and the HX711 amplifier module reads this signal with 24-bit resolution. Together, they form the basis of digital weighing scales. A 5 kg load cell with HX711 costs about ₹150-200 and can resolve weight changes as small as 0.1 g after proper calibration. Available in 1 kg, 5 kg, 10 kg, 20 kg, and higher capacities.
BMP280 — Barometric Pressure
The BMP280 measures atmospheric pressure (300-1100 hPa) and temperature. It’s commonly used for weather stations and altitude estimation. The I2C interface makes wiring trivial — just four wires (VCC, GND, SDA, SCL). Indoor navigation systems use BMP280 to detect floor changes in buildings, since pressure drops roughly 12 Pa per metre of altitude gained.
FSR (Force Sensing Resistor)
FSRs change resistance based on applied pressure. They’re thin and flexible, making them suitable for pressure-sensitive pads, shoe insoles for gait analysis, and touch-pressure interfaces. They’re not precise enough for weighing applications but work well for detecting whether something is being pressed and roughly how hard.
Light and Colour Sensors
LDR (Light Dependent Resistor)
The simplest light sensor is a photoresistor connected to an analogue pin with a voltage divider. It costs under ₹10 and works for basic light/dark detection — automatic night lights, sunrise alarms, or solar tracker positioning. For precise lux measurement, use dedicated sensors like the BH1750 (I2C, 1-65535 lux range) or TSL2561.
TCS3200 Colour Sensor
The TCS3200 uses an 8×8 array of photodiodes with red, green, blue, and clear filters. It outputs a frequency proportional to light intensity for each colour channel. Applications include colour sorting machines, paint colour matching, and quality inspection. Calibration against known colour references is essential for reliable readings.
UV Sensors
UV sensors like the ML8511 measure ultraviolet intensity, useful for wearable UV exposure monitors and weather stations. India receives high UV levels (index 8-11+) for much of the year, making UV monitoring relevant for outdoor workers and health-conscious users.
How to Choose the Right Sensor for Your Project
Follow these practical criteria when selecting sensors:
- Define what you’re measuring — Temperature? Distance? Gas concentration? Start with the physical quantity, not the sensor model.
- Check the interface — Analogue sensors need ADC pins (limited to 6-8 on most Arduinos). I2C sensors share two pins but need unique addresses. SPI is fastest but uses more pins.
- Consider the environment — Outdoor or wet conditions need waterproof variants. High temperatures require sensors rated for the range. Dusty environments can block ultrasonic and IR sensors.
- Match accuracy to requirements — A ±2°C sensor works for room comfort monitoring but not for a laboratory incubator. Overspending on accuracy you don’t need wastes budget.
- Factor in power consumption — MQ gas sensors and ultrasonic sensors draw more current than I2C digital sensors. This matters for battery-powered or solar projects.
- Check library support — Well-documented sensors with active Arduino libraries save hours of debugging. All sensors in this guide have mature library support.
Sensor Starter Kits
If you’re starting from scratch, consider buying a multi-sensor kit rather than individual sensors. A typical 37-in-1 sensor kit costs ₹800-1,200 and includes temperature, humidity, light, sound, tilt, magnetic, flame, IR, and other modules. While individual sensor quality may be basic, it’s an economical way to experiment with different sensor types before investing in higher-quality components for your final project.
Frequently Asked Questions
Which sensor is best for an Arduino beginner?
Start with the DHT11 (temperature and humidity) and HC-SR04 (distance). Both have extensive tutorials, simple wiring, and well-maintained Arduino libraries. Combined, they cost under ₹150.
Can I connect multiple sensors to one Arduino?
Yes. I2C sensors (BME280, MPU6050, BH1750) can share the same two pins (A4/A5 on Arduino Uno) as long as they have different I2C addresses. OneWire sensors (DS18B20) can share a single pin. Analogue sensors need individual ADC pins.
How do I calibrate an analogue sensor?
Take readings at two or more known reference points (e.g., ice water at 0°C and boiling water at 100°C for temperature). Use these to calculate a linear equation that maps raw ADC values to actual units. Store calibration constants in EEPROM so they survive power cycles.
Are cheap sensors from Indian online stores reliable?
Brand-name sensors (Bosch BME280, Texas Instruments LM35, Maxim DS18B20) are reliable regardless of where you buy them, as long as they’re genuine. Generic modules like DHT11 and MQ sensors vary in quality — buy from reputed sellers who offer returns. Always test sensors against a known reference before relying on them in critical applications.
What’s the difference between a sensor and a module?
A sensor is the raw sensing element (e.g., the LM35 chip). A module includes the sensor mounted on a PCB with supporting components — voltage regulators, pull-up resistors, connectors — making it ready to connect to Arduino with jumper wires. Modules cost slightly more but save time and reduce wiring errors.
Do I need a separate power supply for sensors?
Most small sensors (temperature, light, pressure) run fine from the Arduino’s 5V or 3.3V pin. Gas sensors (MQ series) and multiple servo motors need external power — the Arduino’s USB port can only supply about 500 mA total. Use a separate 5V regulated supply for power-hungry sensors and share a common ground with the Arduino.
Conclusion
Sensors are the eyes and ears of any Arduino project. For most beginners, a combination of the DHT22 (temperature and humidity), HC-SR04 (distance), and a PIR sensor (motion) covers the majority of starter projects for under ₹400 total. As your projects grow more complex, add environmental sensors like the BME280 or specific sensors for gas, pressure, or colour detection.
All the sensors mentioned in this guide are available at Zbotic’s Sensor Modules collection, with delivery across India. Browse the range, pick what fits your next project, and start building.
Add comment