Skip to content
Mindwave Mobile EEG headset basic parser
Branch: master
Clone or download
George Profenza
George Profenza updated readme links
Latest commit da8a864 Jan 10, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Arduino library Apr 3, 2015
Mindwave.cpp Arduino library Apr 3, 2015
Mindwave.h Arduino library Apr 3, 2015 updated readme links Jan 10, 2016
keywords.txt Arduino library Apr 3, 2015

Mindwave Mobile Parser

Simple parser for Mindwave Mobile EEG headsets.

How to install the library

  1. Download the library
  2. Unzip and rename the Mindwave-master folder to the Mindwave
  3. Move the freshly rename Mindwave folder into the Documents/Arduino/libraries and restart Arduino

How to use the library

If you're using the Serial class and simply want to get the attention value, it's as simple as this

#include <Mindwave.h>					//import the library
Mindwave mindwave;						//start using it

void setup() {
  Serial.begin(MINDWAVE_BAUDRATE);		//setup serial communication (MindWave mobile is set to 57600 baud rate)
//create a function to received new values as soon as they're avaialble
void onMindwaveData(){
  Serial.print("attention: ");
  Serial.println(mindwave.attention()); //access attention value
void loop() {
  mindwave.update(Serial,onMindwaveData);//update using the data input(Serial in this case) and the function to call when data is ready

For more examples go to Arduino > File > Examples > Mindwave


Be aware, this is my first Arduino library, so things might not be 100% top-notch. The code is mostly based on the official NeuroSky wiki article and the ThinkGear protocol specs

However, it was developed for the Focus project. This is is covered on the following websites:

Walk With Me Walk With Me Arduino Shield for DMX and (Mindwave Mobile) Bluetooth

You can’t perform that action at this time.