EEG TGAM ThinkGear Brain Wave unpacking data from Arduino into Max MSP
Hi all after searching in the internet for a research project,I have gathered a tool hopefully useful to other people.
It reads the serial data from a EEG headset (ThinkGear, Mattel Mindvision, Mindflex) collected from arduino and sends it to Max MSP via SERIAL port. The result are 11 number boxes that then can be used inside your Max patch.
Fell free to use it and to get in touch with me if you need some more explanation; there are several comment boxes inside the patch that explain the data flow.
Ciao
Houseman
Stay connected for the extended patch that does following:
- Gets and Analyzes the RAW data
- Shows BLINK feature and BLINK strength
- Sends commands to the headset in order to control baud rate and other parameters according to the white paper
Any help would be appreciated
Regards
Thank you. I will be using this in the next month or so and I will gladly contact you if I encounter any issues. once I can get the raw brainwave data into max, many great possibilities will open up. I will post an update.
Hello, I've opened you patcher with the arduino duemilenove Rx to the mindflex headset T pin, and the arduino ground to mindflex ground. I changed the serial port to c rather than a as that is the serial port which prints (port c: COM3) After toggling on, I get no movement in the integers coming off the unpack object. Do I also need to change the "port a" message to "port c"? In the messager I get specified port not available. Is there a specific hardware hack that I am missing, or should the t pin and ground work? Thanks.
Hi Ian.
Sorry for the late delay replying to your question.
Does your Arduino 2009 be original or a clone?
I mean if you open the PORT MONITOR of the arduino app, can you see characters displaying?
Please check if everything is ok before connecting the EEG.
Hi Houseman,
I appreciate your response. I eventually did get it figured out and had made some significant changes to the patcher you shared on this thread. However, my wife accidentally ran over my computer and the only copy of the patcher was destroyed. I am now trying to re-mod the updated patcher on this thread but am getting the same problem of an appearent lack of connectivity. or something. I can get the brainblink to work but am having a hard time with the data coming into max. I'll keep at it and this time I'll post my version of the patcher on here. you can check out my brainwave audio synth project here: neoneu.net/placentia.html
Author