<?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[How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ?]]></title><description><![CDATA[<p dir="auto">Hi everyone, I'm about to get my first M5Stack, and for the main use I have for it I'd need capacitive inputs, or at least 3 of the 10 available on the esp32.<br />
In the image below (from the esp32 datasheet), you can see there are 10 GPIOs capable of getting capacitive input, named from TOUCH0 to TOUCH9.<br />
<img src="/assets/uploads/files/1584654051774-cap-gpio-resized.png" alt="0_1584654049865_cap-gpio.png" class=" img-fluid img-markdown" /><br />
Looking at the schematics, it seems that a good part of this inputs are already dedicated to some other function, namely</p>
<ul>
<li>GPIO32</li>
<li>GPIO33</li>
<li>GPIO27</li>
<li>GPIO14<br />
for the LCD display</li>
<li>GPIO4<br />
for the SD card.</li>
</ul>
<p dir="auto">The remaining GPIOs available are 0,2,12,13,15; and they are all marked as "IO" as alternative function in the M-Bus definition of the schematic (see below)<br />
<img src="/assets/uploads/files/1584654528449-m-gpio-resized.png" alt="0_1584654525012_m-gpio.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Of these, only GPIO0 seems to be dedicated to some hardwired function (Auto-Download), while also having a pullup resistor, while the rest of them don't seem to be bound to anything.</p>
<p dir="auto">Can anybody confirm if the only available pins for touch input are 2,12,13,15 (and possibly 0) ? Or, are they also unavailable for some other reason?</p>
<p dir="auto">Thanks everyone for your time!</p>
]]></description><link>https://community.m5stack.com/topic/1778/how-many-of-the-m-bus-gpio-capable-of-capacitive-input-touchx</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:49:41 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1778.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Mar 2020 21:54:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ? on Sat, 21 Mar 2020 13:29:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brus" aria-label="Profile: brus">@<bdi>brus</bdi></a></p>
<p dir="auto">Use the M5Stack with the makey 16-channel capacitive touch unit !<br />
I've made a banana touch keyboard  using the M5Stack and the makey hub as shown with the original Arduino-MakeyMakey in <a href="https://www.youtube.com/watch?v=pfjWdoW7pt4" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=pfjWdoW7pt4</a> .</p>
<p dir="auto">You can program the makey banana keyboard using blockly.</p>
<p dir="auto">good luck crami25</p>
]]></description><link>https://community.m5stack.com/post/7855</link><guid isPermaLink="true">https://community.m5stack.com/post/7855</guid><dc:creator><![CDATA[crami25]]></dc:creator><pubDate>Sat, 21 Mar 2020 13:29:45 GMT</pubDate></item><item><title><![CDATA[Reply to How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ? on Fri, 20 Mar 2020 15:17:15 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! That's perfect, cause I need at least 3 of them for an usable application, and 5 would be ideal. I wonder, would it make sense (to your knowledge) to decouple G2 and G12 from the electrodes at boot time, by placing a MOSFET inbetween the connections, which in turn would be activated at runtime from another GPIO of the M-Bus, acting as output? In this way it wouldn't be necessary to physically disconnect the electrodes every time.</p>
]]></description><link>https://community.m5stack.com/post/7846</link><guid isPermaLink="true">https://community.m5stack.com/post/7846</guid><dc:creator><![CDATA[brus]]></dc:creator><pubDate>Fri, 20 Mar 2020 15:17:15 GMT</pubDate></item><item><title><![CDATA[Reply to How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ? on Fri, 20 Mar 2020 07:41:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brus" aria-label="Profile: brus">@<bdi>brus</bdi></a> after boot you can use the G2 ,G12.     the G0 if you don't need download program operation you can use it</p>
]]></description><link>https://community.m5stack.com/post/7836</link><guid isPermaLink="true">https://community.m5stack.com/post/7836</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 20 Mar 2020 07:41:56 GMT</pubDate></item><item><title><![CDATA[Reply to How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ? on Fri, 20 Mar 2020 07:22:08 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply. However, could they be used as this kind of input afterwards? Like, plugging the electrodes in after the booting has completed?<br />
Also, is 0 definitely unavailable for this purpose?</p>
]]></description><link>https://community.m5stack.com/post/7835</link><guid isPermaLink="true">https://community.m5stack.com/post/7835</guid><dc:creator><![CDATA[brus]]></dc:creator><pubDate>Fri, 20 Mar 2020 07:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to How many of the M-Bus GPIO capable of capacitive input (TOUCHx) ? on Fri, 20 Mar 2020 07:17:37 GMT]]></title><description><![CDATA[<p dir="auto">G2 and G12 In the ESP32 boot process.  have voltage level requirements. so you can't use they.  otherwise it will affect the ESP32 boot</p>
]]></description><link>https://community.m5stack.com/post/7834</link><guid isPermaLink="true">https://community.m5stack.com/post/7834</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 20 Mar 2020 07:17:37 GMT</pubDate></item></channel></rss>