Gowin Semiconductor

AHT20 - I2C Digital Humidity & Temperature Sensor | ASAIR

N.º de pieza: AHT20 ✓ Activo
En stock Se envía en 1-3 días hábiles
2.2 V to 5.5 V Vdss 3 x 3 mm bottom face, 1.0 mm height Package
Desde $0.33 USD / unidad
MOQ: 1 |
Precio actualizado: 2026-10-19
Precios por volumen
Cant. Precio unitario Total
1 $0.44 $0,44
10 $0.42 $4,20
100 $0.39 $39,00
500 $0.36 $180,00
1.000 $0.33 $330,00
ℹ️ Todos los precios están en USD

AHT20 Descripción general

The ASAIR (Guangzhou Aosong Electronics) AHT20 is a fully calibrated digital temperature and humidity sensor in a compact 3 x 3 mm, 1.0 mm high pinless SMD package, outputting factory-calibrated measurements over a standard I2C interface.

A combined humidity and temperature sensor is a MEMS-based semiconductor device that measures ambient relative humidity through capacitance changes in a polymer dielectric and ambient temperature through an on-chip bandgap sensor. Within the sensing hierarchy, it sits under environmental sensors, which belong to the broader MEMS sensor family used across power management, HVAC, and IoT systems.

The AHT20 key advantages include a small 3 x 3 mm bottom-face footprint with only 1.0 mm height for space-constrained designs, a wide 2.2 V to 5.5 V supply range that spans 3.3 V and 5 V logic rails, and factory calibration stored on the new-design ASIC, eliminating customer calibration cost. Relative humidity accuracy is ±2 %RH (per LCSC product listing for the AHT20 family), and the device replaces the popular DHT11/DHT22 modules with a true digital I2C output.

Technically, the AHT20 integrates a new-generation ASIC chip, an improved MEMS semiconductor capacitive humidity sensing element, and a standard temperature element on one substrate. Because the calibration data is stored in on-chip OTP memory, every unit ships with consistent, traceable accuracy, and the two-row flat, pinless SMD construction is fully compatible with standard reflow soldering processes.

Typical applications include smart-home thermostats and IoT environmental nodes, HVAC and dehumidifier control, weather stations, and data-logger products where a low-cost calibrated I2C humidity sensor replaces discrete DHT-series modules.

A key design consideration is thermal self-heating: keep continuous measurement intervals above the datasheet-recommended minimum and place the sensor away from heat sources, since board heat offsets the reading. Avoid condensation and consider the AHT20-F filter-membrane variant in dusty or wet environments.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.

Alternativas directas para AHT20 — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.

Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:

AHT20-F

✅ Sustitución directa
📦 3x3mm pinless SMD
same sensor with PTFE filter membrane added; identical footprint and interface

📋 Alternativa de referencia (no en el catálogo)

AHT25

✅ Sustitución directa ⚠️ Especificaciones sin verificar
📦 3x3mm pinless SMD
same ASAIR family footprint, improved accuracy generation; verify land pattern against AHT25 datasheet

📋 Alternativa de referencia (no en el catálogo)

AHT21

✅ Sustitución directa ⚠️ Especificaciones sin verificar
📦 3x3mm pinless SMD
same interface (I2C 0x38) and pin function map in ASAIR family package; same footprint class, smaller element window

📋 Alternativa de referencia (no en el catálogo)

DHT20

✅ Sustitución directa
📦 3x3mm pinless SMD
AHT20 pin-module equivalent sold as DHT20; same I2C protocol and 0x38 address

📋 Alternativa de referencia (no en el catálogo)

AHT20 Valores máximos y características eléctricas

Tipo de sensor Relative Humidity and Temperature, digital
Interfaz I2C (standard format)
I2C Address 0x38
Supply Voltage Range 2.2 V to 5.5 V
RH Accuracy ±2 %RH
Package Dimensions 3 x 3 mm bottom face, 1.0 mm height
Package Type Two-row flat pinless SMD, reflow solderable
Calibration Factory calibrated, on-chip
ASIC Generation New design ASIC with improved MEMS capacitive element
Soldering Process Reflow soldering compatible
Tipo de montaje Surface Mount
Warranty 12-month quality guarantee (per Aosong product manual policy)

