<?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>Plotting the MPU Accelerometer values in real time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23077/plotting-the-mpu-accelerometer-values-in-real-time</link><description>Hi..! Friends..!
I am trying to detect the number of steps on accelerometer.
For which I want to Plot the accelerometer values in real time (with minimum rate 50values/sec) such that I can analyse the data while walking. 
 The ways in my mind are:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Jun 2017 09:20:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23077/plotting-the-mpu-accelerometer-values-in-real-time" /><item><title>RE: Plotting the MPU Accelerometer values in real time</title><link>https://devzone.nordicsemi.com/thread/90806?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 09:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7034dea9-51ec-42b1-a1de-d67de9c71f63</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have set a very low baudrate for the UART interface, try increasing this to &lt;code&gt;UART_BAUDRATE_BAUDRATE_Baud115200&lt;/code&gt; to allow higher throughput. You should also put a delay in your main loop, as your code  now will only flood the UART interface until the buffer owerflows. I suggest you setup a periodic timer to handle the accelerometer reading and printing to UART, for instance at an interval of 10-20 ms. Check out the &lt;a href="https://devzone.nordicsemi.com/tutorials/19/"&gt;application timer tutorial&lt;/a&gt; on how to setup timers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>