/node-neurosky-visualizer

A visualizer boilerplate for the NeuroSky brain scanner and Node.js

Primary LanguageJavaScript

#Node ThinkGear Visualizer v0.1

##Installation

First, you'll need one of these:

Fashion!

Then install Node.js and install some packages (these may already be installed when you download this repo. not sure.)

$ npm install express
$ npm install socket.io@1
$ npm install node-thinkgear

then start the app by running

$ node app.js

You should see a message that says, "listening on port 3000." Then open a web browser and point it to http://localhost:3000. In most browsers, you do have to include the "http" part.

###node-thinkgear docs

Client library for the ThinkGear Socket Protocol from NeuroSky.

###Data Model

The output objects look like this:

{ 
	eSense: { 
		attention: 53, 
		meditation: 47 
	},
	eegPower: { 
		delta: 416474,
		theta: 33592,
		lowAlpha: 3877,
		highAlpha: 3142,
		lowBeta: 1569,
		highBeta: 3125,
		lowGamma: 3521,
		highGamma: 1451 
	},
	poorSignalLevel: 0,
	blinkStrength: 55
}