Posts: 64
Joined: Mon Dec 11, 2017 9:58 pm

bme280 - i2c weather sensing from Bosch

Fri Nov 30, 2018 6:12 am

I've written a simplified driver class for the Bosch bme280 humidity, pressure & temperature sensor.
It can be found at https://github.com/rhubarbdog/bme280
The example program reads the weather every 2 seconds and prints the result to the terminal.
Download the source and run it by typing

Code: Select all

python3 raspberry_example.py

Return to “Interfacing (DSI, CSI, I2C, etc.)”