espressif/aht20

uploaded 7 months ago
I2C driver for AHT20 humidity and temperature sensor

readme

[![Component Registry](https://components.espressif.com/components/espressif/aht20/badge.svg)](https://components.espressif.com/components/espressif/aht20)

| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |

# Component: AHT20
I2C driver and definition of AHT20 humidity and temperature sensor.

See [AHT20 datasheet](http://www.aosong.com/en/products-32.html).

## Operation modes
New data from AHT20 can be obtained in Polling modes.

> Note: The user is responsible for initialization and configuration of I2C bus.

### Polling mode
After calling `aht20_new_sensor()` the user is responsible for reading out new samples from AHT20.

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/aht20^0.1.0~1"

or download archive

Stats

  • Downloaded in total
    Downloaded in total 1.3k times
  • Downloaded this version
    This version: 1.2k times

Badge

espressif/aht20 version: 0.1.0~1
|