<?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[[Solved]M5fire read microphone]]></title><description><![CDATA[<p dir="auto">Is it possible to read analog values from microphone via iuflow.<br />
I tried to get data but cant define pin 35 as analog.</p>
]]></description><link>https://community.m5stack.com/topic/845/solved-m5fire-read-microphone</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:21:30 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/845.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Apr 2019 20:33:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Fri, 27 Mar 2020 12:29:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">meanwhile it is possible to use the block "analog read pin (34)" from the blockpack "Easy I/O".<br />
So I was able to bild the probram from user M5DOCS just with UIFLOW.</p>
<p dir="auto">Unfortunally it just shows Numbers between 450 and 600 or so. And it dows not react to any sounds.</p>
<p dir="auto">This is the python code of the blockly program:</p>
<p dir="auto">=====<br />
from m5stack import *<br />
from m5ui import *<br />
from uiflow import *<br />
from easyIO import *</p>
<p dir="auto">setScreenColor(0x222222)</p>
<p dir="auto">label0 = M5TextBox(122, 84, "Text", lcd.FONT_DejaVu24,0xFFFFFF, rotate=0)</p>
<h1>while True:<br />
label0.setText(str(analogRead(34)))<br />
wait_ms(100)<br />
wait_ms(2)</h1>
<p dir="auto">What did I do wrong?</p>
]]></description><link>https://community.m5stack.com/post/7930</link><guid isPermaLink="true">https://community.m5stack.com/post/7930</guid><dc:creator><![CDATA[Isabelle]]></dc:creator><pubDate>Fri, 27 Mar 2020 12:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Mon, 15 Apr 2019 07:23:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jpilarski" aria-label="Profile: jpilarski">@<bdi>jpilarski</bdi></a> Thanks a lot! I will tell the engineer about this need</p>
]]></description><link>https://community.m5stack.com/post/3767</link><guid isPermaLink="true">https://community.m5stack.com/post/3767</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Mon, 15 Apr 2019 07:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Mon, 15 Apr 2019 03:28:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/watson" aria-label="Profile: watson">@<bdi>watson</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/hetzer" aria-label="Profile: hetzer">@<bdi>hetzer</bdi></a><br />
I would still consider adding it. I understand it only exists in m5go and fire but then under hardware blocks call the block m5go mic. I just think new users would experiment more with that function exposed as a block. I totally understand I can now make a custom block for this but I still think it makes sense to see it as a default block. It should definitely be exposed for StickC since with that board there is no confusion as they all have a mic. What about having a toggle when the user selects core that designates fire, go, grey, etc. (just like you do with stick and stickC) and have that toggle load the appropriate on board hardware blocks. What about a block that exposes the hall effects sensor too while you are at it. I guess I feel like expose it all since it encourages development and you never know what someone makes with it. At the very least it helps encourage learning and ease of use which seems like the point of block based visual coding.</p>
]]></description><link>https://community.m5stack.com/post/3758</link><guid isPermaLink="true">https://community.m5stack.com/post/3758</guid><dc:creator><![CDATA[jpilarski]]></dc:creator><pubDate>Mon, 15 Apr 2019 03:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Mon, 15 Apr 2019 02:02:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jpilarski" aria-label="Profile: jpilarski">@<bdi>jpilarski</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/hetzer" aria-label="Profile: hetzer">@<bdi>hetzer</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a></p>
<p dir="auto">Why don't we edit mic block? Because it's not all core owns microphone.</p>
<p dir="auto">The <a href="https://docs.m5stack.com/#/en/base/core_bottom" target="_blank" rel="noopener noreferrer nofollow ugc">core bottom</a> in BASE and GRAY kit does not owns microphone. And <a href="https://docs.m5stack.com/#/en/base/m5go_bottom" target="_blank" rel="noopener noreferrer nofollow ugc">M5GO Bottom </a> in Fire, M5GO Kit owns microphone. Hope to get your forgive and understanding.</p>
<p dir="auto">In addition:</p>
<p dir="auto">This documentation will not be updated no longer.<br />
<a href="https://m5stack.readthedocs.io" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.readthedocs.io</a></p>
<p dir="auto">But the documentation will be updated always. <a href="https://docs.m5stack.com/#/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/</a></p>
]]></description><link>https://community.m5stack.com/post/3751</link><guid isPermaLink="true">https://community.m5stack.com/post/3751</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Mon, 15 Apr 2019 02:02:48 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Sun, 14 Apr 2019 17:10:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jpilarski" aria-label="Profile: jpilarski">@<bdi>jpilarski</bdi></a> said in <a href="/post/3744">M5fire read microphone</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> It is just an adc call with a buffer but it's documented as part of the api. Still wondering why there isn't a block.<br />
<a href="https://m5stack.readthedocs.io/en/master/api-reference/mic/mic.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.readthedocs.io/en/master/api-reference/mic/mic.html</a></p>
</blockquote>
<p dir="auto">I have spoke to M5Stack about thinks like this and it is not something they thought of at the time. As the community grows and the hardware spreads it is the users that are discovering the functions needed.<br />
BTW you can also make your own blocks but this function is largely undocumented at present.</p>
]]></description><link>https://community.m5stack.com/post/3746</link><guid isPermaLink="true">https://community.m5stack.com/post/3746</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 14 Apr 2019 17:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Sun, 14 Apr 2019 16:48:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> It is just an adc call with a buffer but it's documented as part of the api. Still wondering why there isn't a block.<br />
<a href="https://m5stack.readthedocs.io/en/master/api-reference/mic/mic.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://m5stack.readthedocs.io/en/master/api-reference/mic/mic.html</a></p>
]]></description><link>https://community.m5stack.com/post/3744</link><guid isPermaLink="true">https://community.m5stack.com/post/3744</guid><dc:creator><![CDATA[jpilarski]]></dc:creator><pubDate>Sun, 14 Apr 2019 16:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Sat, 13 Apr 2019 13:35:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jpilarski" aria-label="Profile: jpilarski">@<bdi>jpilarski</bdi></a> said in <a href="/post/3708">M5fire read microphone</a>:</p>
<blockquote>
<p dir="auto">It's already a function of the m5stack micropython api</p>
</blockquote>
<p dir="auto">Is there a microphone specific API (I couldn’t find it), or are you referring to the analogRead API?</p>
]]></description><link>https://community.m5stack.com/post/3718</link><guid isPermaLink="true">https://community.m5stack.com/post/3718</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sat, 13 Apr 2019 13:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Fri, 12 Apr 2019 14:13:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/watson" aria-label="Profile: watson">@<bdi>watson</bdi></a> Just curious why not expose the mic in the hardware blocks. It's already a function of the m5stack micropython api and I think it makes sense to have mic blocks exposed in flow.</p>
]]></description><link>https://community.m5stack.com/post/3708</link><guid isPermaLink="true">https://community.m5stack.com/post/3708</guid><dc:creator><![CDATA[jpilarski]]></dc:creator><pubDate>Fri, 12 Apr 2019 14:13:47 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Fri, 12 Apr 2019 11:15:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hetzer" aria-label="Profile: hetzer">@<bdi>hetzer</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> Here's the arduino code about microphone</p>
<p dir="auto"><a href="https://github.com/m5stack/M5Stack/blob/master/examples/Fire/M5StackFire_Microphone/M5StackFire_Microphone.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/blob/master/examples/Fire/M5StackFire_Microphone/M5StackFire_Microphone.ino</a></p>
]]></description><link>https://community.m5stack.com/post/3696</link><guid isPermaLink="true">https://community.m5stack.com/post/3696</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Fri, 12 Apr 2019 11:14:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hetzer" aria-label="Profile: hetzer">@<bdi>hetzer</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> It need to realize it yourself through python code</p>
<p dir="auto"><img src="/assets/uploads/files/1555067638397-%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190412191332-resized.png" alt="0_1555067637519_微信截图_20190412191332.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1555067647100-%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20190412191202.png" alt="0_1555067647948_微信截图_20190412191202.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/3695</link><guid isPermaLink="true">https://community.m5stack.com/post/3695</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Fri, 12 Apr 2019 11:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]M5fire read microphone on Fri, 05 Apr 2019 01:20:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hetzer" aria-label="Profile: hetzer">@<bdi>hetzer</bdi></a><br />
Maybe not with uiFlow yet, but this may help a bit.</p>
<p dir="auto"><a href="http://forum.m5stack.com/topic/423/m5stack-fire-microphone" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/423/m5stack-fire-microphone</a></p>
]]></description><link>https://community.m5stack.com/post/3547</link><guid isPermaLink="true">https://community.m5stack.com/post/3547</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Fri, 05 Apr 2019 01:20:42 GMT</pubDate></item></channel></rss>