Outputting NRF CONNECT SDK Logger Data

Hello, I am new to firmware development and I am trying to stream heart rate data from an nrf32840 DK to an nrf32480 dongle and output that data. I am able to successfully stream the data to the nrf connect sdk, but I would like to plot the data in real time with a serial plotter, such as that provided by arduino. Since the nrf connect sdk makes use of the dongle's COM port, I am trying to find a way to access that data in real time. How can I go about outputting the characteristic data to a serial port?

  • Hello ,

    Thanks for the query. Actually, we do not have any example like this real time plotting of data with our nRF Connect SDK. However ,here some technical suggestions are described below :- 

    Since you already have it working with the nRF connect Software- that means nRF 52840 dongle is working properly to get the data. So, theoretically it should connect on any interface to get data either with nRF connect application or Arduino or some other software. 

    After opening the Arduino program, you have to select the correct COM port and also have to set the correct baudrate.

    Is the variable correct inside the serial.printIn() function?

    Hope it helps.

    Feel free to ask further queries.

    Best Regards,

    Kazi Afroza Sultana 

  • Hello,

    Thank you for your response. I managed to route the data to a commercial bluetooth adaptor and used MATLAB's BLE library to process and output the data. However, when adding custom services, I was getting memory errors, that the the chip did not have enough memory to add the custom service.

    I transferred the code to the base BLE example template and I have gotten the custom services to work, however now the DK is unable to connect to commercial bluetooth devices and can only connect to the dongle. From the dongle I can access all of the data I am outputting but I have now run into the same issue as before of being unable to output the data in real time.

    The dongle itself takes up a COM port which I can access in Arduino, however the COM port becomes unusable in Arduino when using the nRF Connect software to connect the dongle to the Development Kit. Is there some way to connect the dongle and the development kit without using the nRF Connect SDK? Is there a way to have the dongle recognize the device without having to program the dongle itself?

    Thank you

  • Hello,

    Thanks for your queries. 

    Could you please send a diagram of your setup?  

    when you say nRF Connect software ,, could you please tell us which specific one you mean?

    Best regards,

    Kazi Afroza Sultana

Related