Forum >DFROBOT BME_280 sensor with FireBeetle ESP8266 IOT - Help
DFROBOT BME_280 sensor with FireBeetle ESP8266 IOT - Help

Hello All....
I am very new at arduino projects trying to ease my way into C++ programming language. I felt that I needed to start off small and am failing miserably! I felt a nice Google search and some youtube videos and I would be on my feet and running.
I am trying to setup a very basic BME_280 sensor with a FireBeetle ESP8266 wired as I2C. After loading the DFRobot_BME_280-master example I2C sketch I get this return:

Sketch
Scan
Any ideas?
SKU:SEN0236 SKU:DFR0489 IDE Arduino 1.8.7
BME280 library https://github.com/DFRobot/DFRobot_BME280
I am very new at arduino projects trying to ease my way into C++ programming language. I felt that I needed to start off small and am failing miserably! I felt a nice Google search and some youtube videos and I would be on my feet and running.
I am trying to setup a very basic BME_280 sensor with a FireBeetle ESP8266 wired as I2C. After loading the DFRobot_BME_280-master example I2C sketch I get this return:

Sketch
Code: Select all
Return
/*! * @file basicTestI2C.ino * @brief DFRobot's Temperature、Pressure、Humidity and Approx altitude * @n [Get the module here] * @n This example read the Temperature、Pressure、Humidity and Altitude from BME280, and then print them * @n [Connection and Diagram] * * @copyright [DFRobot](http://www.dfrobot.com), 2016 * @copyright GNU Lesser General Public License * * @author [yangyang] * @version V1.0 * @date 2017-7-5 */ #include <DFRobot_BME280.h> #define SEA_LEVEL_PRESSURE 1013.25f #define BME_CS 10 DFRobot_BME280 bme; //I2C float temp, pa, hum, alt; void setup() { Serial.begin(115200); // I2c default address is 0x76, if the need to change please modify bme.begin(Addr) if (!bme.begin(0x77)) { Serial.println("No sensor device found, check line or address!"); while (1); } Serial.println("-- BME280 DEMO --"); } void loop() { temp = bme.temperatureValue(); pa = bme.pressureValue(); hum = bme.humidityValue(); alt = bme.altitudeValue(SEA_LEVEL_PRESSURE); Serial.print("Temp:"); Serial.print(temp); Serial.println(" C"); Serial.print("Pa:"); Serial.print(pa); Serial.println(" Pa"); Serial.print("Hum:"); Serial.print(hum); Serial.println(" %"); Serial.print("Alt:"); Serial.print(alt); Serial.println(" m"); Serial.println("------END------"); delay(1000); }
Code: Select all
So I verified the sensor with a I2C scanner and verified a return on 0x77. I tried to modify the address in the sketch with no help and same return. I also tried to modify the address in the .h library file with no help.Soft WDT reset ctx: cont sp: 3ffef3e0 end: 3ffef5c0 offset: 01b0 >>>stack>>> 3ffef590: 3fffdad0 00000000 3ffee568 402020b1 3ffef5a0: feefeffe feefeffe 3ffee584 40203848 3ffef5b0: feefeffe feefeffe 3ffee5a0 40100718 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v6000001c ~ld ⸮No sensor device found, check line or address!
Scan
Code: Select all
https://playground.arduino.cc/Main/I2cScannerI2C scanner. Scanning ... Found address: 119 (0x77) Done. Found 1 device(s).
Any ideas?
SKU:SEN0236 SKU:DFR0489 IDE Arduino 1.8.7
BME280 library https://github.com/DFRobot/DFRobot_BME280