soldr.ai

Docs  /  Components

AHT25 temperature and humidity sensor: specs and pinout

A calibrated digital temperature and humidity sensor from Aosong (ASAIR) with an I2C interface. The sensor ships on a small 4-pin carrier board.

Every value cites its sourceOfficial pinout

Buy on Compoden

Specs

SpecValueSource
Supply voltage VDD2.2 V min, 3.3 V typ, 5.5 V maxsource
Table 2 Electrical specifications (p.2)
Supply current (VDD 3.3 V)250 nA typ in sleep; 980 uA typ while measuringsource
Table 2 (p.2); footnote 5 gives VDD 3.3 V, T below 60 C
Interface and I2C addressI2C, 7-bit device address 0x38source
Section 5.3 Sending a command (p.10)
Humidity resolution and accuracy0.024 %RH typical resolution; +/-2 %RH typical accuracy at 25 C (maximum: see Figure 2)source
Table 1 Humidity (p.2)
Humidity operating range0 to 80 %RH normal; 0 to 100 %RH extendedsource
Table 1 and footnote 3 (p.2)
Temperature resolution and accuracy0.01 C typical resolution; +/-0.3 C typical accuracy (maximum: see Figure 3)source
Table 3 Temperature (p.3)
Temperature operating range-40 C to 80 C (extended)source
Table 3 (p.3)
Response time (63 percent)Humidity under 8 s; temperature 5 to 30 ssource
Table 1 (p.2); Table 3 (p.3)
Measurement sequence timingWait at least 100 ms after power-up; send 0xAC with parameters 0x33 0x00; wait 80 ms; read 6 data bytes plus CRCsource
Section 5.4 Sensor reading process (p.10)

Power

ValueSource
Supply2.2-5.5 V (3.3 V typical)source
Table 2 Electrical specifications (p.2)
Current250 nA sleep; 980 uA measuring (VDD 3.3 V)source
Table 2 Electrical specifications (p.2)

Pinout

Pin order is from the Aosong AHT25 sheet (top view, 4-pin carrier). Confirm the pin order printed on the unit in hand before wiring.

PinFunctionVoltageNotesSource
1 VDDPower supply2.2-5.5 Vsource
Table 4 pin assignment (p.7)
2 SDASerial data, bidirectional-0.3 V to VDD + 0.3 V (absolute maximum)Needs a pull-up resistor.source
Table 4 (p.7); Table 5 absolute maximum (p.8)
3 GNDGround0 Vsource
Table 4 (p.7)
4 SCLSerial clock, bidirectional-0.3 V to VDD + 0.3 V (absolute maximum)Needs a pull-up resistor.source
Table 4 (p.7); Table 5 (p.8)

Build with it

Project ideas for the AHT25 temperature and humidity sensor. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources