Git Product home page Git Product logo

dfrobot_aht20_micropython's Introduction

DFRobot_AHT20_MicroPython

This is a port of https://github.com/DFRobot/DFRobot_AHT20 for Micropython on the Raspberry Pico.

The AHT20 temperature & humidity sensor employs digital output and I2C interface, through which users can read the measured temperature and humidity. Based on the AHT20 chip, it offers the following features:

  • Collect ambient temperature, unit Celsius (℃), range -40-85℃, resolution: 0.01, error: ±0.3-±1.6 ℃
  • Collect ambient relative humidity, unit: %RH, range 0-100%RH, resolution 0.024%RH, error: when the temprature is 25 ℃, error range is ±2-±5%RH
  • Use I2C interface, I2C address default to be 0x38
  • uA level sensor, the measured value is up to 200uA.
  • Power supply range 3.3-5V

Usage

Image showing how to connect the AHT20 to a Raspberry Pico

Connect the DFRobot AHT20 as follows:

  • VCC to 3V3
  • GND to GND
  • SCL to GP17
  • SDA to GP16

Using e.g. Thonny, upload DFRobot_AHT20.py and main.py onto the Raspberry Pico. Run main.py.

dfrobot_aht20_micropython's People

Contributors

joepweijers avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.