/EEGwithRaspberryPI

Open-Source board for converting RaspberryPI to Brain-computer interface

Primary LanguageC

The easiest way to the neuroscience world with the shield for RaspberryPi - PIEEG (In progress). Open-source.

This project is the result of several years of work on the development of BCI. We believe that the easiest way to get started with biosignals is to use a shield. We will try to reveal the process of reading EEG signals as fully and clearly as possible.

Tweet

alt tag

How it Works

Connect the shield to Raspberry PI 3 or RaspberryPI4 and after that connect the device to a battery (power supply) and connect electrodes. Full galvanic isolation from mains required.
This also applies to the monitor. Use only a monitor that is powered by the RaspberryPI, as in the picture below, left. Electrodes positioned according to International 10-20 system, right.
alt tag

Device pinout

Shiled connceted with raspbberryPI only in the netxt points
43 +5V
44 GND
37 MOSI
34 MISO
35 CLKL
36 CS

Noise measure

In register Ch1 with the address 0x05 set - 0x01 for internal short circuit (via timeflux in Real-time)
alt tag​ In register Ch1 with the address 0x05 set - 00 for short circuit used the cable (via timeflux in Real-time)
alt tag​ Chewing artifact 4-3-2-1 (via timeflux in Real-time)
alt tag
Chewing artifact 8 electrodes (via timeflux in Real-time)
alt tag
Blinking artifact, after Chewing (via timeflux in Real-time)
alt tag
Blinking artifact, after Chewing. Raw data alt tag
Raw data with band-pass filter (1-40Hz) alt tag
Alpha wave detection eyes open, eyes closed
alt tag

Description of the code

Python script dont allow reading data from ADS1299 with the frequency of 250 Hz. Necessary to use .c or .cpp scripts for reading data in real-time and python for signal processing and vialuzation.

Video - Hardware and Signal processing demonstration

Software demonstrations

For beginners

During the measurement, in addition to artifacts caused by muscle activity, be concerned about the increased resistance between the body and the floor. For example, in the picture below, the moment when the feet touch the floor with and without an insulated shoe. Without insulated shoes - increased noise is noticeable alt tag

Citation

Soon will be published

Contacts

ildar.o2010@yandex.ru