GithubHelp home page GithubHelp logo

aizmeng / braingamesimulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamvazu/braingamesimulator

0.0 2.0 0.0 2.08 MB

Brain Game Simulator | NeuroSky Mindwave | Control Windows Games Using Brain Signals

Home Page: http://www.vslcreations.com/2017/09/brain-game-simulator-neurosky-minwave.html

License: GNU General Public License v3.0

Python 100.00%

braingamesimulator's Introduction

braingamesimulator

Brain Game Simulator | NeuroSky Mindwave | Control Windows Games Using Brain Signals
Demo: https://youtu.be/xAjLCZPfexU https://youtu.be/iC-GXePw5X4
We are trying to automate the windows games first racing games controls using attention & meditation level values that we have captured from the frontal lobe of brain using NeuroSky Mindwave Headset.

Python Direct X game controller server

# DirectX works with Scancodes for Direct Input
For best results install NeroSky Mindwave Apps & train your brain: https://store.neurosky.com/products/blink-zone
Check attention/meditation values using my code & prepare with simple brain exercises:: https://github.com/vsltech/neuroskymindwavecapture
*Install thinkgear connector: https://store.neurosky.com/products/pc-developer-tools
Dependencies: PyWin32, Mindwave, Python2.7, PyQt4(Core & Designer), ThinkGear Connector
*I used Python2.7 64-bit on Windows10 OS
  • PyWin32: Download & Install from below links
    Using exe: https://sourceforge.net/projects/pywin32/files/pywin32/Build%20221/pywin32-221.win-amd64-py3.6.exe/download
    Using pip: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32
  • PyQt4: https://riverbankcomputing.com/software/pyqt/download


  • -Insert USB Dongle(TCP/IP) connector of NeuroSky Mindwave Headset
    -Check COM Port from from Windows Device Manager: Screenshot uploaded above
    -Double Click/Run: python eegs.py (https://github.com/vsltech/braingamesimulator/blob/master/eegs.py)
    -Enter COM Port then click Connect
    -Enter your threshold: 40 is best for all different age groups tested so far
    -Run this program in background, once Headset led turns green you will start seeing attention, meditation & eye blink values. Don't shake headset as raw values flickers with small change on contact from frontal lobe/forehead.

    -Start the game you want to play & enjoy!
    -Asphalt8 Calibration: Turn Off Auto-acceleration & Switch to Key Controls

    (*Updates & Fixes include: GUI Control & game control enhancements) EDITS in the code: braingamesimulator.py
    *headset = mindwave.Headset(, 'CC0E')
    Calibration: Edit your threshold value with your attention/meditation values
    For issues read this: http://www.vslcreations.com/2017/05/neurosky-mindwave-issues-beginners-guide.html
    Ref/Credits: https://github.com/BarkleyUS/mindwave-python, Utkal Sharma

    braingamesimulator's People

    Contributors

    vsltech avatar

    Watchers

    James Cloos avatar yaqi.chu 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.