<?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>Strange values from ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10953/strange-values-from-adc</link><description>Hello, 
 I am using simple_adc__pca10028 from 8.0.0 SDK to read values from my sensor, its a kind of tensometer. My configurations are: 
 
 
 NRF_ADC_CONFIG_RES_10BIT, --- 10 bits of resolution 
 
 
 NRF_ADC_CONFIG_SCALING_INPUT_ONE_THIRD,--- 1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 20 Dec 2015 16:01:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10953/strange-values-from-adc" /><item><title>RE: Strange values from ADC</title><link>https://devzone.nordicsemi.com/thread/40937?ContentTypeID=1</link><pubDate>Sun, 20 Dec 2015 16:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eac6ab5-2255-478a-9dd7-79798b354d00</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;If you don&amp;#39;t connect anything to the pin then you aren&amp;#39;t going to measure anything except the voltage that input pin actually floats to. That appears from your example to be about 0.7v, but it could be anything. You need to supply an externally generated, relative to the same ground, voltage to measure, ie connect your measuring device between +V and GND in some way and then attach it to the ADC pin. The ADC pin doesn&amp;#39;t power your device, it just measures (with fairly high input impedance) the voltage which is on that pin. The 1/3 supply voltage is just saying what the internal reference measurement is.&lt;/p&gt;
&lt;p&gt;You need to connect your sensor between 3v and GND in some way, probably with a load resistor and then measure the voltage at the junction, just connecting it between the pin and VCC isn&amp;#39;t really doing much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange values from ADC</title><link>https://devzone.nordicsemi.com/thread/40936?ContentTypeID=1</link><pubDate>Sun, 20 Dec 2015 13:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd67bc1-31cf-4c15-9bdb-1e522b6f2b37</guid><dc:creator>tchitchi</dc:creator><description>&lt;p&gt;Yes, exactly floating input. You are saying that it should measure a random voltage, but the values are ranging from 173 to 176, for me it&amp;#39;s not really random.&lt;/p&gt;
&lt;p&gt;When my sensor is on it&amp;#39;s low, it is behaving like an open circuit, so the voltage equals to the floating wire.&lt;/p&gt;
&lt;p&gt;My sensor doesn&amp;#39;t require connecting directly to ground, as I said it&amp;#39;s a kind of tensometer. Imagine a thermistor, I connected one side to VCC (3V), and the other side to ADC input. Along with applying tension, the resistance of my sensor varies, so do the voltage.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Maybe I understood something wrong - choosing 1/3 of supply value in config doesn&amp;#39;t require connecting  power to ADC Refference pin, am I right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange values from ADC</title><link>https://devzone.nordicsemi.com/thread/40938?ContentTypeID=1</link><pubDate>Sun, 20 Dec 2015 02:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c401360-8193-46f6-9ceb-f23e1ad3e445</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;&amp;quot;Unplugged wire&amp;quot;? What does that mean? Just a floating input with no reference? A floating wire is going to have any random kind of voltage on it, why would you expect zero? What voltage do you measure on your connected sensor with a voltmeter when it&amp;#39;s at the low point? Are you using a  common ground for the nRF chip and the sensor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>