<?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 example with UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4035/adc-example-with-uart</link><description>Hi, 
 I bought nordic evaluation board 2 days ago. I have been searching through the forums to enable and test the voltage level of a battery and monitor it via UART. After several hours of trail and error. I manage to combine two examples of nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Oct 2014 13:53:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4035/adc-example-with-uart" /><item><title>RE: ADC example with UART</title><link>https://devzone.nordicsemi.com/thread/14477?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 13:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06d660a3-4010-40ed-b92b-690d08eba79e</guid><dc:creator>irtiq7</dc:creator><description>&lt;p&gt;Yes, that would be wonderful. I did try combining the UART and ADC example but sadly, it is not working for me. :(&lt;/p&gt;
&lt;p&gt;Update: Thanks Stefan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADC example with UART</title><link>https://devzone.nordicsemi.com/thread/14476?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2014 12:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91eadc8d-9b20-4faa-8887-dd09ea8f5f43</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It has been my intention to make an ADC example that outputs on UART, but it does not currently exist. Your request gives me further reason to speed up the implementation. Lets see what I can do next week, but I can not promise anything. Meanwhile, take a look at these &lt;a href="https://github.com/NordicSemiconductor/nrf51-UART-examples"&gt;UART examples&lt;/a&gt; and these &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples"&gt;ADC examples&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 17.10.2014&lt;/strong&gt;
Below is an example with ADC sampling once a second and transferring the ADC result both over UART and over BLE. It is actually a concatenation of the adc example with softdevice found &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/master/adc-example-with-softdevice"&gt;here&lt;/a&gt; and the app_uart example found &lt;a href="https://github.com/NordicSemiconductor/nrf51-UART-examples/tree/master/app_uart_library_example_with_ble"&gt;here&lt;/a&gt;. I don&amp;#39;t have much documentation with this yet and the code is not so organized but at least it is a start. Try to see if you get it working.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/adc_5F00_sampling_5F00_ble_5F00_app_5F00_uart.zip"&gt;adc_sampling_ble_app_uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 23.10.2014&lt;/strong&gt;
I have put the above example for ADC with UART out on &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/master/adc_example_with_softdevice_and_UART"&gt;Nordic Github&lt;/a&gt; which includes perhaps a little better documentation than the code above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>