<?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>NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14632/nrf51-github-adc-ble-nus-sdk-9</link><description>Hi, 
 I am trying to use the sdk version 9 for the NRF51 to take ADC samples and trasmit it over BLE over UART found in the link: github.com/.../nRF51-SDK-9-0-0 
 I downloaded both the vs 9 sdk and the code zip files and extracted them both. I placed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Sep 2016 08:17:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14632/nrf51-github-adc-ble-nus-sdk-9" /><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55844?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2016 08:17:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b02463b6-22a2-42a1-b823-87c41911479a</guid><dc:creator>Manu</dc:creator><description>&lt;p&gt;@Stefan: Thanks a lot! I could successfully build these examples!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55843?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 14:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7674c5c5-10c6-49a2-9cde-d9bcd6255c36</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;@Manu&lt;/p&gt;
&lt;p&gt;There are also several &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples"&gt;ADC examples available now for nRF5 SDK 11.0.0&lt;/a&gt;. Those that start with ble_ are to use with softdevice S130 2.0.x, while others are to use without softdevice.&lt;/p&gt;
&lt;p&gt;To see what is stopping your device from advertising, start the debugger and step through your code in the main function and see how far it gets. Debugging guides are available &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/?answer=60126#post-id-60126"&gt;here&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/blogs/821/an-introduction-to-error-handling-in-nrf5-projects/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55842?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 19:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253090f2-4c51-43ff-93b6-952d5fc180fa</guid><dc:creator>Manu</dc:creator><description>&lt;p&gt;@Stefan: Thanks for taking it up but I am still unable to make it work. I tried a new nrf51dk board as well but its not advertising. I did comment out app-trace library as it was more than 32KB of code. Is there any other complete example that can help me out for analog sampling at 200HZ and that transmission speed as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55840?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2016 15:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a667bbc0-9cf6-4f1b-bbad-876615673c89</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;@Manu   That is strange. I tried this again and it works out of the box with S110 8.0.0 and by downloading the zip file and putting the ble_app_template__ADC_sampling__app_trace__NUS folder into the \nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ folder. Check if you surely open the S110 project but not the S130 project.  When working, advertising should be indicated with plinking led 1 on the nRF51-DK. The other leds could also blink to indicate fluctuation in the ADC result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55839?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2016 23:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f02bc5-2188-4f47-af73-60ca609a2e25</guid><dc:creator>Manu</dc:creator><description>&lt;p&gt;@Stefan: I loaded S110 8.0.0 on my board and loaded the code again. The device is not advertising. I tried other peripheral example codes in SDK 9.0.0 using same soft device and all of them are working fine.
I did comment out the app_trace section to reduce the code size so that I can work with the limited edition of Keil. But that should not effect ble service or advertisement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55838?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2016 10:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90637e25-8439-4e8c-b11a-a8da4289103b</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;@Manu    This is a peripheral example and is tested with nRF51-DK, S110 8.0.0 and SDK 9.0.0. Try to erase all contents from the nRF51 IC by pressing &amp;quot;Erase All&amp;quot; button in nRFgo Studio or by writing nrfjprog --eraseall on the command line, then reprogramming the softdevice and the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55841?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 23:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ced0cd1d-e27c-4c82-a5f4-361432a06c17</guid><dc:creator>Manu</dc:creator><description>&lt;p&gt;@Stefan: I am able to compile and load the code on NRF51DK but the board is not advertising(led1 is not blinking). Also on scanning for ble, i am unable to find any device. Please suggest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55837?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38e248ea-eba1-45f2-9863-db86a0c474fb</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;The github example for SDK 9.0.0 is already sending 2 bytes over BLE, the upper and lower byte for the ADC sample value. So if you change the ADC resolution to 10-bit, the whole value should be received on the BLE peer side, just in two pieces.&lt;/p&gt;
&lt;p&gt;The question on &lt;a href="https://devzone.nordicsemi.com/question/30771/battery-percentage-measurement-fluctuation/"&gt;this thread&lt;/a&gt; has some good pointers on how to calculate voltage and/or remaining battery percentage. The battery_level_in_percent function can be found in app_util.h file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55836?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 19:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6759ed18-577c-4436-9bb8-28a92d52da41</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;Hey I also wondering, I saw that the results of the ADC conversions are in a hexadecimal format. Is there anyway to send an voltage value over bluetooth? From what I understand, one can&amp;#39;t just send a float over BLE, but I&amp;#39;m not sure sure how to convert the actual values to a voltage reading. For the record I switched the resolution to 10 bits.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55835?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 17:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95587543-841a-4acf-8eca-daa42a23340d</guid><dc:creator>Sri_guy</dc:creator><description>&lt;p&gt;Awesome, I followed the instructions to the letter and it works. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51 Github ADC BLE NUS SDK 9</title><link>https://devzone.nordicsemi.com/thread/55834?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 15:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4371f54a-3c01-4f30-906e-963c5349027b</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have added some additional text in the &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples/tree/nRF51-SDK-9-0-0"&gt;readme file on Github&lt;/a&gt; in order to clarify where you should place the contents of the zip file in order to compile the project without errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>