Meet the neural helmet

After meeting the teachers of the group we started using Eugenio’s Emotiv EPOC headset and MindYourOSC software to connect the helmet to Processing.

At the time of writing Emotiv offers two types of helmet the EPOC (which gives you data regarding thoughts, feelings and expressions) and the EEG (which gives you all the EPOC data plus the raw signal sensors).

Eugenio illustrating the Emotive EPOC

I had the opportunity to test the helmet first and I was quite impressed when I first calibrated the device: the software lets you interact with a virtual cube using your brain activity. After a few minutes of training I was able to do a combination of three actions (pushing, pulling and lifting the cube).

First calibration test

As quick test (and to show a little magic to our audience) we came up with a  Processing sketch that lets the user trash pieces of paper with data coming from the sensors.

In our first experiment only one signal from the headset was used: we noticed that muscular movements were the strongest so we used the eyebrow raise value as a main input.

As you can imagine the results were quite entertaining 🙂

Raise eyebrows to change the wind!

The code to retrieve the signal data from MindYourOSC over the OSC protocol, is quite straight-forward:

 

OscP5 oscP5;

void setup() {
size(800, 600, OPENGL);
//start oscP5, listening for incoming messages on port 7400
//make sure this matches the port in Mind Your OSCs
oscP5 = new OscP5(this, 7400);
}
void oscEvent(OscMessage theOscMessage) {
// check if theOscMessage has an address pattern we are looking for
if (theOscMessage.checkAddrPattern("/EXP/EYEBROW") == true) {
// parse theOscMessage and extract the values from the OSC message arguments
wind = theOscMessage.get(0).floatValue();
}
}

 

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s