Introduction

An electroencephalogram (EEG) measures electrical activity in the brain using electrodes placed along the scalp. EEGs allow researchers and clinicians to evaluate brain disorders, sleep disorders, dementia, epilepsy, and more. Commercial EEG machines can cost tens of thousands of dollars, putting them out of reach for hobbyists and students. However, with inexpensive off-the-shelf components, you can build your own simple EEG device to measure brain waves in real time.

In this guide, I will walk you through the entire process of constructing a budget EEG from start to finish using easy-to-find materials. With some basic skills in circuit building and coding, you can have your own DIY brain wave reader to experiment with brain-computer interfaces and neurofeedback applications.

Materials Needed

Building an EEG requires just a few core components:

In total, building a basic 8-channel EEG with these components would likely cost between $50-150 depending on options chosen. Many parts can be reused or repurposed from other projects, keeping costs down.

Headset Design

The headset or cap holds the electrodes in position on the head. For acceptable signal quality, careful positioning of electrodes is important.

There are 10-20, 10-10, and 10-5 systems that specify standardized electrode placements. For an easy DIY headset, a simplified 3 or 4 electrode design is recommended:

3D printing services can be used to manufacture a plastic headset with mounts for the chosen electrode sites. The headset should be adjustable to fit snugly and comfortably on the head.

Alternatively, a fabric cap with velcro straps can be sewn by hand or machine. The electrodes can be sewn into the cap or attached with snaps or velcro. Elastic bands help apply gentle pressure to keep electrodes in place.

Amplifier and Filter Circuit

The small electrical signals from the brain need to be amplified before they can be processed by the microcontroller.

An instrumentation amplifier is ideal, providing high gain while rejecting noise. The INA128 is a common choice, or you can build an instrumentation amp from op amps like the TL072. A gain of 1000x or higher is recommended.

Next, passive filters help isolate the frequency bands of interest:

First order RC filters with appropriate cutoff frequencies can be constructed using resistors and capacitors. Active filters with op amps can also be implemented for better performance.

The amplified and filtered analog signal can then be digitized by the microcontroller's ADC.

Microcontroller and Software

The Arduino is a classic choice for DIY EEG projects thanks to its ease of use and extensive documentation. The analog inputs can sample the filtered amplifier output. Apply the right resistors as voltage dividers to match the Arduino's 0-5V input range.

For better resolution, the Raspberry Pi has up to 18 bit ADCs available. Install Raspbian, then read the ADC with Python scripts. NumPy, SciPy, Matplotlib allow for signal processing and real-time plotting.

Open source software like OpenBCI can be leveraged. It handles the filtering, visualization, and data logging for EEG signals out of the box. Their Ultracortex Mark IV is an Arduino-based design you can replicate or modify.

Experiments and Applications

Once built, what can you do with a DIY EEG? Here are some fun experiments to try:

Building your own portable EEG unlocks tons of possibilities for exploring brainwaves. With an understanding of the basic electronics and software involved, anyone can move from idea to functional prototype quickly and affordably using DIY techniques. What will you discover with your homemade brain scanner?

Conclusion

Constructing a budget EEG system from widely available components is achievable for makers of all skill levels. With around $100-$150 in parts and some free software, you can start measuring brainwaves for innovative neuroscience projects and experiments. By following the steps outlined here for the electrodes, amplification, filtering, and microcontroller coding, you'll gain valuable insight into EEG technology while saving thousands over expensive commercial systems. Turn your ideas into reality by building your own DIY brain wave reader from scratch.