descriptionThis is a open source hardware EEG front-end. It can be battery powered and (hopefully) is small enough to be worn like a mp3-player.
homepage URLhttps://github.com/jaseg/openmind
repository URLhttps://github.com/jaseg/openmind.git
owners@jaseg.de
last changeWed, 7 Nov 2012 10:40:32 +0000 (7 11:40 +0100)
last refreshTue, 16 Apr 2024 22:33:43 +0000 (17 00:33 +0200)
content tags
add:
readme

What is it?

OpenMind is a take on an open source electroencephalograph, i.e. a device to capture "brain waves" - the tiny electrical signals your brain emits when working. By itself, the hardware can also be used as "just" a pretty high-resolution albeit slow ADC to upgrade your arduino (imagine gaining 12 bits of resolution...). I suspect that the hardware should also easily be sensible enough to directly measure muscle action potentials.

Introduction

This repository contains the third version of the hardware. This is a modular system: Each PCB can (depending on what chip you put on it and what you want to do) measure signals on one or two channels with one (absolute) or two (differential) electrodes each. The chips used are ADS129X, 24-bit ADCs with integrated AC hum filter and preamplifier with differential inputs. The ADS1291 contains one, the ADS1292 two channels. In a single-channel configuration one board is the digital equivalent of a conventional EEG's active electrode.

All these "digital active electrodes" can be connected on one SPI bus with one !CS-line per module - so a bunch of eight of them can be controlled via three SPI pins and 8 !CS pins (which themselves can be multiplexed from three pins using a small logic IC)

Files

Electrode Connections

Electrode modes

In absolute mode you connect one electrode to each channel's positive (non-inverting) input, and connect the negative (inverting) input to the reference signal (as denoted on the schematic/PCB). In differential mode you connect one electrode to each of the two inputs of each channel and the device will measure the potential between each pair.

Right-leg drive (RLD)

The RLD is an op-amp which is used to cancel out LF interference with the EEG signal. It works by continuously comparing a reference potential (normally VDD/2) with an average of all electrode signals and driving a dedicated reference electrode with the difference. This signal is very weak and thus not noticable except in the measurements. Multiple devices can be cascaded by connecting their RLD_INV pins together and powering down all but one RLD. This RLD's output signal is used to provide the reference voltage. The active RLD can be selected at runtime, and you could even select the reference electrode at runtime from any electrode connected to one of the inputs - sacrificing that one electrode.

Lead-off detection

The ADS12XX does contain a pretty neat lead-off-detection, which can be used to measure the connection of the electrode to the skin and the connection of the RLD electrode to the skin. This could e.g. be used to signify the electrodes connection status with the on-board LEDs.

Miscellaneous

The RLDIN/RLDREF signal can be routed to any of the device's electrodes (whatever that might be needed for) and/or any of the ADC inputs - so you can connect some auxiliary signal to this pin and measure it with any ADC.

The pad on the bottom side of the board is intended to be used to surface-mount type 261k or 269k 9v battery connectors (available at digikey). I did not yet physically check it, but I will as soon as I order at digikey.

To guarantee galvanic separation from mains potential and to improve the power supply noise floor for the ADCs I would recommend using a battery (rechargeable or not), radioisotope thermoelectric (or other peltier), fuel cell or other non-switching, off-grid power supply. Extra style points are given for the radioactive option.

Software/driver

The interfacing of these ADCs is pretty straightforward. A driver for AVRs currently only supporting the ADS1194 (16-bit, 4ch version) can be found at https://github.com/jaseg/OpenMind-firmware

What to do with this?

Just a bunch of ideas:

Warning

These schematics and code are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Now, the following should be obvious: Do not connect this stuff to anything alive unless you absolutely know what you are doing and do not blame me when you fry your brains with it.

shortlog
2012-11-07 jasegUpdated the READMEmaster
2012-11-07 jasegUpdated the README
2012-11-07 jasegAdded the really old stuff as a submodule
2012-10-05 jasegCleaned up a bit. Added the contact board for the activ...
2012-10-05 jasegAdded the cache .libs
2012-10-05 jasegMade the silkscreens pretty
2012-07-31 jasegAdded a folder overview to the README and oved a folder...
2012-07-31 jasegExported the 2ch-dual-shield desgin to pdf format ...
2012-07-31 jasegAdded my libraries. For the rest I still have to check...
2012-07-31 jasegSplit the project into one subdirectory for every board...
2012-07-31 jasegNamed the partslist in a sane way
2012-07-28 jasegAdded a bill of materials for modular-half-dual
2012-07-28 jasegSmall fixes. The modular-half-dual board is final now.
2012-06-08 jasegadded gerber files for the 2-channel dual layout
2012-05-26 jasegAdded split ground planes
2012-05-26 jasegFinished the two-channel dual ti afe/pure analog-arduin...
...
heads
11 years ago master
12 years ago sewable-stacked
12 years ago textile-friendly
12 years ago multichannel