<?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[ENV III M5StickC-Plus SHT3X issues]]></title><description><![CDATA[<p dir="auto">I bought both the M5StickC Plus and ENV III Hat from digikey, but I have not been able to get temperature from SHT3X in Arduino IDE. I keep getting <code>Wire.endTransmission()</code> return value of for NACK. How do I fix/debug this or is this HAT broken?</p>
<pre><code>#include &lt;M5Unified.h&gt;
#include &lt;Wire.h&gt;

void setup() {
  M5.begin();
  Serial.begin(115200);
  Wire.begin();
  
}

void loop() {
  // Start I2C Transmission
  Wire.beginTransmission(0x44);
  
  // Send measurement command
  Wire.write(0x2C);
  Wire.write(0x06);
  
  // Stop I2C transmission
  int result = Wire.endTransmission();
  if (result != 0) {
    Serial.println("Failed");
    Serial.println(result);
  }
  delay(5000);
}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/3956/env-iii-m5stickc-plus-sht3x-issues</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 00:30:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3956.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jan 2022 01:09:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ENV III M5StickC-Plus SHT3X issues on Sat, 05 Feb 2022 04:20:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> This fixed the issue! Thanks. I found that <a href="https://github.com/m5stack/UNIT_ENV/blob/9337086b9ec63744b47e1ec5c14ffde5bc007032/src/SHT3X.cpp#L8" target="_blank" rel="noopener noreferrer nofollow ugc">this</a> was the issue. It was using <code>Wire.begin()</code> instead of <code>Wire.begin(0,26)</code></p>
]]></description><link>https://community.m5stack.com/post/16531</link><guid isPermaLink="true">https://community.m5stack.com/post/16531</guid><dc:creator><![CDATA[risingmoon]]></dc:creator><pubDate>Sat, 05 Feb 2022 04:20:42 GMT</pubDate></item><item><title><![CDATA[Reply to ENV III M5StickC-Plus SHT3X issues on Tue, 25 Jan 2022 10:31:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/risingmoon" aria-label="Profile: risingmoon">@<bdi>risingmoon</bdi></a>  have a look here<br />
<a href="https://github.com/m5stack/UNIT_ENV/blob/master/examples/UNIT_ENV_III/UNIT_ENV_III.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/UNIT_ENV/blob/master/examples/UNIT_ENV_III/UNIT_ENV_III.ino</a></p>
]]></description><link>https://community.m5stack.com/post/16330</link><guid isPermaLink="true">https://community.m5stack.com/post/16330</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Tue, 25 Jan 2022 10:31:24 GMT</pubDate></item><item><title><![CDATA[Reply to ENV III M5StickC-Plus SHT3X issues on Tue, 25 Jan 2022 07:30:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/risingmoon" aria-label="Profile: risingmoon">@<bdi>risingmoon</bdi></a></p>
<p dir="auto">try <code>Wire.begin(0,26);</code>. (Note: Information taken from this <a href="https://github.com/m5stack/M5StickC-Plus/blob/master/examples/Hat/ENVII_SHT30_BMP280/ENVII_SHT30_BMP280.ino" target="_blank" rel="noopener noreferrer nofollow ugc">example</a>).</p>
<p dir="auto">If that doesn't help maybe try with UIFlow to figure out whether there is a hardware issue.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16327</link><guid isPermaLink="true">https://community.m5stack.com/post/16327</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 25 Jan 2022 07:30:12 GMT</pubDate></item></channel></rss>