Skip to main content
GCele.1
Associate II
July 17, 2020
Question

Hello, i am doing an internship at my university and i am using sensortile.box. I have already tried the various software to program it (Algobuilder, Unicle-gui, UNICO). Is there any way I can load my C language scripts?

..

    This topic has been closed for replies.

    6 replies

    Eleon BORLINI
    ST Employee
    July 20, 2020

    Hi @GCele.1​ , the SensorTile.box can work in 3 different modes: the Mode 1 and Mode 2 are related to the smartphone app, but the Mode 3 is properly designed for programming the tool with a proper IDE (STM32CubeIDE, EWARM, Atollic...), together with the proper hardware (STLINK V2 adapter + cable, which should be embedded in the ST.box kit). The suggestion is to start from the FP-SNS-STBOX1 examples and integrate here your C code. You can check THIS tutorial video for details on Mode 3 operation. If you however need also the original source code (I mean, not only the .bin file that you can find in this community), you should contact ST sales and representatives form the official channel since it is not open. Btw, which is your target application? Regards

    GCele.1
    GCele.1Author
    Associate II
    July 20, 2020

    Thanks for support. So to load personal code (pro mode) I must use the ST-LINK or there is another method? My goal is to evaluate the battery consumption using the two different approaches: the first (C code) by loading my personal code, the second (Machine Leaning CORE) using the technology made available by the sensortile.box then with decision tree generated starting from the dedicated software (Algobuilder - -> Unicleo-GUI -> UNICO). All on accelerometer and gyroscope measurements to recognize a person's kyphotic posture.

    Thanks in advance

    Eleon BORLINI
    ST Employee
    July 20, 2020

    If you have the .bin file of your code you can upload it on the SensorTile.box via USB setting the microcontroller in DFU mode. HERE you can find a post from the ST community with a video that explains you how to do it. Regards