STM32, BME280 problem with humidity

Status
Not open for further replies.

Oleg_STM32

New Member

Hi all.
I try take humidity data from BME280, but it don't work..(
I take strange data after calculation. And if I breathe near BME280 the last var_H change from -97 to -314.
Pressure and Temperature work fine.

Read calibrate tata from BME280



Data from BME280



Maybe problem in method how I read data from array to variables?
Did I do it correct?


 

Attachments

  • Screenshot_1.png
    158.1 KB · Views: 180
  • Screenshot_2.png
    30.7 KB · Views: 172
I have not used a BME280 and I did not want to go through your code line by line. But, nobody else has responded yet, so I want to ask if you have run the Bosch code or this STM32 library code. If either works you could track down the problem. It's not much, but maybe it will help.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…