<?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[Knock Detector with microphone m5stickC]]></title><description><![CDATA[<p dir="auto">Hello!<br />
Please give me an example of working with a microphone on m5sctickC. You need to know only the volume of the sound, like a shock detector.<br />
I am using Python. I tried to read the analog signal from the G34, but it did not help.<br />
Thank!</p>
]]></description><link>https://community.m5stack.com/topic/991/knock-detector-with-microphone-m5stickc</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 14:11:09 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/991.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 May 2019 18:17:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Knock Detector with microphone m5stickC on Tue, 14 May 2019 01:47:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1099">@auct</a> said in <a href="/post/4264">Knock Detector with microphone m5stickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> said in <a href="/post/4260">Knock Detector with microphone m5stickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1099">@auct</a></p>
<p dir="auto">Try this...<br />
<a href="https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino</a></p>
</blockquote>
<p dir="auto">Thank you, I saw it. How to write it in Python?</p>
</blockquote>
<p dir="auto">Sorry about that. I didn’t see that you were looking for a Python example. After a bit more digging, I noticed the M5Go default program has a Preview Microphone function. Check our lines 154-194 from here:</p>
<p dir="auto"><a href="https://github.com/m5stack/M5GO/blob/master/M5GO.py" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5GO/blob/master/M5GO.py</a></p>
]]></description><link>https://community.m5stack.com/post/4271</link><guid isPermaLink="true">https://community.m5stack.com/post/4271</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Tue, 14 May 2019 01:47:57 GMT</pubDate></item><item><title><![CDATA[Reply to Knock Detector with microphone m5stickC on Mon, 13 May 2019 16:18:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> said in <a href="/post/4260">Knock Detector with microphone m5stickC</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1099">@auct</a></p>
<p dir="auto">Try this...<br />
<a href="https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino</a></p>
</blockquote>
<p dir="auto">Thank you, I saw it. How to write it in Python?</p>
]]></description><link>https://community.m5stack.com/post/4264</link><guid isPermaLink="true">https://community.m5stack.com/post/4264</guid><dc:creator><![CDATA[AucT]]></dc:creator><pubDate>Mon, 13 May 2019 16:18:22 GMT</pubDate></item><item><title><![CDATA[Reply to Knock Detector with microphone m5stickC on Mon, 13 May 2019 01:10:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1099">@auct</a></p>
<p dir="auto">Try this...<br />
<a href="https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino</a></p>
]]></description><link>https://community.m5stack.com/post/4260</link><guid isPermaLink="true">https://community.m5stack.com/post/4260</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Mon, 13 May 2019 01:10:40 GMT</pubDate></item><item><title><![CDATA[Reply to Knock Detector with microphone m5stickC on Sat, 11 May 2019 18:42:34 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you need to use a internal microphone.<br />
How?</p>
]]></description><link>https://community.m5stack.com/post/4245</link><guid isPermaLink="true">https://community.m5stack.com/post/4245</guid><dc:creator><![CDATA[AucT]]></dc:creator><pubDate>Sat, 11 May 2019 18:42:34 GMT</pubDate></item><item><title><![CDATA[Reply to Knock Detector with microphone m5stickC on Sat, 11 May 2019 18:33:01 GMT]]></title><description><![CDATA[<p dir="auto">What kind of microphone are you using?<br />
If the internal microphone then its not an analogue device, it communicates over i2c.</p>
]]></description><link>https://community.m5stack.com/post/4244</link><guid isPermaLink="true">https://community.m5stack.com/post/4244</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 11 May 2019 18:33:01 GMT</pubDate></item></channel></rss>