Headplot colors and Time Series
HenriqueR
Brazil
in OpenBCI_GUI
i'm developing a project with ESP32 to communicate with OpenBCI software on Serial port but i don't know the relation between the colors red and blue on headplot widget and the voltage on Time Series widget. I know that the color blue means the voltage is lower than the reference but where i can get the information on the software? I've changed the serial packet to send all values that the time series widget shows but now I need to understand the headplot colors. Can someone help me?
I have those numbers on serial port:
Comments
Hello, Henrique,
Have you looked at the description of the Head Plot?
https://docs.openbci.com/Software/OpenBCISoftware/GUIWidgets/#head-plot
The source code is available to view here,
https://github.com/OpenBCI/OpenBCI_GUI/blob/master/OpenBCI_GUI/W_HeadPlot.pde
https://github.com/OpenBCI/OpenBCI_GUI/blob/master/OpenBCI_GUI/W_TimeSeries.pde
https://docs.openbci.com/Software/OpenBCISoftware/GUIWidgets/#time-series
William
Hello, Willian. Thank you for the answer.
I'm doing that head on the picture with an ESP32, my intention is to set the leds with the color on head plot widget. I'm using serial to send data from OpenBCI to ESP32 with TimeSeriesFilt data type, but i don't know how to understand all numbers and convert it to red and blue. I know that the color blue means the voltage is lower than the reference, but the software send a package with 10 values for each channel (right?) with positive and negative values. I need to use all of then to set the color? Or how can i set both colors?
I'm using more than one led for each point (10-20 model)
The values that GUI is sending to the serial port are described here,
https://docs.openbci.com/Software/OpenBCISoftware/GUIWidgets/#networking
https://docs.google.com/document/d/e/2PACX-1vR_4DXPTh1nuiOwWKwIZN3NkGP3kRwpP4Hu6fQmy3jRAOaydOuEI1jket6V4V6PG4yIG15H1N7oFfdV/pub
The above document links clarify how the data is sent, for example with Ganglion or Cyton. Ganglion has 4 channels, Cyton (without Daisy) has 8 channels.
The code for the head plot is described in the link I previously gave you. You'll have to figure out how to do a lower resolution version of that to drive your limited arrays of LEDs. Many fewer LEDs than the pixels in the head plot.
Any updates on this project?