Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python wrappers for the NeuroSky Mindwave Headsets

Project Description

mindcontrol provides an api that allows python programs to capture data that
is emitted by the NeuroSky MindWave headsets. It uses a socket to connect to
the ThinkGearConnector application that acts as a server for the headset data::

#!/usr/bin/env python

from mindcontrol.userbrain import Brain
from time import sleep

SLEEP_TIME = 5 # seconds
CONCENTRATE_TIME = 5 # seconds
my_brain = Brain()
while not my_brain.isConnected():
print 'Not connected to brain yet. Will try again in %d seconds' % SLEEP_TIME
# brain is now connected, get some stuff
print 'Concentrate really hard for the next %d seconds!' % CONCENTRATE_TIME
# sample once each second
conc_vals = []
for idx in xrange(CONCENTRATE_TIME):
print 'Your recorded concentration values were:\n\t[%s]' % ', '.join([str(x) for x in conc_vals])


This project is GPL licensed so do whatever you want with the code. This module is currently being source controlled
on GitHub, so if you want to check out the project you can find it here:
This module is mostly experimental at the moment, but expect more development soon.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mindcontrol-0.54dev.macosx-10.6-intel.exe (72.8 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jul 27, 2012
mindcontrol-0.54dev.tar.gz (7.1 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting