experimenting with various repo .ino files, freezes after 'b'

edited March 2015 in Software
Hi Everyone,

Recently I am trying to understand the relationship between all the different OpenBCI repo. I can get some of them working by uploading Arduino code and see the result from Processing interface, but if I try to observe the data streaming process directly from Arduino it always just end up crashed.

I can see from my Arduino serial monitor it prints out "Press 'b' to begin streaming data, press 's' to stop..." after hitting on 'b' it then seems starting to stream data and basically the monitor will freezes up (will no move unless I kill the process)(pressing 's' will not stop it too).

Can anyone tell me if I am doing something wrong or should I always using Processing interface to see the outputs?

(btw can anybody tell me which Processing GUI I should be using if I would like to try this (https://github.com/biomurph/OpenBCI_8bit_HexBug) HexBug code on my Arduino? I try to upload on my Arduino but it freeze up after pressing 'b'. The Processing OpenBCI_GUI can connect with the Arduino but shows nothing on GUI)

Thank you so much for reply
-Yen

 
   

Comments

  • wjcroftwjcroft Mount Shasta, CA
    edited March 2015
    Yen, Chip @chipaudette might have some comments on your question about setting up the HexBug.

    I'm a bit unclear about your statement, "I can get some of them working by uploading Arduino code..." So that sounds like you are loading different firmwares into OpenBCI board? I'd suggest just staying with the stock / default firmware that shipped with your unit. Any other configuration found in the repo is going to be a special purpose setup.
  • Hi wjcroft,

    yes I am loading all different .ino file into my OpenBCI board from all the different repo trying to convert HexBug project into a Alpha_wave_detector. 
    the default firmware works fine, but I me trying to get the v3 OpenBCI board to work as a Alpha_wave_detector therefore I can start from there to modify some of my old project. I am still studying Chip's Alpha_wave_detector for v1 and v2 board and trying to see how it works. 

    When I look through OpenBCI_8bit_SD.ino I didn't see and function to control the analog pins (outputs) therefore I "assume" I have to load different Arduino ino and different Processing interface in order to make... 
    1. Arduino getting hardware signal and sent the signal through serial port.
    2. Processing getting the signal through Arduino and trying to match all predefined conditions, After one of the function is being triggered then send the request back to Arduino.
    3. Arduino getting the request from Processing and trigger the analog pin.

    I am really new in open hardware therefore I am so exciting to find out this awesome hardware. Please point it out for me if my thinking process is incorrect.

    -Yen  
Sign In or Register to comment.