Configuración de pines de AHT20

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 SDA — I2C serial data
Pin 2 VDD — Power supply, 2.2 V to 5.5 V
Pin 3 GND — Ground
Pin 4 SCL — I2C serial clock
Pin 5 NC — Not connected (per datasheet)
Pin 6 NC — Not connected (per datasheet)

Aplicaciones típicas

AHT20 es adecuado para 6 aplicacións: Smart Home Thermostats, HVAC and Dehumidifier Control, IoT Environmental Monitoring Nodes, Weather Stations, Data Loggers and Cold Chain Monitoring, Consumer Appliances and Air Quality Products.

🧩

Smart Home Thermostats

The AHT20 fits smart thermostats because it delivers ±2 %RH humidity accuracy and temperature data over standard I2C at address 0x38 from a wide 2.2 V to 5.5 V rail, matching both 3.3 V and 5 V logic in wall-powered controllers. The 3 x 3 mm, 1.0 mm pinless SMD package mounts at the thermostat enclosure vent so ambient air reaches the capacitive element without ducting. Because readings are factory calibrated on the ASIC, firmware can use raw I2C conversion results directly, reducing manufacturing calibration steps. Its digital output avoids the ADC drift and analog-front-end cost of resistive humidity sensors, and the low duty-cycle measurement lets the sensor idle between readings to keep thermostat standby consumption low.

🏭

HVAC and Dehumidifier Control

In HVAC and dehumidifier control boards, the AHT20's ±2 %RH accuracy and digital I2C output at 0x38 provide the feedback signal needed to cycle compressors and fans at correct humidity setpoints. The 2.2 V to 5.5 V supply range lets one sensor design serve 3.3 V logic controllers and legacy 5 V boards without translation. The improved MEMS capacitive element in the new-generation ASIC resists drift better than the previous sensor generation, per ASAIR's product statement, extending service intervals in continuously operating equipment. Designers should mount the sensor in the return-air path away from heating elements and, in condensation-prone plenums, select the filter-membrane AHT20-F variant to protect the element from droplets while preserving response time.

📡

IoT Environmental Monitoring Nodes

Battery-powered IoT environmental nodes choose the AHT20 because it communicates over standard I2C that ESP32, nRF52, and STM32 hosts already support, requiring no proprietary timing protocol like the DHT22. The wide 2.2 V to 5.5 V operating range allows direct operation from a lithium cell down to the brown-out threshold, and measurements are on demand - the sensor consumes power only during conversions, so a node sampling once per minute spends most of its life with the sensor idle. Factory calibration stored on-chip means every deployed node reports consistent ±2 %RH values without per-unit trimming, which is essential when hundreds of nodes feed one analytics dashboard. At address 0x38, the sensor coexists with other I2C devices on the same two-wire bus.

🌡

Weather Stations

Personal and agricultural weather stations use the AHT20 as the humidity and ambient temperature element because its digital I2C interface and factory calibration deliver repeatable ±2 %RH readings suitable for trend logging on Raspberry Pi and Arduino platforms. Compared with the DHT22 commonly used in hobby stations, the AHT20 responds faster, avoids the DHT's single-wire timing faults, and is actively recommended by Adafruit as the modern replacement. In outdoor enclosures, the sensor should sit in a radiation-shielded, ventilated section; the AHT20-F filter-membrane variant is recommended where rain splash, dust, or pollen can reach the board. Multiple stations can share one Raspberry Pi I2C bus using a multiplexer since the AHT20 address is fixed at 0x38.

🖥

Data Loggers and Cold Chain Monitoring

Standalone temperature and humidity data loggers for warehouses, greenhouses, and cold-chain shipping benefit from the AHT20's combination of factory calibration, digital I2C output, and tiny 3 x 3 mm footprint that fits inside pen-sized logger housings. The sensor's on-demand measurement model suits loggers that wake every few minutes from deep sleep, take one conversion, store it, and sleep again, maximizing coin-cell life. Because the ASIC stores calibration coefficients on-chip, replacement sensors swapped into a logger give consistent readings without recalibration - important for auditable cold-chain records. Designers should thermally isolate the sensor from the logger's battery and radio, since self-heating of a few tenths of a degree directly biases the reported temperature and humidity values.

💡

Consumer Appliances and Air Quality Products

