2020-01-21 12:35:20 -05:00
[![license-badge][]][license] ![version] [![stars][]][stargazers] [![hit-count][]][count] [![github-issues][]][issues]
2020-03-20 18:47:48 -04:00
# Aosong ASAIR AHT10, AHT15 & AHT20
2020-01-21 12:35:20 -05:00
2020-03-20 18:47:48 -04:00
This is an Arduino library for Aosong ASAIR AHT10, AHT15 & AHT20 Digital Humidity & Temperature Sensor
2020-01-21 12:35:20 -05:00
- Supply voltage: 1.8v - 3.6v
- Temperature range: -40°C..+80°C
- Temperature resolution: 0.01°C
- Temperature accuracy: ±0.3°C
- Relative humidity range: 0%..100%
- Relative humidity resolution: 0.024%
- Relative humidity accuracy: ±2%**
- I²C bus speed: 0Hz - 400KHz
2020-03-20 18:47:48 -04:00
- Recomended polling frequency: 8sec - 30sec***
2020-01-21 12:35:20 -05:00
Supports all sensors features:
2020-03-20 18:47:48 -04:00
- read humidity****
- read temperature****
- soft reset with sensor initialization
2020-01-21 12:35:20 -05:00
Tested on:
- Arduino AVR
- Arduino ESP8266
2020-03-20 18:47:48 -04:00
- Arduino ESP32
2020-01-21 12:35:20 -05:00
- Arduino STM32
2020-03-20 18:47:48 -04:00
**Prolonged exposure for 60 hours at humidity > 80% can lead to a temporary drift of the signal +3%. Sensor slowly returns to the calibrated state at normal operating conditions.
2020-03-20 18:48:15 -04:00
2020-03-20 18:47:48 -04:00
***If sampling rate of the measurement is too high, the sensor overheats. To prevent the temperature of the sensor from rising > 0.1°C, read sensor once every 2 seconds.
****The library returns 255 if a communication error occurs or if the calibration coefficient is off.
2020-01-21 12:35:20 -05:00
[license-badge]: https://img.shields.io/badge/License-GPLv3-blue.svg
[license]: https://choosealicense.com/licenses/gpl-3.0/
2020-03-20 18:47:48 -04:00
[version]: https://img.shields.io/badge/Version-1.1.0-green.svg
2020-01-21 12:35:20 -05:00
[stars]: https://img.shields.io/github/stars/enjoyneering/AHT10.svg
[hit-count]: http://hits.dwyl.io/enjoyneering/AHT10/badges.svg
[count]: http://hits.dwyl.io/enjoyneering/AHT10/badges
[stargazers]: https://github.com/enjoyneering/AHT10/stargazers
[github-issues]: https://img.shields.io/github/issues/enjoyneering/AHT10.svg
[issues]: https://github.com/enjoyneering/AHT10/issues/