Issues with V2 firmware and lead off detection
Hello.
I uploaded the version 2 of radios and board code (example "DefaultBoard") and the signal seems to be streaming ok (I just tried with open leads, not acquiring EEG signal).
However, I wanted to send the lead off detection signal by default (FS/4 Hz). In the previous version I could do it (writing on the setup() method). Now, when I implement a similar solution, what happens is:
- When I execute the GUI, I can only see the 50 Hz peak and not the 62.5 Hz (Fs/4)
- Then I touch the pins until the GUI freezes
- I click "Stop Data Stream"
- I click "Start Data Stream"
- The signal streams as desired (peak at 50Hz and 62.5Hz).
Do you know what might be happening here?
I tried to write the command for lead off detection in the following levels, never with the desired results:
- "setup" method, after "board.useAccel = true;"
- "OpenBCI_32bit_Library::boardBegin" method, after "boardReset();"
- "OpenBCI_32bit_Library::boardReset" method, after "configureLeadOffDetection(........);"
Thanks in advance,
João
Comments
@pushtheworld yes, that's what I was trying to do.
// Bring up the OpenBCI Board
board.begin();
// Notify the board we want to use accel data
board.useAccel = true;
// Bring up the OpenBCI Board
board.begin();
// Notify the board we want to use accel data
board.useAccel = true;
There is an open issue for this feature here https://github.com/OpenBCI/OpenBCI_32bit_Library/issues/39
To better plan this out, please tell me what information you want back from the board on that issue page. In other words, what is your work flow? We can make this an API feature.
We can allocate a stop byte for this data and send all the info in a packet or one channel at a time. Now that another person wants it, I will push to get this into 3.0.0.