- Notifications
You must be signed in to change notification settings - Fork7
Standalone I2C driver for AHT20 sensor written in Python
License
NotificationsYou must be signed in to change notification settings
Chouffy/python_sensor_aht20
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Standadone communication driver for the AHT20 Temperature & Humidity sensor, running on a Raspberry Pi on Python.
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.
- Raspberry Pi, but could run elsewhere
- On the machine:
python3-smbusinstalled - On Python:
smbus2installed
- The I2C bus is
1by default, as it's the default one for the Raspberry Pi. Another bus can be specified with theBusNumvariable when calling the module.
- Chouffy for the original module
- Zifeng1997 for the CRC8 checker
About
Standalone I2C driver for AHT20 sensor written in Python
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors2
Uh oh!
There was an error while loading.Please reload this page.