Sparkfun BME280 & Huzzah not communicating

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
johntech2004
New user
Posts: 5
Joined: 25 Oct 2018, 17:54

Sparkfun BME280 & Huzzah not communicating

#1 Post by johntech2004 » 25 Oct 2018, 18:21

I am trying to set up the Sparkfun BME280 module on the Huzah ESP8266 board. I have SCL -> 4 and SDA -> 5 between the BME280 and the Huzzah. I have verified this setup works using an Arduino sketch. I loaded ESP Easy 2 on the Huzzah, went through and set everything up according to the BME setup page. I can run the I2C scanner and it shows the address is 0x77 so it seems the i2c connection is working. The problem is I get no readings on the device screen where I set up the sensor.

I downloaded the latest ESP EASYfile and flashed the 8266 with that. When trying to set up my sensor, the BME280 board was not listed.
Any ideas on getting this board to work with ESP EASY?
Thanks

John

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Sparkfun BME280 & Huzzah not communicating

#2 Post by grovkillen » 25 Oct 2018, 18:47

I don't understand, you flashed one unit and the i2c scanner listed the BME280 but no reading showed up when setting up the device.

You then flashed another unit but on that one the i2c scanner didn't show any address for the BME280. Are you sure the i2c is set up in the hardware tab?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

johntech2004
New user
Posts: 5
Joined: 25 Oct 2018, 17:54

Re: Sparkfun BME280 & Huzzah not communicating

#3 Post by johntech2004 » 25 Oct 2018, 19:41

I have 1 BME280 board and 1 Huzzah board. I set these boards up in the Arduino IDE and it displayed the temp, humidity and the pressure. I flashed ESPEasy 2 onto the Huzzah board and set up the I2C connection and connections to OH. Then I chose the BME280 board from the drop-down menu. It had the display for Temp, Humidity, and Pressure. All readings were zero. I went to the tools and checked the I2C connection and it displayed it was at address 0x77. Still no readings. cycled power several times and no change.

So I thought maybe there was an update in the latest software upgrade. I got the latest and flashed it into the huzzah only to find there was no option listed for the BME280 board.
So I want back to ESPEasy 2 and reflashed and this is where I'm at. The I2C still shows 0x77 but no reading from the BME280 board.

John

TD-er
Core team member
Posts: 8747
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sparkfun BME280 & Huzzah not communicating

#4 Post by TD-er » 26 Oct 2018, 00:55

Later builds have the BME280 and BMP280 mixed into the same plugin.
It is now called BMx280.
Just add it, set the correct address and enable it.
After pressing save, it should display the found sensor right next to the I2C address selection box. for example: [Detected: BME280]

N.B. 0x77 is not the default address of the sensor. So please also check if its address is set correctly.

johntech2004
New user
Posts: 5
Joined: 25 Oct 2018, 17:54

Re: Sparkfun BME280 & Huzzah not communicating

#5 Post by johntech2004 » 26 Oct 2018, 05:33

Thank you TD-er !!

That was the fix. Using the BMX280 was what I needed. I did have to change the address to 0x77 for the final connection.

John

Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests