Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 NameConnection
13.3vVoltage in
3GPIO2I2C SDA
5GPIO3I2C SDL
9GNDGround

The Raspberry Pi GPIO pinout map can be viewed here.

Pre-requistes

  • Raspberry Pi, but could run elsewhere
  • On the machine:python3-smbus installed
  • On Python:smbus2 installed

Notes

  • The I2C bus is1 by default, as it's the default one for the Raspberry Pi. Another bus can be specified with theBusNum variable when calling the module.

Authors

Sources

About

Standalone I2C driver for AHT20 sensor written in Python

Topics

Resources

License

Stars

Watchers

Forks

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp