MicroPython library for TE HTU31D temperature and humidity sensors
Project description
Introduction
MicroPython library for TE HTU31D temperature and humidity sensors
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_HTU31D
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_HTU31D
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_HTU31D/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_HTU31D/examples.json
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install micropython-htu31d
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-htu31d
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-htu31d
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file micropython-htu31d-0.1.2.tar.gz
.
File metadata
- Download URL: micropython-htu31d-0.1.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2d1245986717e17c86186c11dddc6061781e641b16131296dddcf6597a8c86 |
|
MD5 | e2fc0c3ebb72f1b997946d8321039b5d |
|
BLAKE2b-256 | be82f9e8ed5f7c2d64d4d29a8c272e683435a63c066ae7de00a5add4cdc9baee |
File details
Details for the file micropython_htu31d-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: micropython_htu31d-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586755aea9cd8503ab552aedfa7868cc0f896bafa390df893ef01cb4742b8d2b |
|
MD5 | 83746e1dfb574e0c64751f2c79ddf08f |
|
BLAKE2b-256 | 423ccdf996807e7312228651763920daaa5a62ce8e0f29600f9608e4d241ac99 |