Skip to main content
Associate III
June 18, 2025
Solved

STEVAL-STWINKT1B Save logs frequency

  • June 18, 2025
  • 2 replies
  • 332 views

Hey,

I'm using STEVAL-STWINKT1B to log data by inserting the SD card and pressing reset (I don't use BLE connection). It's powered by the battery.

I was wondering if there's a way to set a specific logging frequency, like every 15 minutes? The reason I ask is that sometimes logging stops unexpectedly (e.g., when the battery dies), and I end up with empty (.dat) files.

Is this feature already implemented, or would I need to develop the firmware myself? If so, how difficult do you think that would be?

Best,

Anthony

Best answer by SimonePradolini

Hello @anthonyADV 

Are you still referring to FP-SNS-DATALOG2, am I right?

If so, we're already implementing such a feature and we called it “automode”.

Here a couple of screenshots from the Quick Start Guide to guide you enabling logging in loop:

SimonePradolini_0-1750326645265.png

SimonePradolini_1-1750326653600.png

I suggest you take a device_config.json from a previous valid acquisition (or from the acquisition example folder available in STDATALOG-PYSDK).

Then, modify the “automode” section only by modifying the values you need.

 

Best regards,

Simone

 

2 replies

SimonePradolini
SimonePradoliniBest answer
Technical Moderator
June 19, 2025

Hello @anthonyADV 

Are you still referring to FP-SNS-DATALOG2, am I right?

If so, we're already implementing such a feature and we called it “automode”.

Here a couple of screenshots from the Quick Start Guide to guide you enabling logging in loop:

SimonePradolini_0-1750326645265.png

SimonePradolini_1-1750326653600.png

I suggest you take a device_config.json from a previous valid acquisition (or from the acquisition example folder available in STDATALOG-PYSDK).

Then, modify the “automode” section only by modifying the values you need.

 

Best regards,

Simone

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Associate III
June 20, 2025

Thanks @SimonePradolini.