<?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[Arduino Mega - analog inputs]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I run REXYGEN version 2.50.8 on RPI with Arduino Mega - REXduino. I'd like to use analog input pins. On pins I want to bring the output from the ampmeter up to 1V. I suppose I will be able to read and process this voltage.</p>
<p dir="auto">I don't understand, but the output of analog pins. In the setup, I turned on Pins A0, A1, A2 and A12, A13, A14 for the test. Other Pins are off and I have nothing connected to any analog pins yet. However, some values ​​are displayed on some pin which are not enabled. I'm using Arduino Mega clone. See the attachment for pin settings and displayed values.</p>
<p dir="auto">I will be glad for your opinion or advice.</p>
<p dir="auto">Martin</p>
<p dir="auto"><img src="/assets/uploads/files/1553585496239-arduino_mega_analog_vstup-resized.jpg" alt="0_1553585495210_Arduino_MEGA_Analog_vstup.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1553585503017-arduino_mega_analog_vstup_nastaveni.jpg" alt="0_1553585502110_Arduino_MEGA_Analog_vstup_nastaveni.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.rexygen.com/topic/18/arduino-mega-analog-inputs</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 11:12:14 GMT</lastBuildDate><atom:link href="https://forum.rexygen.com/topic/18.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Mar 2019 07:32:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Arduino Mega - analog inputs on Wed, 27 Mar 2019 08:12:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello Martin,<br />
the main problem is that the pin modes are in reversed order. By setting pinmodes_A0_A7 to 0x66600000 you enabled A7, A6 and A5, not A0, A1 and A2 as you expect.</p>
<p dir="auto">The nonzero readings are then caused by picking up noise and other channels as mentioned by <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/20">@sisktom2</a></p>
<p dir="auto">Regards,<br />
Jaroslav</p>
]]></description><link>https://forum.rexygen.com/post/31</link><guid isPermaLink="true">https://forum.rexygen.com/post/31</guid><dc:creator><![CDATA[jaroslav_sobota]]></dc:creator><pubDate>Wed, 27 Mar 2019 08:12:58 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino Mega - analog inputs on Tue, 26 Mar 2019 13:17:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello Martin,</p>
<p dir="auto">I have noted that the Arduino analog inputs can sometimes pick up signals from adjacent channels.<br />
You can try pulling the analog signals to ground with a 10K - 100K resistor to see if it corrects the unwanted readings.</p>
<p dir="auto">Cheers,<br />
Tom</p>
]]></description><link>https://forum.rexygen.com/post/30</link><guid isPermaLink="true">https://forum.rexygen.com/post/30</guid><dc:creator><![CDATA[sisktom2]]></dc:creator><pubDate>Tue, 26 Mar 2019 13:17:32 GMT</pubDate></item></channel></rss>