• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

STM32, BME280 problem with humidity

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
119886



Data from BME280
119887


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


119888
 

Attachments

DrG

Active Member
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.
 

Latest threads

EE World Online Articles

Loading

 
Top