Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An Erlang Client library for the ThinkGear Socket Protocol
Erlang Shell
Branch: master
Failed to load latest commit information.
config
images First commit
migrations
presentation
src
templates
test
.gitignore
LICENCE.md
README.md
makefile
rebar.config
shell.sh

README.md

Erltricity: An Erlang/OTP Thinkgear Connector Client

Developer: Ward Bekker ward@equanimity.nl

Description

An Erlang/OTP Client Application for the ThinkGear Socket Protocol from NeuroSky.

You'll need one of these:

Fashion!

Software Requirements

  • Erlang R15B+
  • MySQL Server
  • Thinkgear Connector (comes with installation media)
  • An active internet connection as Google Graph API is used for the charting.

Current development status

Code should be considered a proof of concept.

Usage

Create a new MySQL database eg. erltricity and run the table creation statements from table.sql

Copy the database.config example file and adapt it to your MySQL Server needs:

cp config/database.config.example config/database.config

Start up an Erlang shell:

rebar get-deps compile && ./shell.sh

Now is a good time to turn on your Mindwave headset.

Inside Erlang shell:

application:start(erltricity).

And point your browser to http://localhost:8000/chart to see the recorded EEG signals. Manual refreshing is required in this version.

Example Chart

With a proper signal, the chart should look something like this:

Chart

Something went wrong with that request. Please try again.