periph / devices

Go·Hardware·Lean - Device drivers
https://periph.io
Apache License 2.0
92 stars 45 forks source link

Support BME680 #35

Open 0x46616c6b opened 2 years ago

0x46616c6b commented 2 years ago

What kind of new feature are you looking for?

Would like to see that the bme680 is supported as well as the bmp180 and bmx280. I will try to implement them but unsure how fast I can contribute a PR. So maybe someone else also plan to do this.

Do you plan to:

SamusAranX commented 2 years ago

https://github.com/SamusAranX/ThermoServer/tree/2004c212967512526ea9c4b510a9ccf9dd57f64c/bme680

I hacked together enough support for the BME680/688 to be able to read temperature, pressure, and humidity data. My chip's humidity sensor seems to be broken, so I can't meaningfully test it, but temperature and pressure readings work flawlessly. I didn't implement the rest of the BME680/688's feature set, but the code should be readable enough to start work on that.

If anyone wants to tackle this, I recommend not putting this into the existing bmxx80 package and instead making a new one. The BME680/688 are different enough from what the bmxx80 package supports to warrant an entire new package.