BMP280 / BME280 - new lib for testing

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
DerLexus
Posts: 22
Joined: 03 Sep 2017 14:38

Re: BMP280 / BME280 - new lib for testing

Post by DerLexus »

Hi michap,
do you have an sketch with channels? I have the problem that the pressure will be reported as 0 but if I print my variable it show the correct kpa. I tried different variable types an channel configuration but the result is always the same...
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: BMP280 / BME280 - new lib for testing

Post by PoltoS »

p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: BMP280 / BME280 - new lib for testing

Post by p0lyg0n1 »

I have made my own version of BMP280 library. It have to be lighter, 'cause it uses fixed point calculation instead of float.
https://forum.z-wave.me/posting.php?mod ... 34#preview
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: BMP280 / BME280 - new lib for testing

Post by michap »

Yes, can confirm that lib is working for BMP280 and BME280 :)
Thanks!

Michael
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: BMP280 / BME280 - new lib for testing

Post by michap »

Would be nice if for BME280 could be set the different op.-modes in code
regarding datasheet page 17 "3.5 Recommended modes of operation"

And maybe to set easy the oversampling rate in configuration for reduction of noise.

Thanks!
Michael
User avatar
10der
Posts: 80
Joined: 08 Jul 2016 00:23
Location: Ukraine - Berkeley, CA

Re: BMP280 / BME280 - new lib for testing

Post by 10der »

hi!

look like a crazy but if humidity more than 72% your library return 0.

Image
samsonbox
Posts: 16
Joined: 06 Sep 2016 22:42

Re: BMP280 / BME280 - new lib for testing

Post by samsonbox »

Hallo,

I have added a "void setSensorMode(sensor_mode mode);" function to the library to set the chip in the given power mode. Is it possible to integrate this function in the library? What do I have to do with the patch?
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: BMP280 / BME280 - new lib for testing

Post by PoltoS »

You can make the change in GitHub and make a pull request
Post Reply