neuromore / studio

neuromore Studio is your all-in-one biofeedback suite
https://neuromore.com
125 stars 39 forks source link

OpenBCI active electrodes not compatible with neuromore Studio #120

Open BjornEnvirio opened 2 years ago

BjornEnvirio commented 2 years ago

There are new awesome active electrodes available for OpenBCI that would be sooo good to use with Neuromore!

The new OpenBCI ThinkPulse active electrodes from Conscious Labs have to have a lower gain than the regular x24 or they get railed. x8 is recommended. To set the gain, a hardware initiation sequence has to be sent to the Cyton board.

The documentation can be found here https://docs.openbci.com/ThirdParty/ThinkPulse/ThinkPulse/ This is the crucial info "If you are communicating directly with the Cyton, the command correlating to this picture would be x1040010X." i.e. setting channel 1 PGA Gain to x8. It should be done for all 8 or 16 channels.

The command can be sent using the SDKs channel setting command as described here https://docs.openbci.com/Cyton/CytonSDK/#channel-setting-commands My guess it is fairly simple as Neuromore Studio seems to use the SDK, being referred to in the compatibility guide.

BjornEnvirio commented 2 years ago

I have checked the source code to see if I potentially could make a pull request. Unfortunately, I only found a base class but no implementation. Supposedly the implementation is proprietary.

BjornEnvirio commented 2 years ago

Further testing is done with setting x8 gain in OpenBCI GUI, exiting and then starting neuromore Studio. It did not help. Gain seemed to be reset to x24. With that I see four potential solutions whereof one is "right":

  1. Add a gain parameter to the Open BCI settings
  2. Add another device type "OpenBCI with ThinkPulse"
  3. Set OpenBCI gain to x8 (not okay as it would decrease resolution for standard sensors with a factor of 3)
  4. Transmit readings from OpenBCI GUI using OSC (workaround)