<?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>Need help integrating pulsesensor heart beat sensor.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16112/need-help-integrating-pulsesensor-heart-beat-sensor</link><description>Hello developers,
I am trying to use ble_hrm service example with actual heart rate from the module pulsesensor.com ( http://pulsesensor.com/ )
I am able to read raw data using ADC but I am not able to figure out how to get beats per minute data from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Sep 2016 13:10:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16112/need-help-integrating-pulsesensor-heart-beat-sensor" /><item><title>RE: Need help integrating pulsesensor heart beat sensor.</title><link>https://devzone.nordicsemi.com/thread/61438?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2016 13:10:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:759c974a-fbe6-4fb9-995f-6ecc7fc335f3</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Thank you Stefan, I will make a library and upload it here so that others can benefit as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help integrating pulsesensor heart beat sensor.</title><link>https://devzone.nordicsemi.com/thread/61437?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2016 08:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3913b11a-756d-407e-b0cf-d2548ecfe917</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Sid&lt;/p&gt;
&lt;p&gt;Thanks for the additional information.&lt;/p&gt;
&lt;p&gt;There are some &lt;a href="https://github.com/NordicSemiconductor/nrf51-ADC-examples"&gt;nRF51 ADC examples&lt;/a&gt; on Nordic Github for SDK 11 if you didn&amp;#39;t notice already. I suspect that you need to sample the pulse sensor voltage with certain constant frequency, using TIMER/RTC+PPI.&lt;/p&gt;
&lt;p&gt;As an idea on how to calculate heart rate from the ADC signal, you could detect when there is a pulse with monitoring when there is a sudden increase in the ADC value. When there is a pulse, you can create a time-stamp for that pulse. Every time there is a pulse you also calculate the pulse frequency from e.g. the last 5 time-stamps.&lt;/p&gt;
&lt;p&gt;You can create the time stamp by checking the counter value of TIMER/RTC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help integrating pulsesensor heart beat sensor.</title><link>https://devzone.nordicsemi.com/thread/61436?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 18:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db3475ad-1859-4324-8d87-c4283e64097c</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Yes Stefan that is correct, I am trying to make an application for nrf51822, the sensor should integrate with ADC of nrf51822 also I am using SDK 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help integrating pulsesensor heart beat sensor.</title><link>https://devzone.nordicsemi.com/thread/61435?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 16:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3964ba2-fa7b-4dfd-8822-dea9b9622173</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;So are you trying to make application for nRF51, nRF52, or something else? If so, do you wish to make your application for nRF5 SDK 11?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>