<?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[GPIO2&#x2F;3 gets input while no high is send to it]]></title><description><![CDATA[<p dir="auto">Hello dear community,</p>
<p dir="auto">my problem:<br />
when i set the GPIO2/3 to input ("gpioctl dirin 2") and read the signal ("gpioctl get 2") it gets allways a LOW. Now the strange thing. When i plug in a cable and no connection on the other side (just in air) it gets sometimes a HIGH. Not helpfull to read a switch.</p>
<p dir="auto">I tried to reset the Omega2 but same problem</p>
<p dir="auto">I have no more ideas how to fix this issue.<br />
Hope you can help me. Im a bit frustrated</p>
]]></description><link>http://community.onion.io/topic/3016/gpio2-3-gets-input-while-no-high-is-send-to-it</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 03:31:59 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3016.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jul 2018 19:13:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GPIO2&#x2F;3 gets input while no high is send to it on Wed, 11 Jul 2018 19:13:17 GMT]]></title><description><![CDATA[<p dir="auto">Hello dear community,</p>
<p dir="auto">my problem:<br />
when i set the GPIO2/3 to input ("gpioctl dirin 2") and read the signal ("gpioctl get 2") it gets allways a LOW. Now the strange thing. When i plug in a cable and no connection on the other side (just in air) it gets sometimes a HIGH. Not helpfull to read a switch.</p>
<p dir="auto">I tried to reset the Omega2 but same problem</p>
<p dir="auto">I have no more ideas how to fix this issue.<br />
Hope you can help me. Im a bit frustrated</p>
]]></description><link>http://community.onion.io/post/17205</link><guid isPermaLink="true">http://community.onion.io/post/17205</guid><dc:creator><![CDATA[Marc-André Fleischmann]]></dc:creator><pubDate>Wed, 11 Jul 2018 19:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to GPIO2&#x2F;3 gets input while no high is send to it on Thu, 12 Jul 2018 15:26:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5721">@Marc-André-Fleischmann</a> An empty GPIO Input is floating - ie. its HIGH / LOW state is not determined.<br />
If you want to read a switch you should use</p>
<ul>
<li>a pull up resistor to 3.3V and pull down the input to GND with that switch</li>
<li>a pull down resistor to GND and pull up the input to 3.3V with that switch</li>
<li>or for example this SPDT switch<br />
<img src="/assets/uploads/files/1531409074006-spdt_switch.png" alt="0_1531408905888_SPDT_Switch.png" class="img-responsive img-markdown" /><br />
See also <a href="https://docs.onion.io/omega2-starter-kit/starter-kit-reading-switch.html" rel="nofollow">Reading a Switch</a></li>
</ul>
]]></description><link>http://community.onion.io/post/17220</link><guid isPermaLink="true">http://community.onion.io/post/17220</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Thu, 12 Jul 2018 15:26:24 GMT</pubDate></item><item><title><![CDATA[Reply to GPIO2&#x2F;3 gets input while no high is send to it on Thu, 12 Jul 2018 17:04:29 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for help.</p>
<p dir="auto">It seems the digital pins are very sensitive. And because there are no analog pins included in the Omega2 there is only the option to get an arduino dock 2 to realize my cable management.<br />
I whant to use only 2 connections from switch to the Omega (not enought cable).</p>
<p dir="auto">Might it be possible?</p>
]]></description><link>http://community.onion.io/post/17222</link><guid isPermaLink="true">http://community.onion.io/post/17222</guid><dc:creator><![CDATA[Marc-André Fleischmann]]></dc:creator><pubDate>Thu, 12 Jul 2018 17:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to GPIO2&#x2F;3 gets input while no high is send to it on Thu, 12 Jul 2018 18:21:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5721">@Marc-André-Fleischmann</a> Sorry, I don't understand your problem / your question.</p>
]]></description><link>http://community.onion.io/post/17223</link><guid isPermaLink="true">http://community.onion.io/post/17223</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Thu, 12 Jul 2018 18:21:46 GMT</pubDate></item><item><title><![CDATA[Reply to GPIO2&#x2F;3 gets input while no high is send to it on Thu, 12 Jul 2018 22:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2619">@György-Farkas</a><br />
My question is if i connect a switch only with 3,3V and an input GPIO, could i always read the correct input? That option is necessary to keep my cable management.<br />
Maybe its to be realized by using analog inputs with the arduino dock.</p>
]]></description><link>http://community.onion.io/post/17229</link><guid isPermaLink="true">http://community.onion.io/post/17229</guid><dc:creator><![CDATA[Marc-André Fleischmann]]></dc:creator><pubDate>Thu, 12 Jul 2018 22:02:26 GMT</pubDate></item></channel></rss>