<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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 values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/58572/reading-values-from-a-potentiometer-using-nrf52</link><description>Im quite new to development with the DK so bare with me. 
 Currently I am able to read digital values (0 and 1) from the potentiometer using pin P0.03. 
 I am using the function: nrf_gpio_pin_read(POTMETER_PIN) 
 
 How do I go about getting the analog</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 16 Jun 2022 09:31:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/58572/reading-values-from-a-potentiometer-using-nrf52" /><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372757?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c18ac7b-b181-4300-a3d2-47a07686fe0d</guid><dc:creator>user115289</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t mind, can you share the combined code like ADC with ble_app_uart program.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372754?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe1dfbd-5107-414f-85f8-db7036bd4288</guid><dc:creator>user71459</dc:creator><description>&lt;p&gt;Once you are done with fetching ADC values and sending known data over BLE separately, start with ble_app_uart project as adc part can be easily added in it.&lt;/p&gt;
&lt;p&gt;Add required modules, includes and config for ADC and send ADC values over BLE instead of known&amp;nbsp;values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372753?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:21:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e497df6-e0c9-4937-8c88-6828fc8c2ca9</guid><dc:creator>user115289</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Can you please tell me how to combine these code. I am new to this thats&amp;#39;y.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372752?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80b6635a-d03b-4016-a93a-7c826ac2e7c2</guid><dc:creator>user71459</dc:creator><description>&lt;p&gt;Checkout &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrf_dev_saadc_example.html"&gt;saadc example&lt;/a&gt;&amp;nbsp;&lt;span&gt;{SDK}\&lt;/span&gt;&lt;span&gt;examples\peripheral\saadc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then see &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_nus_eval.html"&gt;BLE UART example&lt;/a&gt;&amp;nbsp;{SDK}\examples\ble_peripheral\ble_app_uart&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Combine them together, you will get ADC values over BLE.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372749?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a25b26-2971-425b-b98f-60e241b82a68</guid><dc:creator>user115289</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;--&amp;gt;SDK version is 15.3.0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--&amp;gt;Hardware is NRF DK board with potentiometer.&lt;/p&gt;
&lt;p&gt;--&amp;gt;Actually i need to read some ADC values and that values need to send through Bluetooth.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372747?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 09:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef29deab-bb23-4291-b859-04baff164ac6</guid><dc:creator>user71459</dc:creator><description>&lt;p&gt;&lt;span&gt;This seems bit old thread.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;a href="https://test-devzone.nordicsemi.com/members/user115289"&gt;user115289&lt;/a&gt;&amp;nbsp;can&amp;nbsp;&lt;/span&gt;&lt;span&gt;you share some details like SDK version, hardware and what you are trying to do?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/372739?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 08:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc56439f-d41e-4790-b352-a0659205de63</guid><dc:creator>user115289</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you please tell me how to copy the configure file, include and code.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/238080?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 14:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91542f54-8ace-48a9-83e6-ef33d326d01f</guid><dc:creator>user13562</dc:creator><description>&lt;p&gt;Don&amp;#39;t duplicate the configs, it&amp;#39;s a bad idea.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/238025?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 12:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd5e31dd-790e-4aa5-9761-eebd07e47b76</guid><dc:creator>user88336</dc:creator><description>&lt;p&gt;Ok thank you!&lt;/p&gt;
&lt;p&gt;Dont I however need to worry about duplicate code when I code the config code over to the ble uart config file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/238021?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 12:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6052d8f8-13fa-4a2e-bbee-b5f4c49c6132</guid><dc:creator>user13562</dc:creator><description>&lt;p&gt;That&amp;#39;s basically it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Copy the configs, includes, and code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/238001?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 11:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3e68c0a-8238-41f8-9624-bb57e606fa1f</guid><dc:creator>user88336</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I did have a look at the SAADC example and I was expecting that it was a good example for me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I need to do now however is to merge the ble peripheral example ble_app_uart with the SAADC example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have a tips for how to best merge these two examples? I would imagine all the code from SAADC would need to get vowven into the uart example and maybe some config files would need modification?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading values from a potentiometer using nRF52</title><link>https://test-devzone.nordicsemi.com/thread/237535?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 16:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a45e242-e0ac-469e-b98d-7757edbd6153</guid><dc:creator>user71459</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you have a look at &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf_dev_saadc_example.html?cp=7_1_4_6_35"&gt;SAADC example&lt;/a&gt;? It is a good starting point for ADC.&lt;/p&gt;
&lt;p&gt;{SDK}\&lt;span style="background-color:#ffffff;"&gt;examples\peripheral\saadc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>