<?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 measurement 0-1.25V</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44938/adc-measurement-0-1-25v</link><description>Dear All, 
 
 I‘m going nuts while working on the basically really simpe task of reading ADC voltages on GPIO (AIN3) between 0 and 1.25V. 
 The voltage should fit well in any range so I thought I could just use a simple GAIN_1 setting with internal reference</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Mar 2019 13:12:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44938/adc-measurement-0-1-25v" /><item><title>RE: ADC measurement 0-1.25V</title><link>https://devzone.nordicsemi.com/thread/176718?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51476de9-9fbc-471e-a5d6-66d03843e531</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;What settings are you using?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]But I don‘t get the right results. At least not if readings should give millivolts with no further calculations needed.[/quote]
&lt;p&gt;Have you looked at SAADC&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/nrf_dev_saadc_example"&gt;&amp;nbsp;example&lt;/a&gt;? Also, have a look at the SAADC&lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/saadc"&gt;&amp;nbsp;chapter&lt;/a&gt; in the product specification. The formula to calculate the output can be found &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/saadc?855#saadc_digital_output"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Oeyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>