<?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>Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120050/real-time-data-streaming-for-pid-tuning</link><description>Hello, 
 
 I&amp;#39;m using nRF54L15DK and nRF Connect SDK 2.9.0. I&amp;#39;m developing a project for PID control of the temperature of a peripheral, let&amp;#39;s say a heater. The feedback is measured through ADC. Now I&amp;#39;m trying to tune the PID parameters, is there a good</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Apr 2025 08:24:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120050/real-time-data-streaming-for-pid-tuning" /><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/531133?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 08:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9602bd4-3ac3-4a94-937c-9a5e9c2e4399</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Oh, I realize the misunderstaning, as I used &amp;quot;device&amp;quot; for both Phone and nRF. &lt;/p&gt;
&lt;p&gt;Let me rephrase to be more clear:&lt;/p&gt;
&lt;p&gt;1. Stream data from nRF to Phone and store on Phone&lt;/p&gt;
&lt;p&gt;See my previous message&lt;/p&gt;
&lt;p&gt;2. Store data on nRF and send to Phone in bulk&lt;/p&gt;
&lt;p&gt;The SMP Protocol lets you send file system data to the Phone over BLE. See the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt;SMP Server sample&lt;/a&gt; and its &amp;quot;Download file from File System&amp;quot; feature.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/531092?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 20:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7105e6e1-72ea-4f76-9640-c51a13c09ea8</guid><dc:creator>ychen25</dc:creator><description>&lt;p&gt;Yes that&amp;#39;s what I&amp;#39;m doing now. It&amp;#39;s good enough for me now. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/530953?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 07:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f14d7d7-bfb6-4487-bf7f-757fc82d63d9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="ychen25"]Could you let me know how to achieve option (2)&amp;nbsp;send data live, and then save it on the device? [/quote]
&lt;p&gt;You make a BLE service that notifies when the data is updated.&lt;br /&gt;Then the handler on the iOS will add this data to a list locally on the iOS.&lt;br /&gt;Then you use iOS app functions to export your list to CSV.&lt;/p&gt;
&lt;p&gt;This is kinda vague, as I do not know how iOS developement works: My speciality is the nRF.&lt;/p&gt;
&lt;p&gt;Is this enough for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/530898?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 22:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3370b02-021f-4897-a7d4-22efce83cb59</guid><dc:creator>ychen25</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/120050/real-time-data-streaming-for-pid-tuning/529226"]It depends on if you want to store all data on the device, and then send in bulk.&lt;br /&gt;Or if you want to send data live, and then save it on the device.&lt;br /&gt;Which of the above?[/quote]
&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve figured out how to do option (1)&amp;nbsp;&lt;span&gt;store all data on the device, and then send in bulk;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can share the log and export as csv in my IOS nRF Connect app;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you let me know how to achieve option (2)&amp;nbsp;send data live, and then save it on the device? Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/529226?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 08:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f5465a6-092e-406c-8e0b-97bc1e4a66c5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="ychen25"]Thanks for the update. I tried the nrf-toolbox app but I didn&amp;#39;t find a curve drawing function in IOS app. Also, as I don&amp;#39;t have an Android device, I don&amp;#39;t think I will be able to try your app?[/quote]
&lt;p&gt;Yea, my app is only for Android.&lt;/p&gt;
&lt;p&gt;Try to open the iOS nRF Toolbox on App Store and see if any of the apps there look similar to what you need. That is what I do to find a starting point.&lt;/p&gt;
[quote user="ychen25"]It&amp;#39;s OK that the data streaming is not real-time. Now I want to find a simple solution to save my ADC reading data and export it as a csv. Can I achieve it with nRF Connect IOS app? [/quote]
&lt;p&gt;It depends on if you want to store all data on the device, and then send in bulk.&lt;br /&gt;Or if you want to send data live, and then save it on the device.&lt;br /&gt;Which of the above?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/529163?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 23:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9be0439-50c7-4f19-a8ba-ade2faca49c6</guid><dc:creator>ychen25</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for the update. I tried the nrf-toolbox app but I didn&amp;#39;t find a curve drawing function in IOS app. Also, as I don&amp;#39;t have an Android device, I don&amp;#39;t think I will be able to try your app?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s OK that the data streaming is not real-time. Now I want to find a simple solution to save my ADC reading data and export it as a csv. Can I achieve it with nRF Connect IOS app? Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/528707?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 19:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab327c4d-3f4d-4331-858c-35917018f60b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hah, I had the project for the nrf it in git after all!&lt;/p&gt;
&lt;p&gt;Unofficial sample to go with the app I linked previously&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gitlab.com/hellesvik/small_things_ncs/-/tree/main/temp_regulator?ref_type=heads"&gt;https://gitlab.com/hellesvik/small_things_ncs/-/tree/main/temp_regulator&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/528705?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 18:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7809eb42-9e0d-416d-bfdc-b3c6cf3b73b4</guid><dc:creator>ychen25</dc:creator><description>&lt;p&gt;Hi Sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much for the recommendation and your sharing. I will take a look and come back if I have questions. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Real-time data streaming for PID tuning</title><link>https://devzone.nordicsemi.com/thread/528675?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 15:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4cdf00-4214-4549-ad2b-d48c86d28bf1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I recommend that you have a look at the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Toolbox"&gt;nRF-Toolbox&lt;/a&gt;. This has open source code, and has an HRS monitor that graphs things like you maybe want.&lt;/p&gt;
&lt;p&gt;Unofficial sample:&lt;br /&gt;In my spare time I did something like just that receently. See &lt;a href="https://github.com/hellesvik/Android-nRF-Toolbox"&gt;this&lt;/a&gt;.&lt;br /&gt;Disclaimer: Im not an Android developer, so take it with a huge pinch of salt. But hey maybe my commit history can be of some inspiration.&lt;br /&gt;For the matching nRF Source code, I must admit that I forgot to push that to git, and then my PC crashed.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>