<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ADC values with no input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11177/adc-values-with-no-input</link><description>Hello, 
 I&amp;#39;m trying to read voltage signals from a sensor using internal ADC and send them OTA. For now, my codes seems to work, but the only problem with my codes is it gives maximum ADC value (e.g. 0xFF at 8 bit resolution) when the analog input pin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2016 13:29:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11177/adc-values-with-no-input" /><item><title>RE: ADC values with no input</title><link>https://devzone.nordicsemi.com/thread/41867?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 13:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e40bb4cb-b35d-4f5c-adcc-e3c03e595023</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Or an external pull-up in order to read &amp;quot;high&amp;quot; values on the ADC output when the sensor is not connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC values with no input</title><link>https://devzone.nordicsemi.com/thread/41866?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 13:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b201337-695a-4d3d-a945-1b172a190d3c</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi comkuk&lt;/p&gt;
&lt;p&gt;As awneil point out, the pin is floating when you do not have anything connected to it, and you could be reading whatever values with the ADC on a floating pin. When you have a pin configured as analog input pin, I do not thing you can define an internal pull for the pin. You could instead connect an external pull-down resistor to the pin, e.g. a 1Mohm resistor between the AIN pin and ground, in order to read zero values on the ADC output when the sensor is not connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC values with no input</title><link>https://devzone.nordicsemi.com/thread/41865?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb97acc-92b3-403b-b13b-adee68cbc6ae</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;An unconnected input could also float high ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC values with no input</title><link>https://devzone.nordicsemi.com/thread/41864?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2016 11:01:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e1c9384-e610-45db-8223-43d34342578d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;When the input is not connected, there will be &lt;strong&gt;noise&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Presumably, your ADC is reading the noise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>