enjoyneering:
I do not understand how AHT10 can be slow. It measures temperature and humidity simultaneously in 75 milliseconds. Your favorite SHT21 at maximum resolution measures humidity in 22-29 milliseconds and temperature in 66-85 ms. The total measurement time for SHT21 is 29 + 85 = 114 milliseconds.
Arduino library for SHT21, HTU21D & Si70xx - GitHub - enjoyneering/HTU21D: This is an Arduino library for HTU21D, Si7021 and SHT21 Digital Humidity & Temperature Sensor
Arduino library for AHT10, AHT15 - GitHub - enjoyneering/AHT10: This is an Arduino library for Aosong ASAIR AHT10, AHT15 Digital Humidity & Temperature Sensor
Just wondering why you trust datasheets and not just test measurement speed instead? Just a quick test Adafruit_SHT31.h and your AHT10 library below using Arduino Uno. (Sensor heated by fingers during test to get changing numbers). Do you get other numbers?
void loop()
{
time = millis();
Serial.print(time);
Serial.print(",");
Serial.print(myAHT10.readTemperature());
Serial.print(",");
Serial.print(myAHT10.readHumidity());
Serial.println(",");
}
29,27.69,30.74,
183,27.69,30.74,
336,30.09,51.39,
490,30.09,51.39,
644,30.09,51.39,
796,30.46,53.14,
950,30.46,53.14,
1103,30.46,53.14,
1257,30.75,54.93,
1411,30.75,54.93,
1564,30.75,54.93,
1717,31.01,56.57,
1870,31.01,56.57,
2024,31.01,56.57,
void loop()
{
time = millis();
Serial.print(time);
Serial.print(",");
Serial.print(sht31.readTemperature());
Serial.print(",");
Serial.print(sht31.readHumidity());
Serial.println(",");
}
10,29.87,67.56,
54,29.91,67.80,
97,29.91,68.02,
140,29.97,68.22,
184,29.97,68.46,
227,29.98,68.65,
270,30.01,68.91,
314,30.04,69.09,
357,30.04,69.27,
400,30.06,69.51,
443,30.06,69.72,
487,30.11,69.86,
530,30.15,70.07,
573,30.14,70.25,
617,30.18,70.46,
660,30.15,70.59,
So my conclusions still there AHT is slow and inacurate.