For a quick comparison of the sensors, we’ve put together the following table that shows the most important information when it comes to select a temperature sensor namely: communication protocol, supply voltage, temperature range and accuracy.
Measures | Communication protocol | Supply Voltage | Temperature range | Temperature accuracy(Typical) | Humidity accuracy(Typical) | ||
DHT11 | Temperature & Humidity | One-wire | 3.3 to 5.5V | 0 to 50ºC | ±2 ºC at 0-50 °C | ±?? RH | |
DHT20 (AHT20) | Temperature & Humidity | I²C | 2.2 to 5.5V | -40 to 80ºC | ±0.3 ºC at 20-60 °C ±0.5 ºC at -40-80 °C | ±2% at 20-80% RH ±3% at 0-100% RH | |
DHT21 (AM2301) | Temperature & Humidity | One-wire | 3.3 to 5.2V | -40 to 80ºC | ±0.3 ºC at 20-60 °C ±0.5 ºC at -40-80 °C | ±2% at 30-80% RH ±3.5% at 0-100% RH | |
DHT22 (AM2302) | Temperature & Humidity | One-wire | 3.3 to 6V | -40 to 80ºC | ±0.5 ºC at -40-80 °C | ±2% to ±5% RH | |
SHT30 | Temperature & Humidity | Analog | 3.3 to 5.5V | -40 to 125ºC | ±0.2°C at 10~55°C (typical) ±1.5°C at -40°C~125°C (typical) Resolution: 0.01°C, 14bit | ±3 % @ 10~90 %RH (typical) ±8 % @ 0~100 %RH (typical) Resolution: 0.006 %, 14bit | |
SHT41 | Temperature & Humidity | I²C | 1.08 to 3.6V | -40 to 125ºC | ±0.2 ºC | ±1.8 RH | |
SHT45 | Temperature & Humidity | I²C | 1.08 to 3.6V | -40 to 125ºC | ±0.1 ºC | ±1.5 RH | |
LM35 | Temperature | Analog | 4 to 30V | -55 to 150ºC | ±0.5 ºC at 25 ºC | N.A. | |
DS18B20 | Temperature | One-wire | 3 to 5.5V | -55 to 125ºC | ±0.5 ºC at -10-85 °C | N.A. |