MUSE 2016 BLED as source




here you can ask questions reagarding BrainBay

Moderator: chris

MUSE 2016 BLED as source

Postby matteo_mazzanti » Sat 16. Apr 2022, 17:57

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
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

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

Advertising
 

Re: MUSE 2016 BLED as source

Postby chris » Sat 13. Aug 2022, 14:19

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
chris
Administrator
 
Posts: 12
Joined: Fri 18. Feb 2022, 13:50

Re: MUSE 2016 BLED as source

Postby matteo_mazzanti » Tue 27. Sep 2022, 21:52

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.
;)
Attachments
Screenshot from 2022-09-27 22-46-14.png
Screenshot from 2022-09-27 22-46-14.png (1.65 MiB) Viewed 43 times
Screenshot from 2022-09-27 22-50-24.png
Screenshot from 2022-09-27 22-50-24.png (221.95 KiB) Viewed 43 times
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

Re: MUSE 2016 BLED as source

Postby matteo_mazzanti » Tue 27. Sep 2022, 22:41

I also created a symlink in
/home/[USER]/.wine/dosdevices/
that link com1 -> /dev/ttyACM0 (my-bled-device).
But still no success.
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

Re: MUSE 2016 BLED as source

Postby chris » Wed 28. Sep 2022, 09:42

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?
chris
Administrator
 
Posts: 12
Joined: Fri 18. Feb 2022, 13:50

Re: MUSE 2016 BLED as source

Postby matteo_mazzanti » Wed 28. Sep 2022, 16:44

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
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

Re: MUSE 2016 BLED as source

Postby chris » Fri 30. Sep 2022, 11:06

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?
chris
Administrator
 
Posts: 12
Joined: Fri 18. Feb 2022, 13:50

Re: MUSE 2016 BLED as source

Postby matteo_mazzanti » Tue 11. Oct 2022, 17:29

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.
Attachments
Screenshot from 2022-10-11 18-27-54.png
Screenshot from 2022-10-11 18-27-54.png (621.88 KiB) Viewed 28 times
matteo_mazzanti
 
Posts: 8
Joined: Sat 16. Apr 2022, 17:36
Location: kronborgsvagen 13B, Malmoe, Sweden

Re: MUSE 2016 BLED as source

Postby chris » Sat 15. Oct 2022, 18:59

yes - looks like i can't do much from the brainbay side...
did you already post the issue in the Brainflow slack channel?
chris
Administrator
 
Posts: 12
Joined: Fri 18. Feb 2022, 13:50


Return to BrainBay General Questions

Who is online

No registered users

cron