<?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>Reading ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92402/reading-adc</link><description>Hi, 
 I&amp;#180;m trying to read my ADC values. I powered de DK with USB and trying to read sensormeasurements, but I can&amp;#180;t see the right values. 
 I&amp;#180;m trying to read with the 12-bit ADC. The sensor gives 4-20mA and I measure over a resistor of 150 ohm. 
 So</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Sep 2022 07:17:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92402/reading-adc" /><item><title>RE: Reading ADC</title><link>https://devzone.nordicsemi.com/thread/388468?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 07:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d73466-9a35-4dd2-ab79-5c083212f9b0</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Thank you, Jorgan I was using the wrong pins. I was holding the DK upside down&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading ADC</title><link>https://devzone.nordicsemi.com/thread/388333?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 11:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ec8af31-bd35-48d2-b111-501a60bd236a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK are you using?&lt;/p&gt;
&lt;p&gt;Which analog input are you using, and how is the resistor that you measure over connected? Are you sure that you have configured the pin that the external circuit is connected to? Often the analog input numbers (AIN0-7) are confused with the Arduino analog mapping on the DK (A0-A5). You should follow the&amp;nbsp;&lt;a title="Pin assignments" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pin.html?cp=4_0_0_6_0"&gt;Pin assignments&lt;/a&gt;&amp;nbsp;documentation.&lt;/p&gt;
&lt;p&gt;The formula for&amp;nbsp;&lt;a title="Digital output" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html?cp=4_0_0_5_22_2#saadc_digital_output"&gt;Digital output&lt;/a&gt;&amp;nbsp;is given in the SAADC peripheral specifications. This depends on the configuration of the SAADC and channel. What values are you measuring, and what are the expected values?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>