SmartPhoneBCI

A BCI under £20 that can be used with your phone



The Project

The motivations


Read More

Software

Drive your android phone

Go To Repo!

Hardware

Drive your head
and read about the v0.1 kit

Go To Repo!

Team

The People behind the project.


See Them


Project Overview

Powered by NeuroTech X


Motivation

The project was born with the idea of designing a workshop for participants to build their own 2 electrode EEG reader and connect it to a phone at EMF camp for around £20.

The first draft of what we aimed to have was:

What we have

We have managed to design a circuit that reads a bipolar EEG signal and sends it to a smartphone (Just an android at the moment) which reads signal and shows some info, not real BCI yet... but we're working on it!

EEG signals are very difficult to work with as they are very noisy and of low amplitude. Also, the interesting bits live in the range of around 4Hz to 32Hz (depending of what you want to do with them) and the smartphone sound card will ignore everything below 20Hz, which complicates the thing a bit more.

What our circuit does in a nutshell is:

  1. Amplifies the signal that comes from the electrodes so we work with it
  2. Modulates the acquired signal using amplitude modulation and sends it to a smartphone via the jack bypassing the frequency restriction of 20Hz

In order to have more details of the circuit visit the hardware repo. We have made publicly available the circuit design and the PCB for your enjoyment.

The circuit needs to be paired with an app or driver (or programme as it can ported to "perfectly" run in computer). This app needs to send the carrier signal that piggybacks the EEG signal and then perform a frequency analysis so we can extract the features of the original EEG signal. There is an example of an android app that does this whole process in the software repo .

The app is under heavy development and right now just offers:

The code needs to undergo some refactoring and implement some more cool functionality.

Ryan Lintott is working on a Unity-based SSVEP app that hopefully will work in all supported platforms (namely iOS, Android, Windows, OSX and Linux).


The Hardware

Kit v0.1

Each v0.1 kit should contain:

  • 1x PCB
  • 1x 9V battery
  • 1x croc clip (for SHLD)
  • 1x jumper wire (for SHLD)
  • 1x 1m 3.5mm male-to-male audio cable (to attach phone to PCB)
  • 3x electrodes (for A, B, COM)
  • 2x alcohol swabs (to clean skin, electrodes following use)
  • 1x resealable bag (to store Ten20 conductive gel)
  • 1x bathing cap (separately)
  • kitchen foil (separately; to SHLD electrodes)
Please check your kit before assembly/use​. You'll need a knife to cut the electrodes and a small flat head screw driver to connect these cables ...

Assembly

  1. Check if your kit is complete :)
  2. Braid/twist the three electrodes to reduce independant interference. Leave 20cms at the electrode end to allow flexible placement.
  3. Cut the three electrodes at the connector (not at the electrode) to a length that allows you to hold your PCB and phone comfortably while having the electrodes connected to your head
  4. Strip the clipped ends
  5. Tightly wrap the braided part of the electrodes in tin foil to further reduce signal interference
  6. Attach the croc clip to the tin foil
  7. Attach the jumper wire to the croc clip and the SHLD terminal on the PCB
  8. Connect the electrodes to the screw terminal:
  9. A 1st electrode to scalp
  10. B 2nd electrode to scalp (order unimportant)
  11. COM ground to ear lobe or mastoid (if measuring from back) or middle of forehead (if from front)
  12. Ensure your phone is not connected to mains (aka charging)
  13. 3.5mm Audio Cable into the audio jack of both PCB and Phone
  14. NB. Audio Cable can be temperamental - you might have to check with a pair of speakers
  15. Connect the battery
  16. Your hardware is now assembled \o/

Version 0.1

The Software


APK

Ok, so far this is for Android only. There's an APK for download somewhere, I'm sure of it. Propably a good idea to check the github repo

Sanity Check

After assembling the hardware, install the APK and connect the kit to do a sanity check:


Experiments

Placing the electrodes using the 10-20 system:


Experiments with the completed kit:

The Team


The team is composed by an amazing and heavily heterogeneous group of people that have voluntarily contributed in many different ways. This project would not have been possible without input and help from all the fellow travellers on this journey so far. In no particular order, many thanks to:

Also, we've received more support anyone could hope for from NeuroTechX and their slack as well as the London Hackspace

This is a living project and we're still looking for people to contribute in whatever way they want to, join us in our NeurotechX slack channel #smartphone-bci or in our mailing list.