<?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[Measurements (temp&#x2F;humi) by DHT12 on ENV Hat]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
i trying to compare measurements (temp/humi) from DHT12 into ENV Hat and DHT22.<br />
I used a DHT22 attached to an ESP32 and ENV Hat attached to M5StickC and this is result<br />
<img src="/assets/uploads/files/1586030044500-test.jpg" alt="0_1586030043377_test.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">i haven't an external meter to check the right parameters, but seems that DHT22 measurements are more realistic.<br />
Is possible that measurements of the DHT22 into ENV Hat are so far from the real ones ?</p>
<p dir="auto">may I have been wrong to call the functionality ?<br />
For DHT22 i copied DHT12.h and DHT12.cpp from example and use in my project as follow</p>
<pre><code>DHT12 dht12;

setup() {
    M5.begin();
    Wire.begin(0,26);
    ...
}


loop() {
    ...
    float actualTemp = dht12.readTemperature(1);
    float actualHumi = dht12.readHumidity();
...
}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/1816/measurements-temp-humi-by-dht12-on-env-hat</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 03:10:59 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1816.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Apr 2020 20:13:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Measurements (temp&#x2F;humi) by DHT12 on ENV Hat on Sun, 05 Apr 2020 07:10:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi ajb2k3,<br />
thanks for your response.</p>
<p dir="auto">I found this thread that explain issue <a href="http://community.m5stack.com/topic/1684/m5-stickc-arduino-samples-temperature-reading-issue/6" target="_blank" rel="noopener noreferrer nofollow ugc">M5 Stickc Arduino samples - Temperature reading issue</a></p>
<p dir="auto">but i can not find any thread that report some solution, could you help me ?</p>
]]></description><link>https://community.m5stack.com/post/8020</link><guid isPermaLink="true">https://community.m5stack.com/post/8020</guid><dc:creator><![CDATA[armbas]]></dc:creator><pubDate>Sun, 05 Apr 2020 07:10:22 GMT</pubDate></item><item><title><![CDATA[Reply to Measurements (temp&#x2F;humi) by DHT12 on ENV Hat on Sun, 05 Apr 2020 06:27:39 GMT]]></title><description><![CDATA[<p dir="auto">The reading from the HAT are not correct as the HAT is affected by heat given off by the M5StickC.<br />
Also currently its hard to calibrate the sensor correctly but some members of the community had been working hard to find solutions to this issue.</p>
]]></description><link>https://community.m5stack.com/post/8017</link><guid isPermaLink="true">https://community.m5stack.com/post/8017</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 05 Apr 2020 06:27:39 GMT</pubDate></item></channel></rss>