<?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 IV Sensor with M5Atom (lite)]]></title><description><![CDATA[<p dir="auto">After trying several examples and combining several sketches I do not get the sensor working. In one example I get pressure, but with a large number (perhaps the order, I did not check that), not sure if it makes sense. I never succeeded in getting other values than 0 for temperature and humidity. I tried several atoms as well as several sensors. Somehow the combination of I2C:SHT40(0x44) and BMP280(0x76) should work.</p>
<p dir="auto">Does anyone has a simple example sketch that really works?</p>
]]></description><link>https://community.m5stack.com/topic/6089/env-iv-sensor-with-m5atom-lite</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 20:13:36 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6089.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Feb 2024 14:17:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Fri, 16 Feb 2024 07:48:33 GMT]]></title><description><![CDATA[<p dir="auto">I uploaded an example to UIFlow2 project zone on how to use the AtomS3lite and ENIV in UIFLOW with MQTT last night</p>
]]></description><link>https://community.m5stack.com/post/23843</link><guid isPermaLink="true">https://community.m5stack.com/post/23843</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 16 Feb 2024 07:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Thu, 15 Feb 2024 15:23:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> Thanks, this is indeed basically the same as Felmue (Felix) has and it works also.<br />
I compared the readings with the readings from a CO2-sensor. Temperature is close to each other (difference of about max. 0.2 Celsius). But the humidity differs about 8-9%. That is a lot. The sensors are adjacent to each wonder and should not differ so much regarding humidity (compared to a mechanic sensor, the CO2 sensor comes closest (difference of about 2-3%)).<br />
I wonder how reliable the readings really are.</p>
<p dir="auto">Thanks for the support anyway!</p>
]]></description><link>https://community.m5stack.com/post/23829</link><guid isPermaLink="true">https://community.m5stack.com/post/23829</guid><dc:creator><![CDATA[Kees]]></dc:creator><pubDate>Thu, 15 Feb 2024 15:23:49 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Thu, 15 Feb 2024 14:42:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kees" aria-label="Profile: kees">@<bdi>kees</bdi></a> If your Atom Lite has a Gray plastic body the try this sketch that I tested and it works!</p>
<pre><code>#include &lt;SensirionI2CSht4x.h&gt;
#include &lt;Adafruit_BMP280.h&gt;
#include "Adafruit_Sensor.h"

Adafruit_BMP280 bmp;
SensirionI2CSht4x sht4x;
float temperature, pressure,
  humidity;  // Store the vuale of pressure and Temperature.

void setup() {
  Wire.begin(26, 32); // you may have to try other numbers, I do not have a gray Atom Lite!
  Serial.begin(115200);
  while (!Serial) {
    delay(100);
  }
  while (!bmp.begin(
    0x76)) {  // Init this sensor,True if the init was successful, otherwise
              // false.

    Serial.println(F("BMP280 fail"));
    delay(500);
  }
  Serial.println(F("BMP280 test"));
  uint16_t error;
  char errorMessage[256];
  sht4x.begin(Wire);
  uint32_t serialNumber;
  error = sht4x.serialNumber(serialNumber);
  if (error) {
    Serial.print("Error trying to execute serialNumber(): ");
    errorToString(error, errorMessage, 256);
    Serial.println(errorMessage);
  } else {
    Serial.print("Serial Number: ");
    Serial.println(serialNumber);
  }
  bmp.setSampling(Adafruit_BMP280::MODE_NORMAL,
                  Adafruit_BMP280::SAMPLING_X2,
                  Adafruit_BMP280::SAMPLING_X16,
                  Adafruit_BMP280::FILTER_X16,
                  Adafruit_BMP280::STANDBY_MS_500);
}

