Chouffy / python_sensor_aht20

Standalone I2C driver for AHT20 sensor written in Python
The Unlicense
19 stars 5 forks source link
aht20 humidity-sensor i2c i2c-sensors python3 temperature-sensor

AHT20 Temperature & Humidity for Python I2C

Standadone communication driver for the AHT20 Temperature & Humidity sensor, running on a Raspberry Pi on Python.

Pinout

The AHT20 sensor is connected to the Rasperry Pi via the following pins:

Pin # Pin Name Connection
1 3.3v Voltage in
3 GPIO2 I2C SDA
5 GPIO3 I2C SDL
9 GND Ground

The Raspberry Pi GPIO pinout map can be viewed here.

Pre-requistes

Notes

Authors

Sources