Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neuro-Node, A Library for interacting with Neurosky Headsets.

Neuro-Node is yet another javascript client library that interacts with the Neurosky Mindwave Mobile Headsets via the ThinkGearSerialStream protocol.

The library allows for reading of all EEG data from the headsets as well as sending command bytes for changing output format.

To Install

$ npm install neuro-node

Usage

    const Neuro-Node = require('neuro-node');
    let mindwave = new Neuro-Node('/dev/tty.MindWaveMobile-DevA');
    mindwave.open();

Receiving Data

    mindwave.events.on('data', function (data) {
        console.log(data);
    });

Error Handling

    mindwave.events.on('error', function (error) {
        console.log(error);
    });

Change Data Format

    const NORMAL_FFT_57600 = 0x03;
    mindwave.sendCommand(NORMAL_FFT_57600);

About

A quick node library for workign with NeuroSky headsets

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages