Turn a Raspberry Pi into a Brain-Computer-Interface to Measure Biosignals
arxiv.org
arxiv.org
I could not separate any signal out from the noise, neither with the provided software (which ostensibly filters and bins alpha, theta, beta, and gamma waves), nor while trying to roll my own filtering. That's not to say that this isn't good work, but I think the real difficulty is in the electrode hardware. I suspect that passive electrodes are unlikely to be very useful for the hobbyist, at least not at consumer level prices, which are still quite high. Maybe there was just something unlucky about my hair/scalp, but even the ostensibly simple closed eye alpha signal eluded my measurement attempts.
It's been a year or two, I haven't kept up if there have been developments, open to suggestions! I don't trust myself to build active electrodes, a reasonably priced kit would be awesome.
Edit: https://www.media.mit.edu/posts/arnav-kapur-wins-use-it-leme...
>"The headset-like device, AlterEgo, is a sensory and auditory feedback system that uses neuromuscular signals from the brain’s speech system to extract speech. When we talk to ourselves internally, our brain transmits electrical signals to the vocal cords and internal muscles involved in speech production. With AlterEgo, an artificial intelligence agent is able to make sense of these signals and prepare a response. The user can hear the AI agent’s responses through vibrations in the skull and inner ear, thus making the process entirely internal. The AI agent can also send the information to a computer, to help an individual with a speech disability communicate in real-time."
https://www.sciencedaily.com/releases/2016/03/160311084558.h...
To be fair OpenBCI have changed business models a bit; if you're a hobbyist you might go AliExpress but a researcher with a genuine budget will probably pay the OpenBCI "premium" for the same hardware.
The other aspect not discussed is that you really want it to be battery powered and wireless if you can (safety reasons), and a raspberry pi device is going to require a lot more battery or have much less runtime.
Uh, actually if they're a soldier I'm happy to wait.
A year ago James Burton tried out some EEG devices for his project [1], and it seemed like noise filtering (funny enough he had to filter the AC frequency commonly used in UK grid) and things such as "skin moisture" affected the electrode outputs quite a bit. Is this still the case when using EEG devices, including this implementation?
Basically, an EEG picking up brainwaves is like standing on one side of a canyon and listening for whispers from your friend on the other side, and occasionally a caravan of trucks drive through. The brains electrical signal is super weak, and you have to pick up what you can from the other side of the skull by comparing voltages in different areas. The thing is, if someone raises their eyebrows, that electrical muscle impulse is enough to blow out whatever signal you were seeing. Skin moisture, the entropic and decaying nature of the universe, all that stuff is fighting against you. It’s a miracle that EEG works as well as it does for the medical purposes where it frequently provides life-saving information.
OpenBCI sells electrode caps which they claim are sufficient for sleep studies, unfortunately IIRC they are somewhat inconvenient because the electrodes require wetting and/or gel which must be applied to each electrode every time the cap is worn. I have yet to shell out the $500+ to give it a try, but that's still way cheaper than medical grade devices.
Do you know of any good resources for someone with a background in stats/ml but no neuroscience knowledge who wants to learn more as a hobbyist?
However it's really, really hard to get _useful_ data about one's sleep. The results computed by Muse are garbage. The only successful product I know is Dreem [2] but they've exited the consumer market.
At the moment, I think the easiest way is to get an ECG (yep, for the heart, not the head) and process the readings using z3score-hrv [3].
[0]: https://choosemuse.com/muse-s/
[1]: https://github.com/alexandrebarachant/muse-lsl
[2]: https://dreem.com/
[3]: https://medium.com/neurobit-technologies/clinical-grade-slee...