How to create your first dataset

Check the workspace, prepare a supported ST device, and record a short sensor dataset for review.

Steps

  • Check the workspace and device tools.

  • Prepare a supported device if needed.

  • Create a project and record data.

  • Open the processed dataset.

Prerequisites

  • A computer running Windows 11 x64, Debian-based Linux x64 distributions (tested on Ubuntu 22.04/24.04), or macOS ARM64 (macOS on Intel is not supported).

  • A supported ST device connected by USB.

  • Dataset Factory installed on your computer.

Check Dataset Factory workspace

  1. Launch Dataset Factory.

    Projects page with the action to create a project

    Default view of the Projects page after launching Dataset Factory.

  2. Check the current workspace. Dataset Factory uses a default workspace; to store projects in another folder, open Settings > General settings and change Workspace > Local Path. If device programming is part of the workflow, check that Dataset Factory detects STM32CubeProgrammer. Use Autofill to search for installed companion software, or install the tool from the STM32CubeProgrammer page. You can also change the STM32CubeProgrammer path if needed in STM32CubeProgrammer > Local Path.

    General settings with workspace and tool paths

    Check the current workspace and tool paths in General settings.

  3. If the network requires a proxy, open Settings > Proxy settings and configure it.

    Proxy settings with proxy, certificate, connection test, and save controls

    Configure and test the proxy connection before saving.

Prepare the device

  1. Open Catalog and search for the board. The catalog lists the board and the required firmware application. Firmware availability and supported combinations can vary by release.

    Device catalog with supported boards and firmware actions

    Find the board in the device catalog.

  2. If the board does not already have compatible data-logging firmware, or you are not aware of its current firmware status, select Flash firmware on its catalog entry. Choose the application and firmware version that match the acquisition. The screenshots use STEVAL-STWINBX1 as an example.

    Firmware dialog with data-logger applications and firmware versions

    Choose an application and firmware supported by the board.

  3. Follow the on-screen instructions to put the board in DFU mode. Connect the board, refresh the target list if needed, and select the detected target. Flashing overwrites the existing application on the device, so review the confirmation before continuing.

    Firmware dialog showing a detected DFU target and overwrite confirmation

    Confirm the target and review the overwrite message.

  4. Select Flash now and keep the board connected until flashing finishes. Close the success message when it appears.

    Firmware flashing progress dialog

    Keep the board connected while firmware is being written.

    Firmware flashed successfully message

    Continue after the success message appears.

Create a project and start an acquisition

  1. Open Projects, select + Project or the Create your first project button, then choose From scratch. Enter a project name and select Next.

    Projects page with the action to create a project

    Start a project from the Projects page.

    Project creation choices including From scratch

    Choose From scratch for a new project.

    Project information form with the project name field

    Enter a project name before continuing.

  2. On Project type, select Capture from device. On the device selection step, choose the connected board. Select Refresh if it is not listed, then select Create & open acquisition.

    Project type step with Capture from device selected

    Choose device capture for this project.

    Device selection step showing a connected STEVAL-STWINBX1

    Select the detected board. This screenshot shows STEVAL-STWINBX1.

  3. In the acquisition view, review the data sources. Enable at least one source for recording, and disable sources that are not needed. Configure a source only when the recording requires it.

    Acquisition view showing data sources and sensor configuration controls

    Review the available sources and settings before recording.

  4. Select Record. Confirm that the timer advances and live plots appear. Make a short movement or provide another sensor input to check that the recorded values respond.

    Acquisition view ready to record with the Record control visible

    Start the recording from the acquisition toolbar.

    Active acquisition with elapsed time and live sensor plots

    Check the timer and plots while data is being recorded.

  5. Select Stop when the test is complete. Confirm Stop acquisition to end the recording. A stopped acquisition cannot be resumed.

    Stop acquisition confirmation explaining that recording cannot be resumed

    Confirm when ready to end the recording.

Review the dataset

  1. Wait for Dataset Factory to process the recorded data. Follow progress in Jobs if needed, then open the dataset from the project.

    Dataset processing progress with a link to job details

    Dataset creation runs in the background.

  2. Review the data sources and plots in the dataset view.

    Dataset review view with sensor sources and plots

    Verify that the expected sensor data was recorded.

Troubleshooting

  • The board is not listed: Check the USB connection, confirm support in Catalog, then select Refresh in the device picker.

  • Firmware programming cannot find a target: Follow the board-specific DFU instructions shown by the firmware dialog. Check the STM32CubeProgrammer path in Settings > General settings if the operation requires it.

  • No data appears in the plots: Enable at least one data source and check any source-specific configuration before recording again.

  • Dataset processing fails: Inspect the dataset status and the related job in Jobs.

Next steps

For detailed recording controls and annotations, see Acquisition. For reviewing and importing datasets, see Dataset details and Importing.

For exporting datasets or performing local-file import without a connected device, start with the dedicated import dataset tutorial.