<?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 the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23585/reading-the-analog-input-on-nrf51</link><description>github.com/.../ble_app_uart_adc_simple 
I have flashed the above program in the link on to my nrf51822 DK. I can see the values of the samples but i do not understand what the output is. The analog pin that is configured in P0.01 . I did not connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2019 10:15:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23585/reading-the-analog-input-on-nrf51" /><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/175595?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 10:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daaf3436-4a4f-4a61-bf8d-82a840768770</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to use the ADC peripheral to read analog inputs. See the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v12-3-0/nrf_dev_adc_example"&gt;ADC example&lt;/a&gt; in SDK 12.3.0 for nRF51 devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/175509?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 06:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b30b70-3014-41ed-a262-81f36dc10ff2</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;how do you configure the pin for analog input&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/92650?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 20:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbdc784c-f43e-4f09-988d-4dc339c54f9f</guid><dc:creator>Nikhil</dc:creator><description>&lt;p&gt;Thank you for the help Jørgen Holmefjord. I have the configured the other pin for analog input. Now it is working fine. I really appreciate for your prompt response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/92654?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 14:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db61c0c3-7598-404f-bca6-68b719b0fa62</guid><dc:creator>Nikhil</dc:creator><description>&lt;p&gt;yes  i am using NRF51 DK (PCA10028)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/92653?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 14:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8debd750-2110-451f-a8d6-01a7882b141b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using the &lt;a href="http://www.nordicsemi.com/eng/Products/nRF51-DK"&gt;nRF51 DK (PCA10028)&lt;/a&gt;, or some older board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/92652?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 12:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1db3b9a-7d87-40b0-91ae-d964c399e754</guid><dc:creator>Nikhil</dc:creator><description>&lt;p&gt;I have not changed anything in the example. i don&amp;#39;t know if i am doing wrong anywhere. I flashed the program directly from repository. Do we need to do anything with the sample values obtained? the sample values i am getting are always in 800+. Do i need to change anything in the program?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading the Analog input on NRF51</title><link>https://devzone.nordicsemi.com/thread/92651?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 09:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cbdf63c-f8f1-4c1e-bb6a-2e939a554fb4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you changed anything in the example? I get 512 when nothing connected, 1023 when connected to VDD and 3 when connected to GND. Could you try flashing the precompiled hex-file, found in the repository?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>