Giter Club home page Giter Club logo

mindwave's Introduction

Mindwave Mobile Parser

Simple parser for Mindwave Mobile EEG headsets.

How to install the library

  1. Download the library
  2. Unzip Mindwave-master.zip and rename the Mindwave-master folder to the Mindwave
  3. Move the freshly rename Mindwave folder into the Documents/Arduino/libraries and restart Arduino

How to use the library

If you're using the Serial class and simply want to get the attention value, it's as simple as this

#include <Mindwave.h>					//import the library
Mindwave mindwave;						//start using it

void setup() {
  Serial.begin(MINDWAVE_BAUDRATE);		//setup serial communication (MindWave mobile is set to 57600 baud rate)
}
//create a function to received new values as soon as they're avaialble
void onMindwaveData(){
  Serial.print("attention: ");
  Serial.println(mindwave.attention()); //access attention value
}
void loop() {
  mindwave.update(Serial,onMindwaveData);//update using the data input(Serial in this case) and the function to call when data is ready
}

For more examples go to Arduino > File > Examples > Mindwave

Notes

Be aware, this is my first Arduino library, so things might not be 100% top-notch. The code is mostly based on the official NeuroSky wiki article and the ThinkGear protocol specs

However, it was developed for the Focus project. This is is covered on the following websites:

Walk With Me Walk With Me Arduino Shield for DMX and (Mindwave Mobile) Bluetooth

mindwave's People

Contributors

orgicus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mindwave's Issues

eye bliking

Is there any function to detect eye blinking?

No Attention and Meditation values on serial monitoring

problem.pdf
Hi
I have a problem and I want a help
I have a device "NeuroSky Mindwave Mobile 2" and I connected the bluetooth HC-05 with the Arduino Nano board and I paired the device with bluetooth, then I downloaded the library "mindwave" from GitHub website ( https://github.com/orgicus/Mindwave ) and copied to Arduino library software and I opened the example "Serial" from the Arduino IDE and then I uploaded it to Arduino Nano board , after that I turned on the device and wore it and opened the serial monitoring to see the value of eSense Meters (Attention and Meditation), but the values was zeros.
The same problem from example "EEG", there is no values for Beta.

But when I pair the device with the Android application "Brainwave Visualizer" , it gives Attention and Meditation values

Please help me

Meaning of the values eeg[i].

Hello sir, I would like to know what exactly the values mean in eeg[i]? I understand that it is not the raw eeg data? is it the eeg power?
I want to receive raw eeg amplitude values on arduino serial monitor. please help

Blink detecting.

How can i give a blink event from your library? I know that android version have that functional.

blink detection

i want to detect blinking eyes using your librarie but i don't know if it's possible or how to do this

signal read interval

hi,
thanks for effort. this library solves a lot of problems for begginers.
my question is is there any possibilty to reduce reading times. I mean reading data from headset. when I try to turn led on with attention value higher than lets say 70, it blinks. I want while attention value is higher than 70 led will turn on. but its blinks even value higher than 70. any method or any value in library make this possible.
any information will be valuable for me.
regards..

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.