Jump to content

HandVibrationFilter

From BCI2000 Wiki
Revision as of 19:44, 2 April 2024 by Wengelhardt (talk | contribs) (Some documentation for HandVibrationFilter. Not much, but better than nothing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

This filter uses BCI2000 States to modify the output signal of the Arduino. This was designed for use with a hand vibration device connected to the Arduino, in which the output of the Arduino changes the intensity and location of the vibration.

Location

http://www.bci2000.org/svn/trunk/src/contrib/SignalProcessing/HandVibrationFilter

Authors

  • Alexander Belsten (belsten@neurotechcenter.org)


Integration into BCI2000

The driver of the Arduino device must be installed. The device it has been tested on is the Adafruit Metro Arduino, in which you can download the drivers here.

To use it in BCI2000, compile and build the HandVibrationFilter, and start it as the SignalProcessing filter in your batch file: Start executable HandVibrationFilter --local.

Parameters

ActivateHandVibration

Enable to use this module.

COMPort

Use the Device Manager to choose the COM Port the Arduino is connected to.

UseStateModulation

Enable to use the state value to modulate amplitude.

DecimationOfModulation

ModulationState

Configurations

Table that specifies the Expression, Amplitude, and Frequency for each configuration.

States

HandVibration

Whether or not the hand is vibrating.


See also

User Reference:Filters, Contributions:SignalProcessing