void loop() {
  uint16_t error;
  char errorMessage[256];
  delay(500);
  error = sht4x.measureHighPrecision(temperature, humidity);
  if (error) {
    Serial.print("Error trying to execute measureHighPrecision(): ");
    errorToString(error, errorMessage, 256);
    Serial.println(errorMessage);
  } else {
    Serial.print("Pressure=");
    Serial.println(pressure / 1000 + 3.6, 1);
    Serial.print("Temp=");
    Serial.println(temperature);
    Serial.print("Humidity:");
    Serial.println(humidity);
    Serial.println("   ");
  }
  pressure = bmp.readPressure();
  delay(500);
}
</code></pre>
<p dir="auto">Cheers, -Terry</p>
]]></description><link>https://community.m5stack.com/post/23827</link><guid isPermaLink="true">https://community.m5stack.com/post/23827</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Thu, 15 Feb 2024 14:42:30 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Thu, 15 Feb 2024 08:37:38 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Teastain (Terry) and Felmue (Felix),</p>
<p dir="auto">Terry I am not sure what else I can tell than it is the M5Atom Lite! I would like to see your sketch. However it could basically be the same as Terry's.</p>
<p dir="auto">Felix, thanks for your sketch. For some reason it fails on linking this: sht4x.begin(Wire, 0X44); I can not really see what is different in libraries. However I tried this: sht4x.begin(Wire). And this works well. At least I get readings that compare to the ones using another sensor (temperature and humidity).  Perhaps the I2C address 0X44 is default.</p>
<p dir="auto">Thanks both,<br />
Kees.</p>
]]></description><link>https://community.m5stack.com/post/23822</link><guid isPermaLink="true">https://community.m5stack.com/post/23822</guid><dc:creator><![CDATA[Kees]]></dc:creator><pubDate>Thu, 15 Feb 2024 08:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 22:01:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello guys</p>
<p dir="auto">here is my <a href="https://github.com/felmue/MyM5StackExamples/blob/main/M5Atom/EnvIVTest/EnvIVTest.ino" target="_blank" rel="noopener noreferrer nofollow ugc">example</a> using M5Atom Lite.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23816</link><guid isPermaLink="true">https://community.m5stack.com/post/23816</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 14 Feb 2024 22:01:20 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 21:32:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kees" aria-label="Profile: kees">@<bdi>kees</bdi></a> said in <a href="/post/23806">ENV IV Sensor with M5Atom (lite)</a>:</p>
<blockquote>
<p dir="auto">(IDE Microsoft Visual Studio and Visual Micro)<br />
\o/<br />
is like playing Arduino IDE on 'hard mode'<br />
I use the new Arduino IDE ver2.3.x and I got it running on:<br />
AtomS3<br />
Stamp-Pico (which is about the same as  the grey Atom Lite)<br />
And a generic ESP32<br />
I'm displaying in the Serial.monitor.<br />
16:23:46.537 -&gt; Pressure=102.4<br />
16:23:46.537 -&gt; Temp=23.21<br />
16:23:46.537 -&gt; Humidity:40.32<br />
The pressure is in Pa, so I added this fix to make more sense and calibrate to my local atmosphere:<br />
Serial.println(pressure / 1000 + 3.6, 1);<br />
Gives 102.4 kPa, here in Southern Ontario Canada<br />
If you would tell me your Atom model I will post my sketch here:<br />
-Terry</p>
</blockquote>
]]></description><link>https://community.m5stack.com/post/23815</link><guid isPermaLink="true">https://community.m5stack.com/post/23815</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Wed, 14 Feb 2024 21:32:01 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 21:24:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kees" aria-label="Profile: kees">@<bdi>kees</bdi></a> The old Atom Lite is grey and the new AtomS3 Lite is white.</p>
<p dir="auto">It can  make a difference!</p>
<p dir="auto">I will set up a test this afternoon with my AtomS3  and get back.</p>
<p dir="auto">Are you seeing these results on the Serial Monitor?</p>
]]></description><link>https://community.m5stack.com/post/23813</link><guid isPermaLink="true">https://community.m5stack.com/post/23813</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Wed, 14 Feb 2024 21:24:42 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 17:10:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kees" aria-label="Profile: kees">@<bdi>kees</bdi></a> said in <a href="/post/23806">ENV IV Sensor with M5Atom (lite)</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> Hi, I use c++ with Arduino (IDE Microsoft Visual Studio and Visual Micro) and as far as I can tell I use the Atom Lite version. A basic version that I use for home automated applications. I expect both to work with the sensor. If you can shed some light on this I'd grateful.</p>
</blockquote>
<p dir="auto">What's the error and are you sure you have the correct sensors as there are currently 5 different versions</p>
<p dir="auto">Does the sensor and ATOM lite work in UIFLow?</p>
]]></description><link>https://community.m5stack.com/post/23808</link><guid isPermaLink="true">https://community.m5stack.com/post/23808</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 14 Feb 2024 17:10:46 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 15:42:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> Hi, I use c++ with Arduino (IDE Microsoft Visual Studio and Visual Micro) and as far as I can tell I use the Atom Lite version. A basic version that I use for home automated applications. I expect both to work with the sensor. If you can shed some light on this I'd grateful.</p>
]]></description><link>https://community.m5stack.com/post/23806</link><guid isPermaLink="true">https://community.m5stack.com/post/23806</guid><dc:creator><![CDATA[Kees]]></dc:creator><pubDate>Wed, 14 Feb 2024 15:42:58 GMT</pubDate></item><item><title><![CDATA[Reply to ENV IV Sensor with M5Atom (lite) on Wed, 14 Feb 2024 15:28:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kees" aria-label="Profile: kees">@<bdi>kees</bdi></a> What program language do you use?<br />
I have a ENV IV and a AtomS3 to try.<br />
Is yours a S3 model?</p>
]]></description><link>https://community.m5stack.com/post/23805</link><guid isPermaLink="true">https://community.m5stack.com/post/23805</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Wed, 14 Feb 2024 15:28:25 GMT</pubDate></item></channel></rss>