Page 1 of 1

MUSE 2016 BLED as source

PostPosted: Sat 16. Apr 2022, 17:57
by matteo_mazzanti
hi,
I am glad BrainBay v.2.6 support BrainFlow-compatible devices as sources.
Anyway, it seems it doesn't support MUSE 2016 BLED, even if could be supported through the BrainFlow library.
(https://brainflow.readthedocs.io/en/sta ... -2016-bled)
Any chance to have it supported in future BrainBay releases?

TLTR;
I give neuro-feedback sessions during science/art happenings by using BrainBay.
I have a MUSE 2016 and OpenBCI Ganglion devices.
The latest version of OpenBCI_GUI (5.0.9) has removed OpenBCI_Hub.
Even so, I can still use OpenBCI Ganglion BLED as source in BrainBay, thanks to BrainFlow library support.
However, by using a MUSE 2016 BLED my sessions would be more children and tide-time friendly. :)

Thanks
Matteo Mazzanti

Posted: Sat 16. Apr 2022, 17:57
by Advertising

Re: MUSE 2016 BLED as source

PostPosted: Sat 13. Aug 2022, 14:19
by chris
hi Matteo,

sorry this took so long..

I just updated the Brainflow integration into Brainbay and added support for the devices which recently got Brainflow compatible :)
Please try the new release Brainbay v2.7: https://github.com/ChrisVeigl/BrainBay/releases/tag/v2.7
Hopefully your MUSE 2016 BLED should work now!

Great that you apply Brainbay/NFB in science/art related setups!
Would be great if you want to share more information about that,

best regards,
chris

Re: MUSE 2016 BLED as source

PostPosted: Tue 27. Sep 2022, 21:52
by matteo_mazzanti
Hi Chris,
first of all, thank you very much for all your work.
BrainBay is a great door-opener and a real neurotech catalyzer.
A lot of fun with it!

I have downloaded BrainBay 2.7 and tried to connect MUSE2016-BLED with BrainFlow, on Linux.
No success.
BTW, the COM settings is grayed out.

As a test, I have tried by using BrainFlow v5.3.0 (python binding) and it worked.

I will try MUSE2016-BLED (BrainFlow) with BrainBay 2.7 on Windows and come back.
;)

Re: MUSE 2016 BLED as source

PostPosted: Tue 27. Sep 2022, 22:41
by matteo_mazzanti
I also created a symlink in
/home/[USER]/.wine/dosdevices/
that link com1 -> /dev/ttyACM0 (my-bled-device).
But still no success.

Re: MUSE 2016 BLED as source

PostPosted: Wed 28. Sep 2022, 09:42
by chris
I'm sorry I can't help much with this issue, because as I don't have the HW for testing ...
the error message is not very helpful either!

does it work under windows?

Re: MUSE 2016 BLED as source

PostPosted: Wed 28. Sep 2022, 16:44
by matteo_mazzanti
hi Chris,
> does it work under windows?
same on Windows.

I looked for the BrainFlow error:
https://brainflow.readthedocs.io/en/stable/UserAPI.html?highlight=error#_CPPv4N9brainflow18BrainFlowExitCodes14SET_PORT_ERRORE
Code: Select all
SET_PORT_ERROR = 3

It seems related to wrong serial port set.

Maybe you could enable the port input in BB UI (so user can insert a value) and pass the value to BrainFlow, as, i.e., for the BrainFlow OpenBCI Ganglion board.

/matteo

Re: MUSE 2016 BLED as source

PostPosted: Fri 30. Sep 2022, 11:06
by chris
hi Matteo,

I enabled the COM-Port selection for the Muse 2016 BLED device - thank you for the hint that this was missing!

please try the new .exe from github:
https://github.com/ChrisVeigl/BrainBay/ ... ainBay.exe

(replace the old .exe)

does it work?

Re: MUSE 2016 BLED as source

PostPosted: Tue 11. Oct 2022, 17:29
by matteo_mazzanti
hi Chris,
it doesn't, but it throws a different error message (finally some progress!)

First, it throws a
SYNC_TIMEOUT_ERROR = 18 (from brainbay)

Second:
I checked on terminal the linux device associated with the BLED and it has crashes,
and it gets automatically re-assigned to a new port.
So if before it was /dev/ttyACM0
it is now /dev/ACM1

Not sure what is going on here.
Maybe we should call in Andrev.

Re: MUSE 2016 BLED as source

PostPosted: Sat 15. Oct 2022, 18:59
by chris
yes - looks like i can't do much from the brainbay side...
did you already post the issue in the Brainflow slack channel?