<div>The AHT25 temperature and humidity sensor is equipped with a newly designed ASIC dedicated chip, an improved MEMS semiconductor capacitive humidity sensor element and a standard temperature sensor element, and its performance has reached the industry’s advanced level. The improved new generation temperature and humidity sensor AHT25 has a more stable performance in harsh environments and can maintain good accuracy in a larger measurement range. AHT25 uses standard-pitch plug-in connectors, which can be easily replaced in applications. Every sensor has been rigorously calibrated and tested. Due to the improvement and miniaturization of the sensor, its cost performance has become higher.</div> <hr /> <h4><strong>Features: </strong></h4> <ol> <li>Fully calibrated</li> <li>Digital output, I²C interface</li> <li>Excellent long-term stability</li> <li>Quick response and strong anti-interference ability</li> <li>Relative humidity and temperature output</li> <li>Excellent long-term stability</li> <li>Fast-response and anti-interference capability</li> <li>Superior sensor performance</li> </ol> <hr /> <h4><strong>Package Includes:</strong></h4> <p>1 x Sensor Model AHT25</p>
Pin Connections Table 1
Board Sensor Pin Connection AHT25 VCC/GND/SDA/SCL 3.3-5V / GND / board SDA / board SCL
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - Arduino Uno
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - Arduino Nano
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - Arduino Mega
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - ESP32
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - ESP8266
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - STM32
AHT25 Integrated temperature and humidity sensor -40 ~ + 80 - Raspberry Pi Pico
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for Arduino Uno: A4=SDA, A5=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for Arduino Nano: A4=SDA, A5=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for Arduino Mega: D20=SDA, D21=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for ESP32: GPIO21=SDA, GPIO22=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for ESP8266: D2(GPIO4)=SDA, D1(GPIO5)=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for STM32: PB7=SDA, PB6=SCL (Blue Pill / F103C8). VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // I2C wiring for Raspberry Pi Pico: GPIO4=SDA, GPIO5=SCL. VCC->3. 3V or 5V per module label, GND->GND.
6 #include <Wire.h>
7 #include <Adafruit_AHTX0.h> // works for AHT10/AHT20/AHT25 - same driver family
8
9 Adafruit_AHTX0 aht;
10
11 void setup () {
12 Serial.begin (115200 );
13 Wire.begin();
14 if (!aht.begin()) {
15 Serial.println ("AHT sensor not found - check wiring!");
16 while (1 ) delay (10 );
17 }
18 }
19
20 void loop () {
21 sensors_event_t humidity, temp;
22 aht.getEvent(&humidity, &temp);
23
24 Serial.print ("Temperature: "); Serial.print (temp.temperature); Serial.print (" C ");
25 Serial.print ("Humidity: "); Serial.print (humidity.relative_humidity); Serial.println (" %");
26
27 delay (1000 );
28 }
Project Notes: I2C temperature + humidity sensor, AHTx0 family driver.
نظرة عامة ومواصفات المنتج — بالعربية AHT25 Integrated temperature and humidity sensor -40 ~ + 80 ℃ متوفر الآن في متجر إكوسترا للإلكترونيات، ضمن قسم Sensors، بسعر 95,00 EGP. كود المنتج لدينا: 808. المنتج غير متوفر حالياً — تواصل معنا عبر واتساب لمعرفة موعد توفره القادم.
أهم المواصفات الفنية:
هذا المنتج مناسب لمشاريع الأردوينو (Arduino) و ESP32 و Raspberry Pi، ومشاريع الروبوتات وإنترنت الأشياء والتعليم الهندسي. جميع القطع مفحوصة قبل الشحن.
تصفّح المزيد من Sensors في إكوسترا.