• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

BME280 faulty readings

Q&A Forum › Category: ESP32 › BME280 faulty readings
0 Vote Up Vote Down
Anders Carlsson asked 4 years ago

Hello!
I follow the project ESP32 MQTT – Publish and subscribe with Arduino IDE. I have copied and pasted everything you have written. And Node-red shows it. But the readings from BME280 in the serial monitor show 181.6 and sometimes nan Celicus and humidity 0.00 and sometimes nan. The website shows a gray humidity that changes between 0 to nan and a graph that shows 181 C. I have tested with two new BME280 and have scanned them and it says 0x76. And my BME280 looks exactly like the one you have a picture of and also the letter combination CJMCU. I have checked the connections and they are correct. The LED diode works to turn on and off. Any suggestions on what to troubleshoot?
Regards Anders

Question Tags: BME280 no readings
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Do the other sensors work?
It seems that the sensor is broken, or it is not connected properly.
Regards,
Sara

0 Vote Up Vote Down
Anders Carlsson answered 4 years ago

No, both the sensors give the same result. And I have measured the voltage on their input and it is 3.3V. Both sensors are new and when you run the ic2 scanner you get 0x76 from them.

0 Vote Up Vote Down
Anders Carlsson answered 4 years ago

Then it`s just 2 more cables and the SCK goes to GPIO22 and the other SDI goes to GPIO21.

0 Vote Up Vote Down
Anders Carlsson answered 4 years ago

I found another site were they used Arduino UNO and there they have also put the SDO to gnd. So I tested this and then everting works with both of my BME280 sensors. I did a test with the Esp32 and also use the gnd to SDO then everting works perfect. So case is solved.
Regards
Anders

0 Vote Up Vote Down
Anders Carlsson answered 4 years ago

After reading a littel more the I found out this. If you do a IC2 scan and it says 0x76 then you have to put the SDO to low (gnd) And then it will work for you.
//Anders

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great!
Thanks for sharing that.
I didn’t know about it.
 
I’ll close this issue.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.