Skip to main content
Explorer
March 13, 2025
Question

Stream sensortile box pro data via USB into Matlab

  • March 13, 2025
  • 2 replies
  • 487 views

Hello, I have the sensortile box pro. I have used the algobuilder in the MEMS-studio to configure various data outputs (Acc, Gyr, RotationVector 6x). The sensortile isplugged in with USB. I can see those data coming into the MEMS-studio algobuilder evaluation, and I have no problem logging the data. 

I want to know how can I pull the same data into a Matlab. to perform a few real-time analysis. I cannot find documentation on how the communication works. I can connect to sensortile as a serial port object. I'm assuming the baudrate is 115200. However, I don't know what commands I need to send to it for it to return those data. 

Can anyone point me into the right direction? 

Thanks. 

 

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    March 21, 2025

    Hi @Gawa ,

    To pass the data from sensortile to the PC you have to create a flow from "expert view" with the sensors you are interested in as input, and as output you have to set “stream to USB”.
    That way the sensortile will install a virtualCom on the PC, just connect matlab to that VirtualCom to pass the data.
    The Data is in CSV format.
    The data-log via USB will start automatically when you restart the sensortile.

    GawaAuthor
    Explorer
    March 25, 2025

    When you say 'expert view', you are referring to the ST sensor app and not the MEMS Studio, is that correct?