Modify OpenBCI GUI to work with another hardware?

edited March 2017 in OpenBCI_GUI
Hi All,

Thank you for reading my question. I am prototyping for a course project, I start from Arduino UNO + ADS1299 demonstration kit daughter board. I uploaded the StreamRawData.ino into the Uno board, got the printed message and the register map from Serial Monitor, and streamed data. 

I then worked on modifying OpenBCI_GUI processing code downloaded from: https://github.com/OpenBCI/OpenBCI_Processing
The problem is Processing console returns "OpenBCI_GUI: serialEvent: received serial data NOT from OpenBCI." and cannot proceed.

I saw some posts say the GUI only work with OpenBCI board. But since the StreamRawData.ino worked fine for my hardware, and data stream in serial monitor had no problem, then the GUI should be somewhat similar I guess? Could you please give some suggestions and direction to go on how to modify the GUI code to work with my hardware setup? 

Thank you very much for any suggestions!!

Leon

Comments

  • edited March 2017
    I made some modifications to the StreamRawData.ino file, basically just commented all the Serial.print functions. I now get the message from processing console:

    ========================================
    Welcome to the Processing-based OpenBCI GUI!
    Last update: 2/16/2016
    For more information about how to work with this code base, please visit: http://docs.openbci.com/tutorials/01-GettingStarted
    For specific questions, please post them to the Software section of the OpenBCI Forum: http://openbci.com/index.php/forum/#/categories/software
    Graphics & GUI Library: ControlP5 2.2.2 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
    OpenBCI_ADS1299: prefered_datamode = 0, nValuesPerPacket = 8
    OpenBCI_ADS1299: a
    OpenBCI_ADS1299: b
    OpenBCI_ADS1299: i
    OpenBCI_ADS1299: openSerialPort: attempting to open serial port COM14
    OpenBCI_ADS1299: j
    openBCI: openNewLogFile: opened output file: SavedData\OpenBCI-RAW-2017-03-19_16-46-12.txt
    =====================================

    So there is the standard output text file like when I used my 32 bit board, only with no any data. And the GUI window did not pop up.



Sign In or Register to comment.