Air purifiers, humidifiers, and refrigeration appliances embed the AHT20 to close the control loop on humidity-related functions. The sensor's pinless 3 x 3 mm SMD construction is fully reflow solderable, which suits high-volume appliance PCB assembly without manual placement steps, and its 12-month manufacturer quality guarantee policy (per Aosong's product manual) supports consumer-grade sourcing. The wide 2.2 V to 5.5 V supply range and fixed 0x38 I2C address integrate with either the appliance's main MCU or a dedicated control sub-MCU. In humidifier products where the sensor sees high vapor density, choose the AHT20-F membrane variant to prevent condensation accumulation on the sensing element and preserve long-term ±2 %RH accuracy.

Resumen de productos recomendados

ESP32 Wi-Fi host MCU with I2C master Se usa en: Smart Home Thermostats, IoT Environmental Monitoring Nodes STM32F103 I2C host microcontroller Se usa en: Smart Home Thermostats ESP8266 Wi-Fi connected HVAC controller Se usa en: HVAC and Dehumidifier Control STM32F030 Cost-optimized control MCU Se usa en: HVAC and Dehumidifier Control nRF52840 BLE sensor node MCU Se usa en: IoT Environmental Monitoring Nodes Raspberry Pi I2C logging host (SDA/SCL GPIO) Se usa en: Weather Stations TCA9548A I2C multiplexer for multiple sensors Se usa en: Weather Stations ATmega328P Low-power logger MCU Se usa en: Data Loggers and Cold Chain Monitoring DS3231 Real-time clock for timestamped logs Se usa en: Data Loggers and Cold Chain Monitoring STM32G030 Appliance control MCU with I2C Se usa en: Consumer Appliances and Air Quality Products AHT20-F Filter-membrane variant for humid environments Se usa en: Consumer Appliances and Air Quality Products
What is the supply voltage range of the AHT20 sensor?
The AHT20 operates from a 2.2 V to 5.5 V supply, per LCSC's AHT20-family product listing. This wide range means one footprint design can run on both 3.3 V microcontrollers (ESP32, STM32) and 5 V Arduino boards without a level shifter on the I2C bus, since the sensor operates directly at the host logic voltage.
What is the accuracy of the AHT20 humidity sensor?
The AHT20 family provides ±2 %RH relative humidity accuracy according to the LCSC product listing for the ASAIR AHT20 series. Combined with factory calibration stored on the ASIC, this accuracy is delivered on every unit without customer calibration, making it suitable for smart home, HVAC, and general IoT environmental monitoring.
What is the I2C address of the AHT20?
The Aosong AHT20 uses a fixed I2C address of 0x38, as documented on the i2c.net AHT20 reference and Adafruit's AHT20 learning guide. Because the address is fixed, only one AHT20 can share a given I2C bus segment unless an I2C multiplexer such as the TCA9548A is used when multiple sensors are required on one bus.
Where can I download the AHT20 datasheet PDF?
The official AHT20 datasheet PDF is distributed by ASAIR/Aosong and is available via Adafruit's hosted copy (Data_Sheet_AHT20.pdf, 16 pages per alldatasheet.com) and via the asairsensors.com product page. Always download from the manufacturer or an authorized mirror to ensure you have the latest revision of the product data manual.
Can the AHT20 replace the DHT22 in my project?
Yes, the AHT20 is widely regarded as a modern successor to the DHT22, per Adafruit's 'Modern Replacements for DHT11 and DHT22' guide. It offers a true standard I2C digital interface instead of the DHT22 proprietary single-wire timing protocol, faster readings, and better reliability, though it requires I2C-capable host firmware rather than the simple DHT libraries.
AHT20 vs BME280 - which is better for an Arduino project?
For basic humidity and temperature measurement, the AHT20 is the better value: it costs well under $1 and delivers ±2 %RH accuracy over I2C at address 0x38. The Bosch BME280 adds barometric pressure sensing and stronger community libraries but costs more. Choose the AHT20 when you only need humidity and temperature; choose the BME280 when pressure data or Bosch ecosystem support is required.
What is the difference between AHT20 and AHT21?
The AHT21 is a smaller-footprint variant of the AHT20 in ASAIR's next package generation, using the same I2C protocol and 0x38 address family. The AHT20 uses the larger 3 x 3 mm, 1.0 mm height pinless SMD package. Choose the AHT20 when board space allows and you want the larger, easier-to-inspect footprint; the AHT21 suits ultra-compact designs. Note the footprints differ, so they are not footprint-identical.
What is the best drop-in replacement for the AHT20?
The best drop-in option is the ASAIR AHT20-F, which is the same sensor with an added PTFE filter membrane in the same 3 x 3 mm package - use it in dusty or condensation-prone environments. Within the same board footprint, ASAIR's AHT25 is the closest higher-accuracy same-family option; verify the exact land pattern against the AHT25 datasheet before committing a PCB revision.
Where to buy AHT20 sensors and what do they cost?
The AHT20 is stocked at LCSC and other distributors; the AHT20-F variant (LCSC part C3012622) is listed from $0.4449 with 17,314 units in stock as of the October 2026 search data. On XAIPART, tiered pricing starts at $0.44 for 1 unit and drops to about $0.33 at 1,000 units. Order early for volume projects since low-cost MEMS sensors can see allocation.
What are the key specifications of the AHT20 that engineers should know?
The AHT20 is a factory-calibrated digital relative humidity and temperature sensor from ASAIR (Aosong): 2.2 V to 5.5 V supply, I2C interface at address 0x38, ±2 %RH accuracy, 3 x 3 mm bottom-face pinless SMD package 1.0 mm high, and reflow-solderable construction. It uses a new-design ASIC with an improved MEMS capacitive humidity element, per the official ASAIR datasheet.
Is the AHT20 suitable for outdoor weather stations?
Yes, the AHT20 is suitable for weather stations provided it is protected from liquid water and direct solar heating. Its ±2 %RH accuracy and I2C digital output integrate cleanly with ESP32/Raspberry Pi nodes. For exposed deployments, select the AHT20-F variant, which adds a filter membrane that blocks dust, droplets, and contamination while preserving response time.
Is the AHT20 compatible with Arduino, ESP32, and Raspberry Pi Pico?
Yes, the AHT20 works with any host that has an I2C bus, including Arduino, ESP32, and Raspberry Pi Pico. Adafruit provides a dedicated AHT20 Arduino library, and ESPHome and MicroPython drivers exist. Wire SDA to the host's SDA line, SCL to SCL, power from 2.2 V to 5.5 V, and read at address 0x38 with standard I2C commands.
How should I design the PCB layout around the AHT20?
Place the AHT20 at the board edge or in a cutout slot so ambient air reaches the element freely, and keep it away from power components, regulators, and the MCU that cause self-heating offsets. Use 10 kOhm pull-up resistors on SDA/SCL (typical I2C practice), add a 100 nF decoupling capacitor near the supply pin, and follow the reflow land pattern in the ASAIR datasheet.
What is the AHT20 pinout?
The AHT20 uses a pinless two-row SMD bottom-face contact construction: SDA, VDD, GND, SCL on the four main contacts, with additional NC contacts, per Adafruit's AHT20 pinout guide and the ASAIR datasheet. Because the contacts are on the bottom face rather than protruding leads, verify contact positions against the datasheet land pattern - they are not through-hole pins like the DHT22.
Does the AHT20 need calibration after installation?
No. The AHT20 is factory calibrated, with calibration coefficients stored on-chip in the ASIC, per the ASAIR product description. Each sensor outputs calibrated digital signals directly over I2C, so no user calibration or offset trimming is required. For best long-term accuracy, avoid contaminating the sensing element with dust, salt, or solvents, or specify the AHT20-F with its protective membrane.

