Qwiic Humidity AHT20

Added to your shopping cart

The AHT20 humidity sensor is brand new from ASAIR; it measures temperature within a tolerance of ±0.3 °C and relative humidity with ±2% error putting it on the high end of performance, but with relatively low cost!

Use our Arduino library to send I2C commands over the Qwiic bus to trigger measurements and get real-time temperature and humidity data. Just search "SparkFun AHT20" in the Arduino library manager or download the zip file from our Github repo to get the library.

This board is one of our many Qwiic compatible boards! Simply plug and go. No soldering, no figuring out which is SDA or SCL, and no voltage regulation or translation required!

We do not plan to regularly produce SparkX products so get them while they’re hot!

The AHT20 humidity sensor Sensor can also be automatically detected, scanned, configured, and logged using the OpenLog Artemis datalogger system. No programming, soldering, or setup required!

Experimental Product: SparkX products are rapidly produced to bring you the most cutting edge technology as it becomes available. These products are tested but come with no guarantees. Live technical support is not available for SparkX products. Head on over to our forum for support or to ask a question.


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #186970 / about 4 years ago / 1

    Just an FYI, these sensors do not support multiple addresses and thus you can only have one per qwik or serial line. I wish I had known this prior to ordering.

    • Member #187451 / about 4 years ago / 1

      SFE's TCA9548A board or any other of the same type should play nice with multiple sensors.

Customer Reviews

3.7 out of 5

Based on 3 ratings:

Currently viewing all customer reviews.

2 of 2 found this helpful:

Works great!!

Got this to track humidity in a basement room and it works great. Measurements take mine an average of 0.047 seconds (plenty fast for my purposes) and it responds very quickly to changes (eg breathing on it). The sample code was straightforward and easy to port to Python on a Pi - thanks Sparkfun!

0 of 4 found this helpful:

The worst sensor

Did not work with Heltec ESP32 WiFiKit32

I soldered the respective wire to the terminals I a QWIIC connection a requirement?


I bought 8 and they all work as expected

These are quite cheap and I wanted to measure temperature/humidity changes for a project and they worked well using a Teensy and a qwiic i2c multiplexer.