Code Monkey home page Code Monkey logo

python-mindwave's Introduction

python-mindwave

This is a set of simple scripts that interface with the Neurosky Mindwave.

The Mindwave is a kind of Headset that can record EEG brain waves.

These scripts have been tested under Linux(Ubuntu) and OSX, so there might be some adaptation to do for other platforms.

Dependencies

Install following packages from your packing system:

  • python-numpy
  • python-game
  • python-scipy
  • pyserial

If you want to install dependencies using pip, you will also need to install following dev dependencies:

  • gfortran
  • libopenblas-dev
  • liblapack-dev

Usage

You might not have the neccessary permissions to open the serial connection. If that is the case, please drop me a note what you did to make it work. For example it might be enough to add your user account to the group "dialout".

python sdl_viewer.py

Hack

Before you send any pull request, please make sure all the test cases are passed. To run test cases, you have to first install nose python package and run:

nosetests

Misc

But, for what might you use an EEG?

  • Neurofeedback training
    • Better concentration
    • Help treat Depression and ADHD
    • Potentially other protocols
  • Help with meditation and measure progress and endurance
  • Use Brainwaves to control games

Please message me, if you have suggestions for improvements/bugs etc. or if you are interested to develop more features/games for the Mindwave.

If you want to use the Mindwave with some kind of physical computing platform (arduino, BeagleBoard, BeagleBone, Rasperry Pi), the manufacturer recommends that you solder some wires into the headset for direct communication. That means that you risk completely ruining the device and having to attach the Arduino (or similar) to the headset itself. Instead it's probably cheaper and easier to use the USB Host capabilities of an Arduino shield or the native USB Ports of the other platform for the dongle, retaining full functionality and "wirelessness".

python-mindwave's People

Contributors

akloster avatar houqp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.