OpenEEG
Noisebridge | About | Visit | 272 | Manual | Contact | Guilds | Resources | Events | Projects | WGs | 5MoF | Meetings | Donate | V · T · E |
Guilds (M) | Meta | Code | Electronics | Fabrication | Games | Sewing | Music | AI | Neuro | Philosophy | Funding | Art | Security | Ham | Brew | V · T · E |
Neurotech | NeurotechX | Neurotech Tuesdays | DreamTeam | Consciousness Hacking | EEG | Edit |
We're not currently meeting at any regular time. We do have a mailing list, though. Ping us there to meet up.
What is EEG?[edit | edit source]
EEG is a method of reading brain activity using electrodes on the scalp. We're currently trying to get a working setup that will enable us to measure alphaand beta waves, as well as providing a good enough resolution to collect some ERP data.
- EEG interface that uses ERP to select letters and spell words.
- Playing pong using EEG. (need to research whether this uses ERP or what cause it's cool...)
What is OpenEEG?[edit | edit source]
OpenEEG is an open-source EEG hardware design. The OpenEEG homepage has more information. Olimex has the boards available for purchase; it seems like a good reference design to use. We also have this EEG cap at the space, and we're currently working on amplifying it.
Projects being discussed[edit | edit source]
Custom EEG software: signal processing and pattern analysis[edit | edit source]
- Write code in Python using convenient libraries...
- 'SciPy - Scientific Tools for Python'
- 'NumPy - Numerical Python'
- I think it might be possible to write a gnuradio (software) signal processing block for EEG purposes - 'how to write a block'
- Machine Learning libraries that might be useful
- Don't forget Gnu Octave http://www.gnu.org/software/octave/ -- a open-source Matlab workalike
Brain Computer Interface for music[edit | edit source]
Sleep cycle monitoring[edit | edit source]
- Sleep stages can be easily monitored using EEG.
- Requires developing a minimal, rugged electrode setup.
Acoustic biofeedback for meditation[edit | edit source]
- Need to research sympathetic frequencies
Fire art using brainwave changes[edit | edit source]
- Beta waves make fire, alpha waves put it out?
Kinetic art using brain data[edit | edit source]
- Might use facial/muscular data?
Passthought[edit | edit source]
- Needs researching...
- use ERP to select off of screen?
- individual reaction to image?
- How to integrate different response for under duress?
Nerofeedback training for meditation and conscious mental state control[edit | edit source]
Hardware-Setup:
- silver electrodes with attached pieces of cotton-cloth, and a few drops of saline solution are used as first-contact with skin.
- short high-quality shielded audio cables lead to the head-box at the back of the head, which contains OpenEEG-smd-hardware
- USB connection to small linux-based WiFi-smartphone (N800) with bluetooth and WLAN
- TCP-Neuroserver forwards EEG-data as TCP-packets
- TCP-stream can be written to file, or sent to custom software
In the system described on www.meta-mind.de the brainwave-data is then mainly processed and visualized with a custom BrainBay-Preset.
Applications can be:
- innovative intuitive computer-input-device
- meditation (brainwave hemisphere-synchronization and conscious mental state control)
- Neurofeedback
- mental multi-player games: train relaxation, concentration, ability to shift mind-state consciously
There will be more documentation coming, and it would be fun to work on it together, create more working neuroheadset setups, and play multiplayer-mindcontrol-games at a workshop at Noisebridge later this year. --Rain 15:45, 28 July 2009 (PDT)
Meetup Notes[edit | edit source]
Meetings 4/16(/2018?) & 4/19(/2018?)[edit | edit source]
- On Thursday we had a brief, disorganized meeting that mostly consisted of being really excited about our new cap! It came this week.
- Also, had a new member on Thursday who's interested in using EEG for sleep study. This would be a useful direction to pursue, because it requires minimal, tough hardware, and data analysis wouldn't be too complex.
- On Sunday, almost no one showed up--we assume people will be vocal about it if Sunday meetups don't work for them? But we did talk about another new project that sounds fun: ambient acoustical biofeedback for meditation.
- A couple of our members have actually played with data at this point (see list archives, wherever those are--link anyone?) so that's progress!
Meetup the Second[edit | edit source]
- Boards - We talked about boards and amplifiers.
- The OpenEEG system has one processor board and can support up to three amplifier boards (we have one now). Each amplifier board supports two differential input channels. Jonathan doesn't think this is the critical path yet, but it might be later.
- Apparently Mitch also has a set of boards (Tracy will check?), and Jonathan may have a lead on another (pun sadly intentional).
- Jonathan volunteered to look at the serial interface from the OpenEEG processor board.
- The Cap - Rachel is going to buy the CAP100C EEG Cap Kit. Please give her your money. (Rachel, will you accept PayPal?)
- What connectors does this have?
- Facial & reference electrodes - We need to figure out how reference electrodes work with the headset.
- Our amp boards have differential input channels. We need to understand how these connect to single-ended and reference electrodes.
- Discussed facial data in Emotiv headset and adding some facial & reference electrodes to the our headset setup.
- Research implementations of the cap & sort out amplification and reference electrode setup.
- Kelly vaguely remembers something about localization using dipoles and wonders if this would be useful. Needs research.
- Enclosure - We need to set up a case of some sort and mount the boards in it with connectors. Tracy will take a lead on this. Jonathan will advise: very straightforward, just drill a few holes & solder a few leads once connectors are specified.
- We need a design decision on connectors. One-channel BNC or differential-channel mini-XLRs?
- Tracy brought a very pretty metal box. In Jonathan's opinion it's a little tight for several boards plus panel-mount connectors. Jonathan suggests a 1-U rack mount enclosed chassis if we can find an affordable one.
- Sanity check our grounding and filtering setup with EKG data since we don't have a clean electrode setup for EEG yet. Will be first step with enclosure.
First meetup: 2009-03-26 20h00 at 83c[edit | edit source]
Agenda:
- Who's here, and what are they interested in?
- What do we have available, and what do we need?
- How do we get what we need?
- Who's going to make that happen for the next meeting?
First steps[edit | edit source]
It sounds like our steps are the following:
- Assemble a set of OpenEEG boards
- Get together a set of electrodes
- Get the data into a computer
Once we've done that, let's look at heartbeats. They're big and easy to see. This is also a good first step towards bootstrapping the data analysis part.
After we've gotten good signal, we can move on to strapping the thing to people's heads and looking for brainwaves. This is where things get interesting. We can export the data and throw it over to the wacky Machine Learning meetup, we can tie it into crazy Cyborg group stuff, make, and we can use it as an input to other systems (be they security, music, or teledildonics).
Here's Jonathan's sketch of a plan, which sounds reasonable to me:
- Get a pool of OpenEEG cards. I would suggest starting with 8. Maybe several people want to "adopt" one by buying a kit and we can have a solder party. I will adopt one myself.
- Put them all in a metal box with a solid ground.
- Find someone with a 8-channel USB-audio interface for signal acquisition. These are pretty common with the musician crowd. (Sample rate is overkill, but that's OK). Anybody have one we could borrow? (Update: These may not have sufficient low-frequency response so may start with OpenEEG ADC).
- Find some good electrodes. Sanity check each channel by detecting heartbeats. (If we can't get those loud and clear, no point looking at the brain's much weaker signals.)
- Now are we ready to do EEGs. I would suggest -- nay, insist -- on a double-blind protocol, otherwise we will see results that aren't there. It's simply human nature. So get subject(s), over several trials, to say, attempt achieving an alpha state, and for a control, I don't know, read BoingBoing or something. Get a third party to randomize the order and keep track of data labels. (Might experiment with event response potentials too as long as we're all set up.)
- When you have some data, call in the geeks. I am personally expert at Fourier analysis, and have some experience with LDA (linear discriminant analysis) using SVD (singular value decomposition). I'd be happy to share what I know (including open-source tools like Octave and SciPy) and chew on the data for an evening.
- Bootstrap from there, as this may not work at all.