New Bosch BME280 temperature, humidity, pressure sensor library

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
triplepoint
Posts: 1
Joined: Fri Aug 03, 2018 10:35 pm

New Bosch BME280 temperature, humidity, pressure sensor library

Post by triplepoint » Fri Aug 03, 2018 10:42 pm

I wanted to share a new driver I wrote for the Bosch BME280.
https://github.com/triplepoint/micropython_bme280_i2c

Some of the work was heavily guided by the excellent prior work at:
https://github.com/catdog2/mpy_bme280_esp8266
but I wanted to expose more of the power mode and filtering functionality per the data sheet.

This driver is more or less a straight reading of the data sheet, combined with the reference C driver library at:
https://github.com/BoschSensortec/BME280_driver

If you've got some time and have a BME280 wired up with I2c, please give it a try and let me know how it works for you.

I recommend reading the data sheet sections 3.4, 3.5, and 3.6 to get an idea of what the extra configuration values can do.
https://ae-bst.resource.bosch.com/media ... 001-12.pdf

Thanks!

Post Reply