<?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[M5StickC or M5StickC PLUS microphone basic example not working [Solved]]]></title><description><![CDATA[<p dir="auto">Hi, I am new to the M5stickc eco system. Wanted to try some experiments with the built-in microphone. Tried to run the example provided with M5Stickc-&gt;Basic-&gt;Microphone. Compiles and runs. I can see "Mic Test" on tft. But it doesn't do anything past that. Interestingly the M5Stickc-&gt;Basic-&gt;FactoryTest is the only microphone example that works and shows the wave form on the tft screen. I have tried both M5stickc and M5stickcplus. Can someone please provide any thoughts on what I am doing wrong? Please see video of my test in this attached link.<br />
<a href="https://youtu.be/yZ3dLEMrn-A" target="_blank" rel="noopener noreferrer nofollow ugc">YouTube Link</a></p>
]]></description><link>https://community.m5stack.com/topic/3959/m5stickc-or-m5stickc-plus-microphone-basic-example-not-working-solved</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:41:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3959.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jan 2022 20:38:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Tue, 01 Feb 2022 02:41:25 GMT]]></title><description><![CDATA[<p dir="auto">Thank you to <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> . The original issue I posted was resolved. We can close this post for basic microphone example works just fine after <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>'s suggestions. I will open a separate thread for the issue with regards to microphone offset in M5stickcPlus.</p>
]]></description><link>https://community.m5stack.com/post/16443</link><guid isPermaLink="true">https://community.m5stack.com/post/16443</guid><dc:creator><![CDATA[miamifish]]></dc:creator><pubDate>Tue, 01 Feb 2022 02:41:25 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Sun, 30 Jan 2022 07:35:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/miamifish" aria-label="Profile: miamifish">@<bdi>miamifish</bdi></a></p>
<p dir="auto">w/o trying it myself one thing that seems wrong to me is the fact that in every loop about READ_LEN (=512) samples are read from the microphone but at the same time you plot about 1000 samples...</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16417</link><guid isPermaLink="true">https://community.m5stack.com/post/16417</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 30 Jan 2022 07:35:46 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Sat, 29 Jan 2022 08:34:35 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> said in <a href="/post/16386">M5StickC or M5StickC PLUS microphone basic example not working</a>:</p>
<blockquote>
<p dir="auto">Hello guys</p>
<p dir="auto"><s>I quickly had a look, but I couldn't spot the reason why the example doesn't work. Sorry.<br />
But since the factory test code works maybe you could try to extract the necessary microphone code from there?</s></p>
<p dir="auto">Edit: Just had another look using M5StickCPlus and the fix is quite easy. The gain factor needs to be upped to 30 (from 3) like this:</p>
<pre><code>#define GAIN_FACTOR 30
</code></pre>
<p dir="auto">and if you compile for arduino-esp32 version 2.x.x you also need to add this line:</p>
<pre><code>pin_config.mck_io_num = GPIO_NUM_0;
</code></pre>
<p dir="auto">to the pin config.</p>
<p dir="auto">Thanks<br />
Felix</p>
</blockquote>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> I thought you may be able to solve this one and give the solutions.</p>
]]></description><link>https://community.m5stack.com/post/16397</link><guid isPermaLink="true">https://community.m5stack.com/post/16397</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 29 Jan 2022 08:34:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Fri, 28 Jan 2022 20:49:30 GMT]]></title><description><![CDATA[<p dir="auto">Sorry here is print code -<br />
<img src="/assets/uploads/files/1643402936489-mic_plotting-resized.jpg" alt="0_1643402932626_Mic_Plotting.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/16390</link><guid isPermaLink="true">https://community.m5stack.com/post/16390</guid><dc:creator><![CDATA[miamifish]]></dc:creator><pubDate>Fri, 28 Jan 2022 20:49:30 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Fri, 28 Jan 2022 20:47:48 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Felix &amp; ajb2k3! I tried to run it using the above changes and the example runs so well on M5stickc Plus. Is it possible to print the values using the Arduino IDE's serial plotter? I tried it like this, but it is not a clean wave ....!! There seems to be an offset in the signal? Thank you so much for saving the day!</p>
<p dir="auto"><a href="/assets/uploads/files/1643402789503-mic_plotting-resized.jpg">0_1643402786324_Mic_Plotting.jpg</a> <img src="/assets/uploads/files/1643402803621-mic_offset-resized.jpg" alt="0_1643402799357_Mic_Offset.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/16389</link><guid isPermaLink="true">https://community.m5stack.com/post/16389</guid><dc:creator><![CDATA[miamifish]]></dc:creator><pubDate>Fri, 28 Jan 2022 20:47:48 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Fri, 28 Jan 2022 19:18:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello guys</p>
<p dir="auto"><s>I quickly had a look, but I couldn't spot the reason why the example doesn't work. Sorry.<br />
But since the factory test code works maybe you could try to extract the necessary microphone code from there?</s></p>
<p dir="auto">Edit: Just had another look using M5StickCPlus and the fix is quite easy. The gain factor needs to be upped to 30 (from 3) like this:</p>
<pre><code>#define GAIN_FACTOR 30
</code></pre>
<p dir="auto">and if you compile for arduino-esp32 version 2.x.x you also need to add this line:</p>
<pre><code>pin_config.mck_io_num = GPIO_NUM_0;
</code></pre>
<p dir="auto">to the pin config.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16386</link><guid isPermaLink="true">https://community.m5stack.com/post/16386</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 28 Jan 2022 19:18:48 GMT</pubDate></item><item><title><![CDATA[Reply to M5StickC or M5StickC PLUS microphone basic example not working [Solved] on Fri, 28 Jan 2022 17:30:06 GMT]]></title><description><![CDATA[<p dir="auto">You will be lucky to get a response at the moment due to the Chinese New Year.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> do you have any experience with the Stick C mics and Arduino?<br />
Have you tried comparing the microphone code between the two? it could be that something has changed and the code has not been updated.</p>
]]></description><link>https://community.m5stack.com/post/16384</link><guid isPermaLink="true">https://community.m5stack.com/post/16384</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 28 Jan 2022 17:30:06 GMT</pubDate></item></channel></rss>