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!

rhubarbdog
Posts: 85
Joined: Tue Nov 07, 2017 11:45 pm

Re: New Bosch BME280 temperature, humidity, pressure sensor library

Post by rhubarbdog » Fri Nov 30, 2018 5:35 am

Subject: New Bosch BME280 temperature, humidity, pressure sensor library
triplepoint wrote:
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
hi
i've just looked at your repository and there's a Licensing issue. i've got one of these and have written a class for raspberry pi. Bosch weren't happy i were porting their code to python and were *very* clear that the code has to have a copy of their license at the top and the repository is to be licensed by them. see my License.txt at https://github.com/rhubarbdog/bme280

User avatar
mcauser
Posts: 350
Joined: Mon Jun 15, 2015 8:03 am

Re: New Bosch BME280 temperature, humidity, pressure sensor library

Post by mcauser » Wed Dec 12, 2018 11:57 pm

You rewrote some of their library from scratch in a different language an they claimed copyright?
Their licenses looks like a BSD-3-Clause with an extra paragraph.
I'm no lawyer or software license expert, but if your work is interpreted as derivative work, then you should comply with their license.
If your work is completely original, there's a big grey area there, as your code relies on the same hardware/datasheet, there's only so many ways you can write the code.

Post Reply