You've Seen many cool gadgets on news like, controlling robot.
I've been pretty shaken up with that one. So after some 6 months of research, I made my own!
All the parts cost me less then 100$! Thats cool isn't it?
- 1 MindFlex - 50$ - 1 Arduino Microcontroller - Some Wires - A Personal Computer - Some time
Software & Files:
- Arduino GUI - Arduino Brain Example Code
- Soldering Iron - Hot Glue gun - Drill - Other tools (Pliers, Wire Cutters, Wire Strippers, etc.)
Well, Thats about it! Lets move on!
Step 1: Prepare your Arduino Software!
First, Make sure your arduino is connected to your computer with USB connector and
the Arduino GUI is installed.
I will assume that you already had experiance with uploading code into your arduino. If not, Check This guide!
When thats done, Open up the downloaded 'Brain' folder and click'Examples'. Then you will see 2 folders
For now, We will use the program 'BrainSerialOut'. So open the folder and Double-Click the
'BrainSerialOut.pde' file and upload it into your Arduino.
Thats all the software you will need!! :D
Helpful Notes: The 'Brain.cpp' and 'Brain.h' is a library for this program. Make sure the
'BrainSerialOut.pde' file is in the same folder with 'Brain.cpp' and 'Brain.h' or else it wont work.
Step 2: Time for hardware hacking!! - Opening your Headset
OK! Time for Hardware Hacking!!!! >:D
To hack our victim (aka Mindflex Headset), We need to open it. Well, Go get your screwdriver and start opening!
Step 3: Soldering some wires
Now our headset is opened, Examine your circuitboard and find the label named ' T '.
The ' T ' stands for Transmit. Which is the pin that sends us information.
There will be a little solder glob below the label ' T '. Solder a wire to the glob (look up for pictures!)
Once your done, solder a another wire to the ground solder glob(See picture for details).
You will have total 2 wires soldered total! Lets move on!
Step 4: Connecting wires to the Arduino
To get acess to our Headset here, what you'll need to do is to connect the wires that are coming
from the headset to the correct pin of our Arduino.
So what pin? Connect the wire that we connected to the ' T ' blob earlier to the Arduino pin RX,
and for the other wire, connect it to the Arduino Ground (I'll say it again, check out the pictures above)
Tips: The Arduino pin 'RX' stands for Receiver, which receives data from the headset.
Thats all! :D
Step 5: Test em' out!
So lets test this out!
First, connect the arduino to your computer with your USB cable. Then open up the Arduino GUI
and click the Serial Monitor (The logo thats has box with a lollipop sticking out on the top).
Attach your headset (Make sure you have batteries) and you will see bunch of data spitting out.
If it have numbers somthing like this:
0, 634, 5344, 5334, 78934, 6544, 63434, 9834, 3574, 30564, 67534
Then you have a good connection!
Step 6: Finishing it up.
Once we checked its working, Lets now finish this gadget up! I drilled a small hole in the case so the wires can go through.
Also, I used some hot glue gun to secure wires and attatch the Arduino to the headset.
The final gadget with some finishing touches are shown above.
Step 7: Understanding the data!
Now lets examine the data this thing is spitting out!
The long number this spits out can be breaked down into this:
=> signal strength, attention, meditation, delta, theta, low alpha, high alpha, low beta, high beta, low gamma, high gamma
If you dont know what is gamma or alpha or you think this is toooo hard, check out the
wiki about brain signals here! (Also check the picture above)
Now lets make our Real-Life-Application(Well, sort of)!
Step 8: Our First Real-Life-Application (Sort of)
Now lets get in more deeply! How about creating a 'Attention Analyzer'??
Open up the 'Brain' folder, navigate to 'Examples' folder. And this time, goto the 'BrainTest' folder and click the 'BrainTest.pde'.
Now upload it to your arduino!
So what does it do? Well, If the person's (who is wearing the headset ) attention goes up, the blinking of the LED goes faster.
(Mentioning about the LEDs, The LED that blinks is built-in to the Arduino so you dont have to worry about adding a LED.)
The picture shoes Arduino's built in LED that will blink in this experiment.
Step 9: So what now?So what now?
The title says that you can control anything with this gadget. Well, controlling a gadget can be break down into these steps:
Determine what brain data you will need => Examine the data by putting the headset on and thinking it => Get the data range
=> Write a Code => Make a circuit that turns the circuit ON/OFF with transisters => Connect the gdaget
I suggest that these steps can be performed by who has atleast 5 years of electronic experiance.
Brain data management to control any gadget is not easy as you think.
But for all the remaining people out there, There is some cool example programs all around the internet!
Like this cool Analyzer Program (Download Below)
Thanks for taking your time reading this instructables! God Bess!
KitschPatrol BrainGrapher.zip897 KB