Modular Componentry for Programmatic Access
I'm looking to write a Java library for OpenBCI that will use a serial library to communicate with the mainboard over the USB/RF dongle. Don't worry, if I actually get it done (50/50 chance) I'll open source it and even submit it to the OpenBCI folk to see if they want to have anything to do with.
I'd like the API to be *something* like this:
OpenBCI openBCI = OpenBCI.init(/*optionally, some config object*/);
MyEEGListener eegListener = new MyEEGListener(); // Implements EEGListener interface
openBCI.getEEGModule().startStreaming(eegListener); // now the listener will receive & handle EEGFrames in a non-blocking event-driven manner, etc.
openBCI.getEEGModule().stopStreaming(); // sessions over!
I'm sure this API will change; maybe a little, maybe a lot.
All this to ask my main question: what different "modules" are available on the OpenBCI? I see it advertising EEG, EMG and EKG capabilities, but so far I've only been paying attention (greedily) to EEG, which is what I particularly care about. However in the OpenBCI v3 Data Format I only see EEG data between bytes 3 and 26. Bytes 1, 2 and 27 - 32 are for QoS and/or accelerometer data. I'm not seeing where EMG or EKG data are being transmitted. Can someone please tell me:
- What are all the main "modules" (or whatever the correct term is!) of the OpenBCI? I have EEG, EMG and EKG. Any others?
- For all non-EEG modules, where can I find their data protocols, so that I could read their data from the USB/RF dongle via serial port?
Thanks!
Comments
When do you expect you will be able to follow the steps of the tutorial with your hardware?
Thanks,
William
Thanks for that link on the WAF, worth quite a few chuckles.
The measurement of EEG, EKG and EMG _IS_ covered and shown in the tutorial.
Because OpenBCI was initially an EEG oriented project, that influenced the use of that term in most of the documentation. The Texas Instrument ADS1299 chip on the mainboard, is a general purpose biosignal analog to digital converter,
http://www.ti.com/product/ADS1299