Skip to content

manahilmk/NF-Mindwave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MindWave Mobile 2 - Neurofeedback & Baseline Recording (Python)

This repository contains two Python scripts for performing baseline EEG recording and real-time neurofeedback using the NeuroSky MindWave Mobile 2 headset.

It reads brainwave data (attention, meditation, and EEG band powers) from the ThinkGear Connector (TGC) via TCP, processes it, and provides feedback using a video player based on your beta activity level.


Setup Instructions

1. Install Python

Download and install Python 3.8 or later from the official site:

https://www.python.org/downloads/

⚠️ During installation, make sure to check “Add Python to PATH”.


2. Install Required Python Libraries

Once Python is installed, open a terminal (Command Prompt or PowerShell), and run:

pip install pandas numpy python-vlc


3. ThinkGear Connector Setup

You must run the ThinkGear Connector (TGC) before using these scripts. TGC allows Python to connect to your headset via TCP.

Download TGC here: 👉 https://developer.neurosky.com/docs/doku.php?id=thinkgear_connector

Once installed, launch it and make sure it shows “Connected” with your headset.


4. Folder Setup

Extract the codes into one folder. Create a new folder by the name of "User data". Make sure the directory contains a video titled "NF Video". If you want to replace the video, paste the .mp4 file in the same folder as the Python scripts, and rename if to "NF Video".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages