<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CoreS3 and ENV Pro (BME688)]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I am trying to get an S3Core to read from an ENV Pro (BME688) but without success, I am suspecting either incompatibility or a dead sensor, it seems to be behaving like it is dead, it works the same when plugged in as not plugged in. Or is there something I need to switch on?</p>
<p dir="auto"><strong>Method1</strong><br />
Firstly using Arduino I have used the code from <a href="https://github.com/m5stack/M5Unit-ENV/blob/master/examples/ENV_PRO/ENV_PRO.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Unit-ENV/blob/master/examples/ENV_PRO/ENV_PRO.ino</a> but am unable to get past line 57</p>
<pre><code> if (!envSensor.begin(BME68X_I2C_ADDR_HIGH, Wire)) {
        checkBsecStatus(envSensor);
    }
</code></pre>
<p dir="auto">I have put some debug in and it just hits this and hangs on the serial output, if I take out this code then it carries on but obviously errors.  I tried changing '_HIGH' to '_LOW' but it made no difference.</p>
<p dir="auto"><strong>Method2</strong><br />
I loaded <a href="https://github.com/adafruit/Adafruit_BME680/blob/master/examples/bme680test/bme680test.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/adafruit/Adafruit_BME680/blob/master/examples/bme680test/bme680test.ino</a></p>
<p dir="auto">I can't get it to go past line 39</p>
<pre><code>if (!bme.begin()) {
    Serial.println("Could not find a valid BME680 sensor, check wiring!");
    while (1);
  }
</code></pre>
<p dir="auto">It just displays the error message and hangs.</p>
<p dir="auto">Thanks</p>
<p dir="auto">Jon</p>
]]></description><link>https://community.m5stack.com/topic/6760/cores3-and-env-pro-bme688</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 04:01:06 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6760.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Sep 2024 15:46:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Mon, 14 Oct 2024 20:43:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/153292">@aitech</a> Dont' throw that sensor away yet.<br />
There is an error in the ENV_Pro demo code:<br />
Line 51 should read  <strong>Wire.begin();</strong><br />
After changing that it worked fine for me.<br />
The interface address for the sensor is actually defined on line 57.<br />
Pretty impressive sensor.</p>
]]></description><link>https://community.m5stack.com/post/26740</link><guid isPermaLink="true">https://community.m5stack.com/post/26740</guid><dc:creator><![CDATA[Luftwaffle]]></dc:creator><pubDate>Mon, 14 Oct 2024 20:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Fri, 06 Sep 2024 08:35:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a></p>
<p dir="auto">Yes, its showing 4.83V, so should be good</p>
<p dir="auto">Thanks</p>
<p dir="auto">Jon</p>
]]></description><link>https://community.m5stack.com/post/26370</link><guid isPermaLink="true">https://community.m5stack.com/post/26370</guid><dc:creator><![CDATA[aitech]]></dc:creator><pubDate>Fri, 06 Sep 2024 08:35:41 GMT</pubDate></item><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Thu, 05 Sep 2024 20:51:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/153292">@aitech</a></p>
<p dir="auto">have you double-checked that port A actually has power? You'll need a multimeter for that and measure between black (GND) and red (5 V) wires.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26367</link><guid isPermaLink="true">https://community.m5stack.com/post/26367</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 05 Sep 2024 20:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Thu, 05 Sep 2024 15:35:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a></p>
<p dir="auto">Nothing showing on the scanner, so looks like a dead sensor.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/26365</link><guid isPermaLink="true">https://community.m5stack.com/post/26365</guid><dc:creator><![CDATA[aitech]]></dc:creator><pubDate>Thu, 05 Sep 2024 15:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Wed, 04 Sep 2024 14:45:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a></p>
<p dir="auto">Many thanks, yes I did have the wrong settings for SDA and SCL, I have now corrected them and am getting more output as below, but am getting error code -2, and then its rebooting.</p>
<p dir="auto">Am investigating further.......</p>
<p dir="auto">'''<br />
BME68X error code : -2<br />
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.</p>
<p dir="auto">Core  1 register dump:<br />
PC      : 0x40056f5c  PS      : 0x00060630  A0      : 0x82016254  A1      : 0x3fceb8e0<br />
A2      : 0x3fceb8f0  A3      : 0x000009b0  A4      : 0x0000002e  A5      : 0x3fceb8f0<br />
A6      : 0x00060023  A7      : 0x00000002  A8      : 0x00000000  A9      : 0x00060023<br />
A10     : 0x00060023  A11     : 0x00000001  A12     : 0x8037dbfd  A13     : 0x3fc93bf0<br />
A14     : 0x00060023  A15     : 0x00000003  SAR     : 0x0000001e  EXCCAUSE: 0x0000001c<br />
EXCVADDR: 0x000009b0  LBEG    : 0x40056f5c  LEND    : 0x40056f72  LCOUNT  : 0x00000001</p>
<p dir="auto">Backtrace: 0x40056f59:0x3fceb8e0 |&lt;-CORRUPTED</p>
<p dir="auto">ELF file SHA256: a0a73cde460324f4<br />
'''</p>
<p dir="auto">Thanks for the link to the scanner I will try that as well.</p>
]]></description><link>https://community.m5stack.com/post/26352</link><guid isPermaLink="true">https://community.m5stack.com/post/26352</guid><dc:creator><![CDATA[aitech]]></dc:creator><pubDate>Wed, 04 Sep 2024 14:45:44 GMT</pubDate></item><item><title><![CDATA[Reply to CoreS3 and ENV Pro (BME688) on Tue, 03 Sep 2024 16:57:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/153292">@aitech</a></p>
<p dir="auto">did you adjust SDA and SCL accordingly? The example is for M5Core which uses different GPIOs on port A (red) than M5CoreS3.</p>
<p dir="auto">Try changing this line:</p>
<pre><code>Wire.begin(21, 22);
</code></pre>
<p dir="auto">to</p>
<pre><code>Wire.begin(2, 1);
</code></pre>
<p dir="auto">You can also try the I2C scanner (internal and port A) from <a href="https://github.com/felmue/MyM5StackExamples/blob/main/M5CoreS3/I2CScanInternalGroove/I2CScanInternalGroove.ino" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26340</link><guid isPermaLink="true">https://community.m5stack.com/post/26340</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 03 Sep 2024 16:57:13 GMT</pubDate></item></channel></rss>