Skip to content

jacobbreen25/nsf_soft_sensor_data_collection

Repository files navigation

nsf_soft_sensor_data_collection

Installation

Firstly, Download the “NSF Soft Sensor Wizard”, run the application, and follow the download instructions.

Install Wizard

Usage

To use the app, firstly run the “NSF Soft Sensor Application” application

Fullscreen App

Next, choose where you would like to keep the .csv file created when collecting. Note: If you do not choose a file path, you will not be able to run the program.

Choose a name for the .csv file. The Program will automatically set a name for the file, depending on the time and if mocap is enabled. You will also see a "Set Sample Rate" drop down menu which allows you to choose what sample rate you will be testing at.

File Name   File Path

Once open, use the checkbox labeled “Check for Smart MOCAP Enabling” to specify if you are syncing with a MOCAP system. If you are using Smart MOCAP, choose which COM port you are using.

COM Port

Use the “Connect Bluetooth” button to automatically find the bluetooth device. Once the bluetooth device is found, the terminal will say so and the “Begin Testing” button will become unshaded and the “Connect Bluetooth” will say “Disconnect Bluetooth”

Connect+Disconnect Button

When ready to begin collecting data, press “Begin Testing”. You will see the terminal clear and show current data coming in, including local time to the QT Py, all sensors, including those that are not connected, and a final “Task” number.

Begin Testing

Begin Testing 2

While collecting, if you would like to change the “Task” of the participant, you can set how long you would liek to have the task run for and press the Data Collection Label buttons, which you will be able to visually see in the terminal when collecting. It is important that you set the timer first before pressing a task, as if you do not it will immediately go back to idle. When the task finishes, it will automatically go back to idle and flash the terminal red.

Data Collection Labels

Once Finished Collecting, press the “Stop Testing” button which will end the collection.

Stop Testing

Important Notes:

The program automatically adds a timestamp to the name of each .csv file to allow for continuous collection without rewriting of data.

Arduino Installation

To use the QT Py's using Arduino, you will have to download the needed libraries for ESP-32 devices like so:

  1. Open Arduino and open the File drop down
  2. Got to Preferences
  3. Add the following link ot the "Additional boards manager URLs" box at the bottom on the Preferences menu: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
  4. Select ok
  5. Go to Tools
  6. Go To Board
  7. Go to Board Manager
  8. Use the search bar to look up esp32 in the search bar and download "esp32 by Espressif"

You will also have to download the ArduinoBLE library like so:

  1. Open Arduino and Open the Tools drop down
  2. Open Manage Libraries
  3. Use the search bar to look up "ArduinoBLE by Arduino" and select the install button

Contributors

Janelle Clark, Jacob Breen, Jacob Lorusso, Emily LaBelle

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published