<?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[Analog Read gives wrong value.]]></title><description><![CDATA[<p dir="auto">I am running a sketch on an ATOM Lite using GPIO 33 as an analog read pin. When connected to 3.3V (which actually measures 3.18V) it gives 4095 as expected. If connected to GND it gives 0 as expected. However if the voltage on GPIO33 is 3.11V it still shows 4095.</p>
<p dir="auto">By my maths at 3.11V it should show 4004.</p>
<p dir="auto">Any help appreciated.</p>
]]></description><link>https://community.m5stack.com/topic/4041/analog-read-gives-wrong-value</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:55:12 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4041.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Feb 2022 18:20:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Analog Read gives wrong value. on Mon, 14 Feb 2022 21:57:58 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for your reply. Very helpful.</p>
]]></description><link>https://community.m5stack.com/post/16654</link><guid isPermaLink="true">https://community.m5stack.com/post/16654</guid><dc:creator><![CDATA[mwtheplumber]]></dc:creator><pubDate>Mon, 14 Feb 2022 21:57:58 GMT</pubDate></item><item><title><![CDATA[Reply to Analog Read gives wrong value. on Mon, 14 Feb 2022 11:19:24 GMT]]></title><description><![CDATA[<p dir="auto">The adc readings is non linear at both ends of range (flat). So you can't measure voltage below ~0.17V and under ~3.15.<br />
Below is link with explain<br />
<a href="https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/</a></p>
]]></description><link>https://community.m5stack.com/post/16645</link><guid isPermaLink="true">https://community.m5stack.com/post/16645</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Mon, 14 Feb 2022 11:19:24 GMT</pubDate></item></channel></rss>