Coder Social home page Coder Social logo

openbci-archive / _deprecated_openbci-v2hardware Goto Github PK

View Code? Open in Web Editor NEW
154.0 51.0 98.0 9.41 MB

This repository contains the core OpenBCI hardware and software frameworks.

C++ 10.55% Arduino 5.24% Processing 42.37% Java 2.76% Python 39.08%

_deprecated_openbci-v2hardware's Introduction

WELCOME!

Welcome to OpenBCI's Github. This is the place where we will keep the software that we want to share with the community and where we will keep the software that the community shares with us.

Contents

  • Arduino: Here are the Arduino libraries and sketches to help you run OpenBCI with an Arduino. Currently, all development has been with the Arduino UNO. We will expand to other Arduino platforms in the future.

  • Processing GUI: Here are some Processing libraries and sketches to help you receive data from the Arduino/OpenBCI. You can use these sketches to watch the data in real time. Some of the sketches also log the data to disk so that you can analyze it after the test.

_deprecated_openbci-v2hardware's People

Contributors

biomurph avatar chipaudette avatar conorrussomanno avatar frijol avatar neurocademy avatar robchambers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

_deprecated_openbci-v2hardware's Issues

Python GUI connection sequence incompatible with 32bit board

The python code never tries to write 'v' to the serial device during the connection sequence. After including a this in the EEGSensor.connect() function, a connection is made but a RuntimeError is thrown:

RuntimeError: Maximum number of bytes skipped looking for binary packet (3000)

This occurs after the program warns:

Had to skip N bytes before finding stop/start bytes
Message length is the wrong size! X should be Y.

Has anyone had success with the Python_GUI code using the 32bit board?

Error building exe of python gui

setup.py fails when trying to build an exe using either the newest Anaconda or Canopy 32bit with the newest 32bit cx_Freeze. This occurs even though run.py successfully launches the GUI from Anaconda or Canopy, indicating that all dependencies are correctly installed. Knowing which exact versions of Anaconda/cx_Freeze were used would be useful.

Cannot find anything named "sendToSpectrogram"

I am tring to run OpenBCI_GUI_Simpler code in processing 2.2.1 and I am getting a message as Cannot find anything named "sendToSpectrogram". Fairly new to this. Need help. Thank You

OpenBCI_GUI code runs just fine but I have this message when running OpenBCI_GUI_Simpler code.

2016-06-18_20-24-30

error while running the file, i have attached error displayed

In file included from C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299/ADS1299.h:10:0,

             from C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino:2:

C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\Definitions/Definitions.h: In function 'void setup()':

Definitions.h:1:14: error: a function-definition is not allowed here before '{' token

void setup() {

          ^

C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino: At global scope:

sketch_jan25a:4:3: error: 'ADS1299' does not name a type

ADS1299 ADS;

^

C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino: In function 'void setup()':

sketch_jan25a:5:6: error: redefinition of 'void setup()'

void setup() {

  ^

In file included from C:\Users\Nikitha_Ramana\Documents\Arduino\sketch_jan25a\sketch_jan25a.ino:2:0:

C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299/ADS1299.h:1:6: note: 'void setup()' previously defined here

void setup() {

  ^

sketch_jan25a:7:3: error: 'ADS' was not declared in this scope

ADS.initialize(8,9,10,4); // (DRDY pin, RST pin, CS pin, SCK frequency in MHz);

^

Multiple libraries were found for "ADS1299.h"
Used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\ADS1299
Not used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\spi
Multiple libraries were found for "Definitions.h"
Used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\Definitions
Not used: C:\Users\Nikitha_Ramana\Documents\Arduino\libraries\spi
exit status 1
a function-definition is not allowed here before '{' token

"Simpler" Processing GUI: Add ding/buzz when Alpha detected

My latest update to the "Simpler" Processing GUI has a routine that detects the presence of alpha waves. Would be nice if it dinged/buzzed when alpha was detected so that you could tell it was happening even when your eyes are closed.

One idea would be for it to create a steady tone (saw tooth or square wave) whenever the alpha was detected. The pitch could then increase based on the intensity (strength) of the alpha waves.

Whatever way that you/we choose to do this, don't forget to turn off the tone when the alpha is no longer detected.

Processing GUI: add buttons to insert "markers" in data log

To ease post-test analysis of the data, it would be great if we could insert "markers" into the data stream. These could be used to mark things like "eyes open", "eyes closed", "relaxed", "flexing left arm", "concentrating on mental math", etc.

One way to enter these markers would be to have clickable buttons on the GUI. Or, you could press keys on the keyboard (say, the function keys).

One could pre-define the message associated with each button ("Eyes Closed"), or one could leave them user-definable (with default messages, of course).

The markers could be stored in the existing data log (the big text file that is generated while recording EEG data). I recommend creating a second file to hold just this log data. I recommend logging a code that identifies which button/key was pressed (the code should something that is easily machine readable), followed by the EEG sample number of when the button was pressed (this acts as the clock for associating with the EEG data), and finally the text message itself.

This will be the first step in our path to enabling people to do automated test protocols so that we can share our EEG data and do some actual science. In the vision for the automated test protocol, the GUI itself could drop markers into this log file to say when the visual stimulus (or whatever) was incremented to the next step in the test protocol.

Arduino UNO and ADS1299FE KIT (with MMB0)

I use arduino Uno and level shifter,bidirectional bus, 5V->3,3V. All these pin are with 3.3V
13 - SCLK*
12- MISO*
11-MOSI*
10- CS*
9-RESET*
8 -DRDY*
7-START*
Power Source are provided from MMB0 of the TI Kit.
I run example1, but all register are set to 1 (i add to ads.inizialize funciont the "false" argument for daisychain)
Why i cannot read correctly the register value???

Problem with UNO

I am having problems with interfacing my ads1299FE with arduino UNO. I was trying to stream data as txt using the ADSMangager but it seems i am getting some gibberish values also the registers seem to be not read properly. Could any one suggest a suitable circuit diagram for UNO and ads1299 daughter board?

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.