Gravity: AHT20 Temperature and Humidity Sensor

DFRobotSKU: SEN0528
Sale price £4.50
incl. VAT
excl. VAT
Only 12 units left

Awesome Extras

DFRobotDFRduino Uno R3
Sale price £16.70 incl. VAT excl. VAT
DFRobotGravity: IO Expansion Shield for Arduino V7.1
Sale price £8.50 incl. VAT excl. VAT
DFRobotGravity: Nano I/O Shield for Arduino Nano
Sale price £9.10 incl. VAT excl. VAT

The AHT20 is a high-precision but low-cost temperature and humidity sensor, which is equipped with an improved MEMS semiconductor capacitive humidity sensor element. It features a standard I2C interface and a wide voltage supply of 2V-5V. With the simple peripheral circuit, it performs stably even in harsh environments in the measuring range of -40℃ ~ +85℃.

This sensor can be widely used for measuring the environmental temperature and humidity of home electronic equipment, the temperature and humidity of automobiles and more.

This version uses a 4-pin Gravity connector and comes complete with a 4-pin Gravity interface cable. No soldering required!

Connection Example - Arduino


  • Digital output, I2C interface
  • Excellent long-term stability
  • Fast response, strong anti-interference, and adaptability
  • Gravity interface, simple wiring, no soldering required


Module Parameters

  • Operating Voltage: DC2V-5V
  • Output Signal: I2C
  • I2C Address: 0x38
  • Dimension: 30mm×20.5mm/1.18×0.81"

AHT20 Chip Parameters

Relative Humidity

  • Resolution: 0.024 %RH
  • Accuracy Error: ±2 %RH
  • Repeatability: ±0.1 %RH
  • Hysteresis: ±1 %RH
  • Non-linear: ±0.1 %RH
  • Response Time: 8S
  • Operating Range: 0~100 %RH
  • Long-term Drift: <0.5 %RH/yr


  • Resolution: 0.01℃
  • Accuracy Error: ±0.3℃
  • Repeatability: ±0.1℃
  • Hysteresis: ±0.1℃
  • Response Time: minimum 5S, maximum 30S
  • Operating Range: -40℃~85℃
  • Long-term Drift: <0.04℃/yr

Package Contents

  • 1x Gravity: AHT20 Temperature and Humidity Sensor
  • 1x Gravity 4-pin I2C/UART Sensor Cable



Pin Function Description
+ Positive Power Supply Power Supply: DC 2V~5V
- Negative Power Supply --
SCL I2C Clock Line --
SDA I2C Data Line --

Payment & Accreditations

Payment methods
Visa Mastercard Maestro PayPal Amazon Klarna

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.