Why do I often get Packets where the first high-order byte for the raw wave data is 0xFF (11111111)?
Why do I often get Packets where the first high-order byte for the raw wave data is 0xFF (11111111)? This is odd and it causes frequent spiking. This is clear in my serial data stream, but it doesn't appear to always show up using the BrainWave Visualizer. Am I simply reading the packet incorrectly? Does that 0xFF server a different purpose? Does the BrainWave Visualizer handling these spikes in a certain way?
The high-order and low-order byte of the raw wave value together
form a 16-bit signed two's-compliment number. When
the high-order byte is 0xFF, then the raw wave value is a negative
number.
In C, you can get the number as simply:
short rawValue = (hiByte<<8) | loByte;
In other languages, you can try:
rawValue = hiByte*256 + loByte;
if( rawValue > 2^15) {
rawValue = rawValue - 2^16;
}
-
General
-
MindWave Mobile 2
-
MindWave Mobile plus
- Won't pair MindWave Mobile plus to my computer or mobile device
- Can't get a connection with MindWave Mobile+
- How to distinguish between MindWave Mobile and MindWave Mobile plus?
- What's the difference between the old and the Mindwave mobile plus version?
- MindWave Mobile plus Quick Start Guide or User Guide
- View all (1 more)
-
MindWave Mobile
-
MindWave
-
Store
-
Applications
- Brainwave Visualizer for Mac and Speed Math for Mac aren't working in Mac OSX 10.13 (High Sierra)
- How do I use Brainwave Visualizer to record my brainwave data while listening to music in iTunes?
- What are the best programs for recording the various brainwaves (alpha, beta, gamma, etc.) using the MindWave Mobile?
- In Brainwave Visualizer's demo mode, is the headset data being used?
- What does the red "X" in the top right hand corner of the Brainwave Visualizer indicate?
- View all (31 more)
-
Science
-
Development
-
Marketing
- What are the successes in the consumer market?
- Does NeuroSky work with Universities? What kinds of projects have they done?
- In the next ten years, which kind of tools will be developed with brainwave technology?
- How did NeuroSky develop the technology and the different products?
- Will the technology help with my Traumatic Brain Injury (TBI), stroke, etc.?
- View all (3 more)
-
Sales
-
BrainLink Pro
-
Necomimi
-
MindSet