Actual scripts will be here , now just only Python
Easy way to the neuroscience world with a shield for Raspberry Pi. Open-source.
To Buy - PiEEG is available in the market at our partner shop Elecrow
LinkedIn for updates (Not a medical device)
It is not a medical device!!! And cannot be used for any medical purposes!!!
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.
Warnings
[!WARNING] You are fully responsible for your personal decision to purchase this device and, ultimately, for its safe use. PiEEG is not a medical device and has not been certified by any government regulatory agency for use with the human body. Use it at your own risk.
[!CAUTION] The device must operate only from a battery - 5 V. Complete isolation from the mains power is required.! The device MUST not be connected to any kind of mains power, via USB or otherwise.
Power supply - only battery 5V, please read the datasheet!!!!!
- Warning
- How it Works
- Noise Measure
- Device Pinout
- Description of Code
- Video-Hardware and Signal Processing Demonstration
- For Beginners
- Citation
- Contacts
How it Works
1.1.Read_data.c C script for reading data in real-time and saving to a txt file
1.2.Read_data.cpp C++ script for reading data in real-time and saving to a txt file
real_time.py GUI python script for reading data in real-time
robot_control.py script to control a robot by blinking
Connect the shield to Raspberry Pi 3 or Raspberry Pi 4 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 Raspberry Pi, as in the picture below, left. Electrodes positioned according to the International 10-20 system, right.
Device Pinout
Shield connected with Raspberry Pi only at the next points:
43 +5V
44 GND
37 MOSI
34 MISO
35 CLK
36 CS
Description of Code
Python script does not allow reading data from ADS1299 with a frequency of 250 Hz. It's necessary to use .c or .cpp scripts for reading data in real-time and Python for signal processing and visualization.
Video - Control Robot Toy by Blinking
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.
Citation
I. Rakhmatuiln, M. Zhanikeev, and A. Parfenov, "Raspberry Pi Shield - for measure EEG (PIEEG)," 2021 5th International Conference on Electrical, Electronics, Communication, Computer Technologies and Optimization Techniques (ICEECCOT), 2021, pp. 410-413, DOI: 10.1109/ICEECCOT52851.2021.9707969 link
Rakhmatulin, I., Volkl, S. (2020). PIEEG: Turn a Raspberry Pi into a Brain-Computer Interface to measure biosignals. arXiv:2201.02228, https://arxiv.org/abs/2201.02228