Computer mouse control using EEG brain waves

Published Jun 01, 2020
 24 hours to build
 Intermediate

Acquisition of brain signals is considered very expensive and complex due to which its abundant potential is hidden. We bring a cost effective & non-invasive Brain Computer Interface system whose application could be of controlling a computer mouse to showcase the future possibilities of the technology.

display image

Components Used

ADS1115 16Bit ADC
ADS1115 is a low-power I2C compatible 16-bit ADC.
1
ADS1015 Low Power 12bit ADC
ADS1015 is a precision, low-power, 12-bit ADC (Analog-to-Digital Converter).
1
Arduino UNO
Arduino UNO
1
Diode 1N400x
Diode 1N400x
10
TLP5212 Optocoupler
Logic Output Opto-couplers GATE DRIVER COUPLER
3
TL084 Op Amps
Operational Amplifiers - Op Amps Quad, 40-V, 5.25-MHz, 4-mV offset voltage, 20-V/us, In to V+ op amp with -40 C to 125 C operation
4
Potentiometer 10Kohms
Potentiometers 10Kohms 10% 12.5mm Cermet Element
5
Matlab
Software
1
EEG electrodes
For contact on head
3
Description

Why Brain Computer Interface?

You might have heard about brain waves acquisition as a deep medical technology, complex with hundreds of electrodes n the head of the patient. You are right if you have this info, but if you feel that it is the application in this modern world you are slightly mistaken.

Brain acquisition is basically done to study the internal actions and interactions in a human brain largely used to detect any disorders or diseases. Additionally, the more accurate results demand more expensive for those purposes.

But here we make a signal acquisition system which is non-invasive, cost effective and accurate enough to trigger/actuate the movement of a mouse cursor in the desired direction.

Start with the basics

Before we start with the steps we need to know some basics to know what we are doing. I hope you have come searching so you might be aware of certain basics of analog and digital electronics. Though not necessary, it'll help you understand the concept better. 

The whole process can be defined in these simple steps - 

  1. Signal Acquisition
  2. Signal Processing
    1. Feature Extraction
    2. Pattern Recognition
  3. Control Signal

These steps are the basics of BCI, need no to go deep into the concepts but good to have knowledge about it.

The Steps - 

  1. The necessary components need to be arranged and a person ready to test himself/herself.
  2. A good quality EEG electrodes are required (preferably gold cup/silver is also fine)
  1. Follow the circuit diagram inspired from "Low-cost Circuit Design of EEG Signal Acquisition for the Brain-computer Interface System, 2013 6th International Conference on Biomedical Engineering and Informatics (BMEI 2013)".
EEG Waves Acquisition Circuit
  1. The output of this circuit goes to the Arduino Leonardo and the following code is used to extract and display the waveform from the head.
Schematic: EEG
  1. The Circuit Simulation was carried out in NI's Multisim.
  1. Now the data is extracted to MATLAB platform for the mouse actuation.
  2. The obtained waveform in Arduino looked like -
  1. These data points are now used to map with the mouse movement of the laptop through the mouse.h library.
  2. That is it, make movements like the forehead up/down to trigger the mouse movement respectively.

Future work

The system can be developed in solely in MATLAB with TI micro-controllers for better results and accurate output. The application can also be innovative with no limits. Eg: Automated bionic arm.

 

All the best!

Write to [email protected] for any query.

 

 

Codes

Downloads

circuit bci Download
IMG-20190304-WA0006 Download
Schematic Download
waveform Download
Circuit bci multisim Download

Institute / Organization

BMS Institute of Technology
Comments
Ad