Skip to main content

A library to use BMP280 sensor with bus and address settings

Project description

bmp280lp

This library allows you to use BMP280 sensor. Tested on Orange Pi 5 plus.
Cette bibliothèque permet d'utiliser le capteur BMP280. Testé avec succés sur Orange Pi 5 plus.

Installation

pip install bmp280lp

Usage example

from bmp280lp import bmp280

bmp = bmp280(port=2, address=0x77)

pressure = bmp.read_pressure() temp = bmp.read_temperature()

print("Pressure (hPa): " + str(pressure)) print("Temperature (°C): " + str(temp))

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

This library was developed by Laurent Pastor. It's a fork off bmp-280 library with adding the setting address.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bmp280lp-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bmp280lp-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file bmp280lp-0.1.0.tar.gz.

File metadata

  • Download URL: bmp280lp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for bmp280lp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 791d8c2530118dd10a6a88a52e1a2e635cfd07e93ace7e732bd5ed4af88a2a46
MD5 386efa5d9155b7b4d718f46d5a334a99
BLAKE2b-256 4d448aaae5259017f4983cdf7078d982ccb5c27dd60ac20ae3a5a6c3837f4121

See more details on using hashes here.

File details

Details for the file bmp280lp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bmp280lp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for bmp280lp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88e3d0127df2b8fa586139373d841f99719119b43cbf60b9dfd982b4442ef082
MD5 a4984807ac0863161c8a2f3f85fb9533
BLAKE2b-256 cdea83572ab380be32eb9e836a6f37306e2417e9ffbd0e5040c3b57abb262bd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page