<?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[M5Stack with a moisture sensore, Arduino IDE]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I need to work with the module M5stack core kit V1.0 . I try to connect a moisture Funduino sensor to this module with a Arduino IDE but i cann't do it...<br />
Before i have try with the sensor DHT11 and i can receive the temperature, but with the moisture sensor i don't  find anything. I connected:</p>
<ul>
<li>to the GND</li>
</ul>
<ul>
<li>to 3,3 V<br />
S to GPIO22</li>
</ul>
<p dir="auto">![0_1556289977868_Unbenannt.PNG](Uploading 100%)</p>
<p dir="auto">The sensor use a analogic output, you know where i need to connected the data pin about the sensor in the CORE kit?</p>
<p dir="auto">Thank you very much for your help.</p>
]]></description><link>https://community.m5stack.com/topic/951/m5stack-with-a-moisture-sensore-arduino-ide</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 08:14:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/951.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Apr 2019 14:48:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack with a moisture sensore, Arduino IDE on Mon, 29 Apr 2019 16:22:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1386">@kat</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/457">@Rop</a> you need to create and M5ez project, create a text place holder and set the code to replace the text with the values. Hopefully <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/457">@Rop</a> will pick up the notification and help you out. My knowledge is more towards Uiflow</p>
]]></description><link>https://community.m5stack.com/post/4054</link><guid isPermaLink="true">https://community.m5stack.com/post/4054</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 29 Apr 2019 16:22:48 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack with a moisture sensore, Arduino IDE on Mon, 29 Apr 2019 11:23:38 GMT]]></title><description><![CDATA[<p dir="auto">It' show this for example:<br />
moisture: 0<br />
moisture: 125<br />
moisture: 658<br />
moisture: 1254</p>
<p dir="auto">What i need to put in the program to have just one line with " moisture values : " and the values changes every 1seconds?<br />
Like a clock</p>
]]></description><link>https://community.m5stack.com/post/4052</link><guid isPermaLink="true">https://community.m5stack.com/post/4052</guid><dc:creator><![CDATA[kat]]></dc:creator><pubDate>Mon, 29 Apr 2019 11:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack with a moisture sensore, Arduino IDE on Mon, 29 Apr 2019 11:18:24 GMT]]></title><description><![CDATA[<p dir="auto">ok nice thank you for your help !</p>
<p dir="auto">I have connected the sensor to th pin 26 and it work.<br />
i want to know the humidity in the earth for my plants.</p>
]]></description><link>https://community.m5stack.com/post/4051</link><guid isPermaLink="true">https://community.m5stack.com/post/4051</guid><dc:creator><![CDATA[kat]]></dc:creator><pubDate>Mon, 29 Apr 2019 11:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack with a moisture sensore, Arduino IDE on Fri, 26 Apr 2019 15:43:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1386">@kat</a> said in <a href="/post/4012">M5Stack with a moisture sensore, Arduino IDE</a>:</p>
<blockquote>
<p dir="auto">Hello,<br />
I need to work with the module M5stack core kit V1.0 . I try to connect a moisture Funduino sensor to this module with a Arduino IDE but i cann't do it...<br />
Before i have try with the sensor DHT11 and i can receive the temperature, but with the moisture sensor i don't  find anything. I connected:</p>
<ul>
<li>to the GND</li>
</ul>
<ul>
<li>to 3,3 V<br />
S to GPIO22</li>
</ul>
<p dir="auto">![0_1556289977868_Unbenannt.PNG](Uploading 100%)</p>
<p dir="auto">The sensor use a analogic output, you know where i need to connected the data pin about the sensor in the CORE kit?</p>
<p dir="auto">Thank you very much for your help.</p>
</blockquote>
<p dir="auto">Sorry you picture hasn't worked.</p>
<ul>
<li>to 5V</li>
</ul>
<ul>
<li>to GND<br />
s to 35 or 36 on the black I/O base<br />
<img src="https://docs.m5stack.com/assets/img/product_pics/base/core_base_05.png" alt="alt text" class=" img-fluid img-markdown" /><br />
then something like the following to read the pin.</li>
</ul>
<pre><code>int analogPin = G35; // potentiometer wiper (middle terminal) connected to analog pin g35
                    // outside leads to ground and +5V
int val = 0;  // variable to store the value read

void setup() {
  Serial.begin(9600);           //  setup serial
}

void loop() {
  val = analogRead(analogPin);  // read the input pin
  Serial.println(val);          // debug value
} 
</code></pre>
<p dir="auto">May I ask what you are planning to use the sensor for?</p>
]]></description><link>https://community.m5stack.com/post/4014</link><guid isPermaLink="true">https://community.m5stack.com/post/4014</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 26 Apr 2019 15:43:09 GMT</pubDate></item></channel></rss>