• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Scripts to read data out of the Neurosky Mindwave Mobile unter Ubuntu

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)