Skip to main content
Abdullah Almansouri
Associate
Jan 3, 2018 9:18 AM UTC
Question

Stream the data from sensorTile to MATLAB

Posted on January 03, 2018 at 10:18

I juse got the Sensortile kit, and I would like to read (life) the output from the sensors using MATLAB. Is there a simple way to stream the data “lifeâ€� to a MATLAB running on Windows or mac OS? How can I do that?

 Thanks for the help! 

    This topic has been closed for replies.

    3 replies

    Andrew Neil
    Super User
    Jan 5, 2018 8:30 AM UTC
    Posted on January 05, 2018 at 09:30

    Does it have to be wireless?

    How about getting a 

    http://www.st.com/en/evaluation-tools/steval-stlkt01v1.html

      and using a UART or USB connection?

    EDIT

    BTW: I think you mean 'live' rather than 'life' ?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Abdullah Almansouri
    Associate
    Jan 5, 2018 12:11 PM UTC
    Posted on January 05, 2018 at 12:11

    Thank you Andrew. 

    Well, that sounds an easy way to start with. But, ultimately I would like to use it wirelessly, as the sensor will be moving around.

    and yes “liveâ€�! Thanks for the catch  

    Andrew Neil
    Super User
    Jan 5, 2018 12:41 PM UTC
    Posted on January 05, 2018 at 12:41

    Well the SensorTile is BLE - so you'd have to use that.

    You'd have to ask Matlab what features they have for receiving from BLE.

    AIUI, native Windows support for BLE doesn't start until Windows-10. Or was it 8?

    But, whatever, it is certainly not in Win-7

    EDIT

    According to 

    https://msdn.microsoft.com/en-us/library/windows/hardware/jj159880(v=vs.85).aspx

     ,

    Windows 8 introduces support for the Bluetooth Low Energy technology.

    Whether it was complete and/or reliable at 'introduction' is another matter ...

    Seems that  the 

    https://blogs.windows.com/buildingapps/2017/01/13/new-bluetooth-features-in-creators-update-gatt-server-bluetooth-le/

    ' was, '

    big on Bluetooth

    ':

    https://blogs.windows.com/buildingapps/2017/01/13/new-bluetooth-features-in-creators-update-gatt-server-bluetooth-le/ ♯ GDgG84Po2MmeLTiY.97

     

    EDIT 2

    I guess an alternative would be to have an app on a 'mobile' device (tablet, phone) receive from the Tile, and then forward to your PC ...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.