I was wondering is there a need to set some flag in the firmware or send a command for enabling the accelerometer functionality?
As far as I could tell from the firmware code, the accelerometer is suppose to be on by default. However, the data in the log that followed the EEG data is zero. Any idea?
Here is some data
%First Column = SampleIndex
%Other Columns = EEG data in microvolts followed by Accel Data (in G) interleaved with Aux Data
There is a boolean variable that controls if the accelerometer is being used in the OpenBCI library.
It's called 'useAccel'
it is addressed int the 8bit code in the setup() and in the 32bit code inside a function called startFromScratch()
OBCI.useAccel = true;
Please check to see that this is correct in your code.
Also, when you run the GUI at the beginning the OpenBCI Board sends out all of the register settings for the ADS IC and the Accelerometer. You can check this also with any terminal (Arduino IDE and mpide both have a terminal window) make sure that the baud rate is set to 115200, and after the terminal opens sent a '?' with no line ending. You will see the register settings scroll down the terminal screen. The accelerometer registers should look like below. If you don't see these values, there may be an issue with your accelerometer.
I'm using 8bit board. I just downloaded to the board a fresh firmware and made sure that "OBCI.useAccel" is set to true.
I get the same results. Very strange, the accelerometer is not sensitive at all to movements. I noticed that chip checked it awhile ago, I wonder if someone here checked/verified it recently?
I'm using 8bit OpenBCI and I'm trying to make sense of the accelerometer data that I receive. I have been struggling with it for several days now in vain.
I'd like to know if one of you could please confirm that OpenBCI's accelerometer works as expected? It would be much appreciated if one of you could check the log when OpenBCI board is fixed on the table without any movement and report on the values that are recorded in your OpenBCI's log.
I get really strange data even if the accelerometer is fixed on the table without any movements at all. I did see chip post regarding this sensor but I get very different results than what he has described.
Accelerometer values are the last three comma separated numbers. X, Y, Z.
This was recorded with the board sitting flat on the table, so the 0.98 in the Z direction shows the force of gravity.
@Mike, I can see that your accelerometer is showing that it is alive and set correctly by the register map, but your returned values are not looking good. I will run another test here. I think I have an older version of the GUI in my computer.
Comments