- #Bulb for easy eeg how to#
- #Bulb for easy eeg serial#
- #Bulb for easy eeg full#
- #Bulb for easy eeg code#
Now that we have cleaned up the brain signal, we can start to interpret it. This tutorial uses Neurosky's ThinkGear™ ASIC Module, which filters out HF noise and muscle movements from the real-time brain signals, and applies custom algorithms designed by Neurosky to detect approximate levels of "relaxation" and "attention", as well as the levels of delta, theta, low alpha, high alpha, low beta, high beta and gamma waves. Commercial EEG headsets contain chips that pre-process the signal in real-time. In research experiments, the signal cleaning is done manually after the experiments, using special software. Neural oscillations can thus be classified into "frequency bands": Delta (0-4Hz), Theta (~4-8Hz), Alpha (~8-12Hz), Beta (~12-30Hz) and Gamma (>30Hz). We then do a couple of other mathematical manipulations with the data to estimate the amount of different brainwaves by frequency of their oscillations (there's not only one type of brainwave). Before the brain signal can be interpreted, we need to clean it up or "pre-process" it: filter out the noise, remove all the muscle, eye movement and blinking from the signal. When a brain signal is recorded from a person's head using EEG sensors, it picks up a bunch of information other than brain signals: muscle and eye movements from the person, and especially interference noise from that old refrigerator in the corner of the lab. Here is a great video that explains the fundamentals of EEG (University of Waterloo): By amplifying these signals through a computer, we can observe a person's brain activity in real-time. These electrodes can measure the tiny electrical changes that occur when neurons fire. How can we measure brain activity using a wearable hat?Įlectroencephalography (EEG) is the measurement of neural activity through sensors (electrodes) placed against the scalp. If you write about this project, thank you very much for sharing, and please link to this instructables tutorial. Script was adapted from the original sketch by Oggy.Įnjoy building your brainwave hat! If you know teachers or classrooms who would love to make an EEG hat, please share this project! Script was adapted from the original sketch by Liana.īrainwaves controlling the color of a blob: In this example, the real-time levels of "attention" (green) and "relaxation" (turquoise) control the color of the blob. It takes some training to get used to it! You could also control, if you wanted, the speed of the wings flapping, or the trajectory of the flight, etc. The more I concentrated, the higher the bird flew.
#Bulb for easy eeg full#
Here are two simple examples, full screen in HD for best effect!įly a bird using your brainwaves: In this example, the real-time amount of "attention" controls the vertical flight of the bird. There are endless possibilities: you can draw, write words, control moving blobs, play games.
#Bulb for easy eeg code#
To get you started, I've included in step 13 the snipet of the Processing code you will need. Then customize your Processing sketches so that the levels of "attention" and "meditation" control the sketch variables (such as color, opacity, movement, coordinates, rotation speed, etc).
#Bulb for easy eeg serial#
Simply connect the micro USB on the pompom to your computer´s USB port, and import the real-time serial stream into Processing (or wirelessly if you make the hat with bluetooth). This allows you to create live interactive "brain art" with the hat, using a programming language such as Processing. The Arduino is easily accessible via a micro USB connector hidden inside the hat´s pompom. and here's a video of the testing of the hat (before putting the LEDs into the pompom and securing the battery onto the hat yet, hence the hanging wires). All the small electronic components are hidden in the fold of the hat, so it looks and feels as though you're just wearing a comfortable beanie. Neopixel LEDs are integrated into the hat's pompom, however if you prefer you can place LEDs elsewhere on the hat, or on an accessory (for this you will need to include bluetooth). The custom Arduino firmware then converts these brain signals into light of different colors, intensities and brightness, which change according to the mental state of the wearer. To make this toy EEG device, I connected the ThinkGear ASIC Module (a chip from Neurosky which processes real-time brain activity) to an Arduino.
#Bulb for easy eeg how to#
It also demonstrates how to use the hat to control audiovisual interfaces in Processing. Ever wanted to visualize your brain activity in real-time? Move an object on a screen with your mind? This tutorial shows you how to make a recreational EEG beanie that turns brainwaves into light, using a microcontroller, LEDs and a special chip that processes brain activity.