Download Latest Version ADS1299.zip (19.9 kB)
Email in envelope

Get an email when there's a new version of OpenBCI

Home / Sandbox - Chip
Name Modified Size InfoDownloads / Week
Parent folder
OpenBCI Daisy-Chaining 2013-11-14
Arduino - Biquad and Alpha Detection 2013-11-14
Arduino - FFT Exploration 2013-11-12
README.txt 2013-11-14 2.2 kB
Totals: 4 Items   2.2 kB 0
CHIP'S SANDBOX FILES
--------------------

*** OpenBCI Daisy-Chaining

It is possible to tie together multiple OpenBCI board in order to increase the number of EEG channels.  As of 2013-11-14, this requires that the OpenBCI boards have a few electrical modifications to enable the link...but if you've got those mods, it works now!  Here is the Arduino software to make it work and here is the Processing GUI to see the results.  The Processing GUI is not refined, but it does function to allow you to see the extra data.



*** Arduino - Biquad and Alpha Detection

This code explores performing all EEG processing on the Arduino itself.   This sketch sets up the OpenBCI board to use just channel 1.  It then starts the system and continually
 retrieves the EEG data from the OpenBCI board.  It does all the processing on the Arduino itself...
       * Filtering to block DC
       * Filtering to notch out 60Hz noise
       * Bandpass filtering...centered on Alpha waves (or change to Beta or whatever)
       * RMS calculation of the EEG signal amplitude in that frequency band
       * Depending on the RMS of the in-band EEG, light an LED! (pin 5)

This code requires the "Biquad" library, which is available elsewhere in this SourceForge.  Go to the top level then go Arduino->Libraries->Biquad.



*** Arduino - FFT Exploration

This code explores performing FFT processing of EEG signals on the Arduino itself.


* ProcessDataOnUno_FFT is an Arduino sketch that services the OpenBCI board to get the EEG data and then applies the FHT routines to one channel of EEG data.  Its output is configurable, but when set for use with the Processing sketch, it must output the FHT results in binary.  This was developed in Arduino 1.0.5.


* ArduinoLibraries is a collection of libraries necessary to use the Arduino sketch from above.  Put these libraries in your Arduino's libraries directory (I prefer the one that lives in "My Documents \ Arduino \ Libraries").


* FHT_spectrumPlotter is a very simple processing sketch for visualizing the FHT results that our output by the Arduino.  This was developed in Processing 2.0.3.  Do not use Processing 2.1 until they fix its Serial library.




Source: README.txt, updated 2013-11-14