How to get Alpha waves using NeuroSky and Matlab?

Hey Guys; I am using NeuroSky headset. I can get raw EEG data without problem. But when I want to get Alpha, Beta , Gamma,... waves using the below code, it returns "0" and never enters to "if" block!
TG_DATA_ALPHA1 = 7;
if(j == 5)
if (calllib('Thinkgear','TG_GetValueStatus',connectionId1,TG_DATA_RAW) ~= 0)
data(i,j) = calllib('Thinkgear','TG_GetValue',connectionId1,TG_DATA_RAW);
end
end
So what is the problem? Why I can get the Raw EEG data but I can't get Alpha and other waves? I am using the code of this question : http://www.mathworks.com/matlabcentral/answers/69208-store-eeg-data-to-matrix-and-save-it-to-csv-file
Also I am using NeuroSky mobile Headset. Can you guide me what is wrong here? Thanks

2 commentaires

Hello sir can you help to get the raw eeg data.I am also using Neurosky MIndwave Headset..plzz
Me too!! How to get the raw eeg data. Please help!

Connectez-vous pour commenter.

Réponses (3)

Umair  Iqbal
Umair Iqbal le 13 Avr 2018

0 votes

Hello.
Have you been able to solve the issue? I am also facing the same problem. I would be thankful if you could tell me how you resolved this problem.
Thanks.

1 commentaire

amir jalilifard
amir jalilifard le 4 Juil 2018
Modifié(e) : amir jalilifard le 4 Juil 2018
First, you need to record raw EEG with Neurosky. You may find how to record raw EEG in Neurosky documentation. After you should use Wavelet or Fourier Transform to extract frequency-bands(Alpha, Beta, Theta, ...). Take a look at the below link: https://www.researchgate.net/post/How_do_I_analyze_the_below_EEG_raw_data_and_extract_brain_frequency_bands_from_it

Connectez-vous pour commenter.

Suha Ali
Suha Ali le 18 Août 2020

0 votes

did you use the NeuroSky MindWave?? or the 2009 product that is called NeuroSky headset! if you used the first one can you please share the whole code that you used to read the Alpha waves!! it would be a great help! thanks in advance!!

3 commentaires

Suha Ali
Suha Ali le 19 Août 2020
Thank you for answering but this code is for reading meditation eSense from a "NeuroSky Mindave Mobile" and what I am looking for the code that reads this same but from a "NeuroSky Mindave"!
It appears to me that the code would work for Mindwave. It needs a COM port to communicate over, but it does not care whether the COM port is a Serial Over USB or is a Bluetooth port.

Connectez-vous pour commenter.

Farouk
Farouk le 15 Juin 2023

0 votes

dos anyone used bitalino to read the waves, if you use it can you please share the whole code that you used to read the Alpha, Beta , Gamma waves!! it would be a great help! thanks in advance!!

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by