Scripts to read data out of the Neurosky Mindwave Mobile unter Ubuntu
Python
Switch branches/tags
Nothing to show
Clone or download
robintibor Merge pull request #14 from ckbehemoth/ckbehemoth
Work-around for unknown OpCodes emitted during headset initialization
Latest commit b303ebd Jan 22, 2018

README.md

Some scripts to access the data streamed by the Neurosky Mindwave Mobile Headset over Bluetooth on Linux.

Requirements:

  • PyBluez, see their documentation for installation instructions :) For Ubuntu, installation might work like this:
sudo apt-get install libbluetooth-dev python-bluetooth

If you want to install the library as a module, do:

python setup.py install

from the root folder of the repository.

Afterwards, you can use it within python like this, with the headset set in pairing mode (http://support.neurosky.com/kb/mindwave-mobile/how-do-i-put-the-mindwave-mobile-into-discovery-mode):

from mindwavemobile.MindwaveDataPointReader import MindwaveDataPointReader
mindwaveDataPointReader = MindwaveDataPointReader()
# connect to the mindwave mobile headset...
mindwaveDataPointReader.start()
# read one data point, data point types are specified in  MindwaveDataPoints.py'
dataPoint = mindwaveDataPointReader.readNextDataPoint()
print dataPoint