Datos de referencia de ingeniería para AHT20 — comparación, orientación de diseño e información de cumplimiento.

Guía de selección

Choose the AHT20 when you need a sub-$1 factory-calibrated humidity and temperature sensor with standard I2C output on a 3.3 V or 5 V rail - it is the natural replacement for DHT11/DHT22 modules on any I2C-capable host. Choose the AHT20-F if the sensor will see dust, splash, or condensation; it is the same sensor with a protective membrane and the same footprint. Choose the AHT21 when board area is tighter than 3 x 3 mm and you accept a smaller reflow footprint. Choose the AHT25 when a newer accuracy generation within the same ASAIR family is desired, verifying the land pattern first. Skip the AHT20 only when you need pressure (BME280), industrial-grade accuracy (Sensirion SHT3x/SHT4x), or an analog/ratiometric output. Trade-off to accept: ±2 %RH and a fixed 0x38 address - fine for consumer and IoT use, not for metrology, and one sensor per bus segment without a multiplexer.

Comparación con alternativas

Parámetro Este producto AHT20-F AHT25 AHT21 DHT20
Package 3x3mm pinless SMD, 1.0mm height 3x3mm pinless SMD - same 3x3mm class pinless SMD - same family ASAIR family pinless SMD 3x3mm pinless SMD - same
Brand ASAIR (Guangzhou Aosong Electronics) ASAIR (Aosong) ASAIR (Aosong) ASAIR (Aosong) ASAIR (Aosong)
Interface I2C (0x38) I2C (0x38) I2C I2C (0x38) I2C (0x38)
Factory Calibration Yes, on-chip Yes, on-chip Yes, on-chip Yes, on-chip Yes, on-chip

Diferenciadores clave

  • True I2C digital output versus DHT22 proprietary single-wire protocol (frente a DHT22)
  • Integrated filter membrane option in the same footprint (frente a AHT20-F)
  • Wide 2.2-5.5 V supply without level shifting (frente a AHT21)

Notas de diseño

Mount the AHT20 where ambient air can reach the element freely: prefer a board-edge slot, breathing holes in the enclosure above the sensor, or a cutout that isolates the sensor island from the main PCB copper. Avoid placing it within 10-15 mm of voltage regulators, MCUs under load, or power resistors, since board self-heating of only 1 C biases the reported temperature and shifts apparent RH by several percent.

Decouple the AHT20 supply pin with a 100 nF ceramic capacitor placed within a few millimeters of VDD, and use typical I2C pull-ups of 4.7 kOhm to 10 kOhm on SDA/SCL to the same rail. Because the sensor works from 2.2 V to 5.5 V, power it from the host logic rail directly; if the bus runs at 3.3 V but the sensor is on 5 V, use a level shifter such as the PCA9306 to protect 3.3 V-only hosts.

The AHT20 requires the datasheet initialization and measurement command sequence over I2C at address 0x38 before valid data is returned; do not simply read bytes at power-up. Do not poll faster than the datasheet measurement interval - excessive sampling causes element self-heating and degraded accuracy. The fixed 0x38 address also collides with several other ASAIR/Dialog-family I2C devices, so check the full bus address map before adding a second sensor.

Información de cumplimiento

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Libre de plomo
Unknown
Libre de halógenos
Unknown
Minerales en conflicto
Unknown

Compliance declarations were not present in the provided web data; consult the ASAIR product manual and distributor RoHS certificates.

Datos verificados el: 2026-10-20 — datos verificados y seleccionados por el equipo de ingeniería de componentes de XAIPART

Búsquedas relacionadas

AHT20 datasheet PDF AHT20 I2C address 0x38 ASAIR AHT20 temperature humidity sensor AHT20 vs BME280 AHT20 vs DHT22 which is better AHT20 drop-in replacement AHT20-F AHT20 Arduino ESP32 wiring tutorial buy AHT20 sensor price AHT20 pinout 3x3mm SMD AHT20 humidity accuracy ±2%RH AHT20 weather station Raspberry Pi what can replace AHT20 sensor

Componentes & términos relacionados

ASAIR Guangzhou Aosong Electronics AHT20 AHT20-F AHT21 AHT25 DHT20 DHT22 BME280 relative humidity sensor MEMS capacitive humidity sensor I2C 0x38 pinless SMD package reflow soldering factory calibration ASIC IoT environmental monitoring HVAC control weather station ±2 %RH accuracy 2.2 V to 5.5 V supply Adafruit LCSC
RFQ de presupuesto rápido
Complete los detalles — nuestro equipo de ventas responderá en un plazo de 24 horas
Número de pieza Fabricante Encapsulado QTY Precio objetivo Total
Total: $0.00 USD
✓
¡Presupuesto enviado!

Responderemos a su correo electrónico en un plazo de 24 horas

1
RFQ enviado
2
Presupuesto recibido
3
Pedido realizado
4
Pago
5
Enviado
6
Entregado
Ver detalles del RFQ