Real-Time Data Collection

The Data Capture Lab can perform real-time data collection and labeling from any sensor over Serial COM, Bluetooth-LE, or Wi-Fi radios. You can use any third-party device in the Data Capture Lab by updating the device firmware to our open-source Simple Streaming specification.

Open Capture Mode

Next, we are going to go over how to use Capture Mode within the Data Capture Lab to collect data from a sensor in real-time.

  1. Open your project in the Data Capture Lab

  2. Click Switch Modes

../_images/dcl-switch-modes-label-explorer.png
  1. Open Capture mode

../_images/dcl-mode-capture.png

Configure Your Sensors

Next, we are going to setup the sensor settings we will use for data collection.

  1. Click the sensor Connect button to setup your Sensor Configuration profile

../_images/dcl-sensor-connect.png
  1. Click Next to select the device plugin to use in your Sensor Configuration

../_images/dcl-sensor-configuration.png
  1. Select a plugin for the device you wish to use during data collection. If you are using a device not listed in the supported devices you can see more on how to implement your own plugin for data collection in the Adding Custom Device Firmware Documentation

../_images/dcl-plugin-select.png
  1. After selecting a plugin, the DCL will show more information about the plugin including the available sensors and documentation links. Each plugin will have different available options. Click Next to move to the sensor properties screen

../_images/dcl-plugin-details.png
  1. Select the sensor properties you wish to use for data collection and click Next.

../_images/dcl-sensor-properties.png
  1. Enter a profile name for the sensor configuration and click Save

    ../_images/dcl-save-sensor-configuration.png

Start Recording Data

Before you can use your device for data collection make sure it is flashed with data collection firmware. You can find more information on data collection firmware options and flash instructions in the Flashing Data Collection Firmware Documentation.

  1. After setting up your Sensor Configuration profile, click Connect to connect to your device

../_images/dcl-sensor-connect.png
  1. Select the file settings you wish to save to your file during data collection

../_images/dcl-file-settings.png
  1. (Optional) Click the settings button next to the file name to customize your file name template

../_images/dcl-file-name-template-button.png
  1. (Optional) The file name template screen lets you customize how the files you collect will be saved to your computer

../_images/dcl-file-name-template.png
  1. (Optional) You can record video from a webcam or screen capture to sync with your sensor data. The Data Capture Lab uses the SensiML Open Gateway application to record video. See the SensiML Open Gateway documentation for more details

../_images/dcl-camera-connect.png
  1. Click Start Recording and the DCL will start recording based on your selected collection method. If you are using a connection that streams the data (Bluetooth-LE, Serial, etc) then the DCL will automatically save the file to your local hard drive and upload it to the cloud

../_images/dcl-begin-recording.png
  1. (Optional) If you are using a connection that streams the data you can create labels in your file during data collection by using the Live Labeling feature. Live Labeling lets you label your events in real-time during data collection. Click the + button on any label to add a label to your file

../_images/dcl-live-labeling.png