This is a simple Processing application for graphing changes in brain waves over time. It's designed to read data from a hacked MindFlex EEG headset connected via USB.
It's mostly a proof of concept, demonstrating how to parse serial packets from the Arduino Brain Library, monitor signal strength, etc.
BrainGrapher.pde is the main project file. Open this in the Processing PDE to work with the project.
You may need to modfiy the index value in the line
serial = new Serial(this, Serial.list(), 9600); inside the app's
setup() function file depending on which serial / USB port your Arduino is connected to. (Try
This project was formerly “Processing-Brain-Grapher” on GitHub, but was renamed to just “BrainGrapher” in 2014 for simplicity's sake.
Version 2.0.4 of the ControlP5 GUI Library is included with this project in the
/codefolder. No installation is necessary.
If you're using this with a hacked MindFlex, you'll need the Arduino Brain Library installed and running on your Arduino. Additional instructions at [frontiernerds.com/brain-hack](](http://frontiernerds.com/brain-hack).
Created by Eric Mika at NYU ITP in the spring of 2010. Revised in Spring 2012 to keep up with Processing and ControlP5 updates. Updated once more in early 2014 with bundled dependencies and more fixes for Control P5.