<?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>How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5512/how-can-i-modify-the-hrs-code-to-send-data-from-external-sensors-to-toolbox-app</link><description>Hi,
I&amp;#39;m new to coding on this platform and i&amp;#39;m having issues. I have an ADXL335 acc sensor connected to P0.04, P0.05 and P0.06 of my NRF51822 (on a custom board). Please how would I go about editing the hrs example code to get data from these pins (if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Feb 2015 16:10:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5512/how-can-i-modify-the-hrs-code-to-send-data-from-external-sensors-to-toolbox-app" /><item><title>RE: How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/thread/19268?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 16:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81c7d6d1-4031-4c1b-9aa8-1637d05a335a</guid><dc:creator>Kosidinma</dc:creator><description>&lt;p&gt;Thanks to both of you...I&amp;#39;ll look into using the examples as a guide and i&amp;#39;ll ask questions if I run into any problems.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/thread/19267?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 14:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a760c906-de12-4a81-94b5-2ff75b42ac51</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;@Kosidinma you&amp;#39;re in good hands now, Stefan&amp;#39;s answers on DevZone on ADC are awesome! :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/thread/19265?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 14:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb9b10b-8a9e-4d23-ab7e-ac7bb95e9184</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;some good links imho: &lt;a href="https://devzone.nordicsemi.com/question/12601/adc-softdevice/"&gt;one&lt;/a&gt; &lt;a href="https://devzone.nordicsemi.com/question/1524/analog-prescale-question/"&gt;two&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/3512/adc-reference-selection-nrf51822/"&gt;this&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/thread/19266?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 14:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afebacce-3676-4c79-8eaa-e96e5d32d6b1</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, take a look at the ADC examples that OleHSky has pointed to. You could try out the ADC with UART example specifically which samples voltage on pin P0.01 and converts that to a value and then sends that value over the BLE link and over the physical UART. You can pick up the data with the nRF UART app, available both for IOS and Android. You can also pick up the data on your PC with Master Control Panel.  Follow the instructions given in the main file of the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I modify the HRS code to send data from external sensors to toolbox app</title><link>https://devzone.nordicsemi.com/thread/19264?ContentTypeID=1</link><pubDate>Tue, 10 Feb 2015 12:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:451b56f6-3dbe-4c7a-800a-f45c5f4cf6f3</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;The ADXL335 is an analog sensor - has voltage outputs, you could use internal ADC to get the voltage levels. Pls check &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples"&gt;ADC Examples&lt;/a&gt; Also check the forum on how to connect and use ADC, there are good answers with details, I&amp;#39;m not sure I can add new info on that :)&lt;/p&gt;
&lt;p&gt;I would use a time to periodically read the date from pins and the characteristics with new data.&lt;/p&gt;
&lt;p&gt;Hope it points to the right path.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>