Clear Filters
Clear Filters

How to get Alpha waves using NeuroSky and Matlab?

6 views (last 30 days)
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 Comments
Venkatesh chowdary
Venkatesh chowdary on 28 Apr 2019
Hello sir can you help to get the raw eeg data.I am also using Neurosky MIndwave Headset..plzz
Ching Yin Tai
Ching Yin Tai on 25 Sep 2019
Me too!! How to get the raw eeg data. Please help!

Sign in to comment.

Answers (3)

Umair  Iqbal
Umair Iqbal on 13 Apr 2018
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 Comment
amir jalilifard
amir jalilifard on 4 Jul 2018
Edited: amir jalilifard on 4 Jul 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

Sign in to comment.


Suha Ali
Suha Ali on 18 Aug 2020
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 Comments
Suha Ali
Suha Ali on 19 Aug 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"!
Walter Roberson
Walter Roberson on 19 Aug 2020
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.

Sign in to comment.


Farouk
Farouk on 15 Jun 2023
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!!

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!