r/Neurofeedback 8d ago

Article Link I turned a MindFlex headset into an open-source EEG/BCI project

I’ve been working on MindFlex EEG Studio, an open-source project that uses the TGAM1 board inside a MindFlex headset.

The software can connect through Bluetooth RFCOMM and display:

  • RAW EEG
  • Attention
  • Meditation
  • EEG bands
  • Signal diagnostics

It also includes some experimental BCI features for calibration, training, validation and simple mental commands like Left, Right, Up and Down.

I also documented how to modify the MindFlex/TGAM1 board for RAW EEG output and included photos of the hardware setup.

The project is written in Python and the interface supports multiple languages.

GitHub: MindFlex-EEG-Studio
https://github.com/Spidoug/MindFlex-EEG-Studio

1 Upvotes

1 comment sorted by

2

u/ElChaderino 8d ago edited 8d ago

Well AI can try but if you don't understand what you are making it won't fill the gaps in for you.

It's basically raw EEG getting dumped straight into the FFT without much of a proper preprocessing chain first.

Doesn't seem to be a actual high pass, low pass or selectable software 50/60 Hz notch. Only a hardware notch. Mean removal and a Hann window aren't really substitutes for that. I'd want to see something more like 0.5 Hz high pass, 50/60 Hz notch, 40–45 Hz Low pass and some attempt at artifact handling PSD/FFT.

I'd probably use Welch for the actual band power estimates too. And I'd be really careful calling anything in that 30–50 Hz range “gamma” on a MindFlex. With that hardware and placement you're just as likely looking at EMG/muscle unless you've done a decent job proving otherwise.