Collection: Temperature & Humidity Sensors
Temperature and humidity sensors are the heart of weather stations, greenhouse monitors and smart fans.
The sensors we cover:
- The DHT11 is the cheapest, at about ±2°C, and fine for classroom demos.
- The DHT22 is far better, at about ±0.5°C over -40 to 80°C and 0-100% RH, but it can only be read once every 2 seconds.
- The AHT10 and AHT21B use I2C, so they share two wires with displays and other sensors.
- The BMP280 reads pressure and temperature but not humidity.
- The BME280 adds humidity.
- The BME680 adds a gas (VOC) reading for indoor air quality.
- The DS18B20 comes as a waterproof probe for liquids, fridges and aquariums.
How to choose: start with accuracy and interface. For most projects the DHT22 is the best value for accuracy. Pick an I2C sensor if your pins are limited, and a BME280 or BME680 if you want pressure or air quality too.
All of these work with Arduino and ESP32. On an ESP32, power them from 3.3V so the data line never sees 5V.
Frequently asked questions
DHT11 or DHT22?
The DHT22. It cuts temperature error from about ±2°C to ±0.5°C and covers a wider range.
Why does my DHT sensor return NaN?
Usually it is being read faster than once every 2 seconds, or the data line or pull-up is miswired.
Does the BMP280 measure humidity?
No. It measures pressure and temperature. For humidity choose the BME280; the BME680 adds VOC gas.
Can these sensors share pins?
The I2C ones can (AHT, BMP/BME). Each answers on its own address on the same SDA/SCL pair.
Guides
- DHT11 vs DHT22 vs AHT10: Accuracy per Rupee (2026)
- BMP280 vs BME280 vs BME680: Environmental Sensors Compared
- DHT22 + ESP32: Pinout, Wiring Diagram and Working Code
Reference pages on soldr.ai
- DHT22 temperature and humidity sensor
- BME280 (GY-BME280)
- AHT10 temperature and humidity sensor
- BMP280 pressure sensor
- SHT30 temperature and humidity sensor
- HTU21D temperature and humidity sensor
- LM75 temperature sensor (CJMCU-75)
- LM35 temperature sensor
- DHT11 temperature and humidity sensor
- DS18B20 temperature sensor
More guides on soldr.ai
Describe your build on Soldr and it picks the parts, writes and compiles the code, and shows how to wire them. Sign in and get 100 credits free.
-
DHT22 Temperature Humidity Sensor Module - Accurate Readings
Regular price Rs. 122.00 INRRegular priceSale price Rs. 122.00 INR -
BME280 Sensor Module (GY-BME280, 5V) - Temp Humidity Pressure, I2C
Regular price Rs. 350.00 INRRegular priceSale price Rs. 350.00 INR -
AHT10 Temperature & Humidity Sensor Module – Compoden
Regular price Rs. 120.00 INRRegular priceSale price Rs. 120.00 INR -
PT100 Temperature Sensor Probe - Platinum RTD for Precision Sensing
Regular price Rs. 140.00 INRRegular priceSale price Rs. 140.00 INR -
BMP280 Barometric Pressure & Temperature Sensor Module - Compoden.in
Regular price Rs. 40.00 INRRegular priceSale price Rs. 40.00 INR -
LM35D Analog Temperature Sensor Module – Precision Centigrade Sensor
Regular price Rs. 90.00 INRRegular priceSale price Rs. 90.00 INR -
DS18B20 Original Temperature Sensor – Accurate Digital Thermometer
Regular price Rs. 40.00 INRRegular priceSale price Rs. 40.00 INR -
GY-SHT30-D Temperature Humidity Sensor Module - I2C, High Accuracy
Regular price Rs. 190.00 INRRegular priceSale price Rs. 190.00 INR -
HTU21D Temperature and Humidity Sensor Module I2C — Compoden
Regular price Rs. 160.00 INRRegular priceSale price Rs. 160.00 INR -
CJMCU-75 LM75 I2C Digital Temperature Sensor Module
Regular price Rs. 95.00 INRRegular priceSale price Rs. 95.00 INR -
LM35 Precision Analog Temperature Sensor (TO-92)
Regular price Rs. 70.00 INRRegular priceSale price Rs. 70.00 INR -
DHT11 Temperature Humidity Sensor – Digital Output, 0-50°C
Regular price Rs. 59.00 INRRegular priceSale price Rs. 59.00 INR -
DS18B20 Waterproof Temperature Sensor Probe -55°C to +125°C
Regular price Rs. 75.00 INRRegular priceSale price Rs. 75.00 INR -
PT100 Head Type Temperature Sensor 10 inch Probe – Compoden
Regular price Rs. 630.00 INRRegular priceSale price Rs. 630.00 INR -
BME680 Sensor Module - Temp Humidity Pressure Gas, I2C/SPI
Regular price Rs. 780.00 INRRegular priceSale price Rs. 780.00 INR -
NTC Thermistor Temperature Sensor Module - 3 Pin, 10kΩ
Regular price Rs. 40.00 INRRegular priceSale price Rs. 40.00 INR