How to create EEG_hat_DIY
How to create EEG_hat_DIY
Source https://github.com/Ildaron/EEGwithRaspberryPI
Introduction
This document provides step-by-step instructions on how to create a custom Hat for measuring
electroencephalography (EEG) signals using dry electrodes, specifically designed for use with PiEEG
[1,2,3]. Creating your own Hat for measuring EEG signals with dry electrodes is an affordable and
customizable solution for capturing EEG data. This datasheet provides detailed instructions and a list of
materials needed to create your Hat, as well as information on how to assemble and use it with your
PiEEG. With this DIY approach, you can save costs and have more control over the design of your EEG
measurement system. We used available materials without any special skills or tools.
Materials
The electrodes used in this work are Ag-AgCl - Silver chloride electrodes with a hole in the center for
installation, Fig.1.
To attach the electrode to the hat, a bolt can be used, the diameter of which should be smaller than the
hole in the center of the electrode. It is necessary to use bolts with length 3-5 centimeter, washer, nut - M1,
Fig.2.
It is recommended to use Copper cables (stranded, 1-3 mm) as wires, the length is set depending on the
needs, Fig.3.
Strap can be used as hat, for example strap for Camera Mount hat. Electrodes can be located in line
international "10-20" electrode placement system, Fig.4.
a b
Fig.4. a - Camera Mount hat, b – arrange the electrodes according to the international "10-20" electrode
placement system
Instructions
Prepare cables. Strip the wires of isolation, a few centimeters, as showed in the Fig. 5.
To connect the electrode to the cap, it is necessary to take the bolt, nuts, washers, cable - 1 and the EEG
cap - 2. First clamp the cable between the nut and the bolt, then thread the bolt through the cap and fix it
on the other side with the nut, as shown in Fig.6.
The pressure of the electrode on the head is adjusted independently as far as is comfortable, the clamping
force depends largely on the cap material used, and each electrode must be adjusted manually after the
cap has been fitted.
The connection of the electrodes to the PEEEG board is shown in Figure 9. Even to measure one EEG
channel, 4 electrodes are required, 1 - the EEG electrodes themselves, 2 - the reference electrode, 3 - the
ground electrode and 4 - the bias electrode to eliminate common mode interference.
Fig.9. Scheme of connecting electrodes to the PEEG plan: 1 – EEG electrode, 2 – reference electrode, 3 –
ground electrode, 4 – bias electrode
Conclusion
This paper presents one of the simplest ways to make a cheap alternative to a hat for adjusting EEG
signals. The main advantage is the low cost. This cap is largely designed to work in conjunction with the
PIEEG board and is only intended to be a first step into the world of neuroscience. This is only an
example, the ideas proposed in this work can be improved, supplemented, and modified.
Additional Information
- Overview of dry electrodes [4]
- Additional Information Machine learning to identify alcoholism [5]
- Signal processing [6]
- Machine learning for [7]
References
1. Rakhmatuiln, I., Zhanikeev, M., and Parfenov, A. (2021). Raspberry PI Shield - for measure EEG
(PIEEG)," 2021 5th International Conference on Electrical, Electronics, Communication, Computer
Technologies and Optimization Techniques (ICEECCOT), Mysuru, India, 2021, pp. 410-413, doi:
10.1109/ICEECCOT52851.2021.9707969
2. Rakhmatulin, I., Sebastian Volkl, S. (2021). PIEEG: Turn a Raspberry Pi into a Brain-Computer-
Interface to measure biosignals. arXiv:2201.02228, https://doi.org/10.48550/arXiv.2201.02228
3. Rakhmatulin, I., Sebastian Volkl, S. (2021). Brain-Computer-Interface controlled robot via
RaspberryPi and PiEEG. arXiv:2202.01936. https://doi.org/10.48550/arXiv.2202.01936
4. Rakhmatulin, I.; Gan, Y. Review Dry and Non-Contact EEG Electrodes for 2010-2021 Years. Preprints
2021, 2021030555. https://doi.org/10.20944/preprints202103.0555.v1
5. Rakhmatulin, I. (2021). Deep learning and machine learning for EEG signal processing on the example
of recognizing the disease of alcoholism. Medrxiv. doi: https://doi.org/10.1101/2021.06.02.21258251
6. Rakhmatulin, Ildar, Review of EEG Feature Selection by Neural Networks (August 17, 2020).
International Journal of Science and Business, Volume 4, issue 9, 101-112, 2020 DOI:
10.5281/zenodo.3987894, ISSN 2520-4750 (Online) & ISSN 2521-3040 (Print), Available at SSRN:
https://ssrn.com/abstract=3675950 or http://dx.doi.org/10.2139/ssrn.3675950
7. Rakhmatulin, I. (2021). Progress in neural networks for EEG signal recognition in 2021.
arXiv:2103.15755. https://doi.org/10.48550/arXiv.2103.15755