<?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[EXT. I&#x2F;O 2 Unit ADC Input Problem]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I just got my hands on a Ext. I/O 2 Unit to read 3 potentiometers. I and using the official ADC Input example code from here (<a href="https://github.com/m5stack/M5Unit-EXTIO2/blob/main/examples/Unit_EXTIO2_M5Core/ADC_INPUT/ADC_INPUT.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Unit-EXTIO2/blob/main/examples/Unit_EXTIO2_M5Core/ADC_INPUT/ADC_INPUT.ino</a>)</p>
<p dir="auto">It reads the data, but the number went to 4095 (max value) before the potentiometer is fully turned. Actually, if I position the knob right at the middle, it show 3160 on the screen. What did I do wrong? How can I have it cover the whole rotation?</p>
<p dir="auto">many thanks,</p>
]]></description><link>https://community.m5stack.com/topic/6310/ext-i-o-2-unit-adc-input-problem</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:20:51 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6310.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Apr 2024 02:10:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to EXT. I&#x2F;O 2 Unit ADC Input Problem on Mon, 08 Apr 2024 03:16:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ghettokon" aria-label="Profile: ghettokon">@<bdi>ghettokon</bdi></a> Sounds like you have an 'audio curve' non-linear volume control pot!<br />
If it is a linear pot, then you either use a voltage divider or add resistors to the top pin or bottom pin as required to get centre.<br />
If 'volume control pot' then you will have to characterize the signal in your code.</p>
]]></description><link>https://community.m5stack.com/post/24716</link><guid isPermaLink="true">https://community.m5stack.com/post/24716</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Mon, 08 Apr 2024 03:16:35 GMT</pubDate></item></channel></rss>