pimoroni / bme280-python

Python library for the BME280 temperature, pressure and humidity sensor

Home Page:https://shop.pimoroni.com/products/bme280-breakout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BME280 Temperature, Pressure, & Humidity Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for measuring ambient temperature, barometric pressure, and humidity, the BME280 is a great indoor environmental sensor.

Pre-requisites

You must enable:

  • i2c: sudo raspi-config nonint do_i2c 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.

Installing

Stable library from PyPi, the smbus library is also needed:

  • Just run python3 -m pip install pimoroni-bme280

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/bme280-python
  • cd bme280-python
  • sudo ./install.sh

About

Python library for the BME280 temperature, pressure and humidity sensor

https://shop.pimoroni.com/products/bme280-breakout

License:MIT License


Languages

Language:Python 52.3%Language:Shell 42.5%Language:Makefile 5.1%