Continue to Site

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.

  • 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

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
119886



Data from BME280
119887



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


119888
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    158.1 KB · Views: 169
  • Screenshot_2.png
    Screenshot_2.png
    30.7 KB · Views: 163
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top