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$ <= Got mine from EBay!
- 1 Arduino Microcontroller <= Visit the official Aruino Site Here!
- Some Wires <= Duh! I got it from my old mashed up computer...
- A Personal Computer <= Everyone has it. Right?
- Some time

Software & Files:

- Arduino GUI <= Download Right Here!
- Arduino Brain Example Code <= Download at the bottom!


- Soldering Iron <= You'll need it.
- Hot Glue gun <= Not REALLY needed, but we have to secure wires right?
- Drill <= Not really needed, its used to make a hole so wire can go through the case
- Other tools (Pliers, Wire Cutters, Wire Strippers, etc.) <= This will help ya!

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.
<p>Hey which Arduino micro-controller did you used??</p>
<blockquote><strong><em>Good project but,not at all working your code full of errors.<br>Not getting response for the comments.......</em></strong></blockquote>
<p>the libraries call for a driver in the arduino called Wprogram.h and Wprogram.cpp</p><p>just change the Wprogram to Arduino so it should look like this Arduino.h and Arduino.cpp</p>
This instructable is one of many of the same hack and is only for graphical visualization. Technically one could control a device using the wired hack but one would still need to connect the gadget to the robot. Oh ya if you controlled a robot where is that part. Some people are abke to follow directions pretty well
<p>Never worked for me... My mindflex only sends 26 power signal and zero attn and med values... sometimes even 51... never drops to zero and no usable signal... :) cecked out everything from Google but with no luck... any ideas?</p>
<p>That could probably be due to the mains filter configuration (power line noise). I've had the same problem (I got 51 and even 80), but once I configured the notch filter frequency jumper to 50Hz. It worked like a charm. It depends on the region. Also unplug any device connected to mains, as this would induce power line noise.</p>
<p>yeah.. you are right... the problem is with mains voltage noise... I changed my setup... I used bluetooth to send brain data from ThinkGear and it worked like a charm... :)</p>
<p>and to <a href="https://www.instructables.com/member/kchugh" rel="nofollow">kchugh</a></p><p>you should be able to control something with ac power with a relay and the power source can come literally from a power cord</p>
<p>I was able to take this project and make a vex robot run forwards or backwards depending on how calm you are</p>
<p>Here's the same issue</p><p>The mindflex only sends 26 signal strength and zero attn and med values... sometimes even 51... never drops to zero and no usable signal.., I've tried to connect the arduino to a laptop running off batteries , used a water/salt as a conductive solution, used a link from the arduino GND to my body .. always the same , never got a signal strength less than 26 , so i'll really appreciate any suggestion or even a clarification to what can be the issue and how to fix .</p>
I habe a question can I control a hexapod with
Can I control a hexapod with SG90 servos with the MindFlex and how i didn't understand how you connect the robot with the MindFlex.<br>Could you pls explain me this pls.<br>
<p>hi </p><p>I wanted to ask some questions </p><p>1)can I control an AC motor from this gadget</p><p>2)from where can we get the power source</p>
<p>Is there a way to increase the sample rate of the packets? Maybe like one packet every 10 ms?</p>
Anybody have a pre written code that controls a gadget they could share, or would be willing to help?
Would it be possible to get the baseline reading from anywhere else other than the ears? Those ear clips do look kind of dorky. <br>My idea is to 3D print a cooler looking headset for the Mindflex pcb and sensors. More like the Force Trainer headset (which I couldn't get my hands on so I went for the Mindflex instead). <br> <br>The Force Trainer seems to get the baseline readings from behind the ears. The Mindwave seems to omit one of the ear clips at least.
can we use the mindflex headset used here instead of mindwave headset as used in this- http://blog.makezine.com/2012/03/05/make-a-mind-controlled-arduino-robot/ --- <br>project....????
you can use any of the headsets, ive done it with 2, and my friend used a third. they all have T, but the data is just calibrated a little different so the values arent identical, but still totally unerstandable from one to another. that said, i dont know how the code compares for the mindflex data. try it, the y are cheaper too, no?
I already said, I'm getting a bunch of error messages. I noticed now though, there are only error messages for the libraries (Brain.h and Brain.cpp) and not the actual program (BrainSerialOut.pde) . It's fine but I need the libraries to work!
your brain.zip file isn't working. I got about a bazillion error messages when I tried verifying the sketch. and I do have the BrainSerialOut, Brain.cpp, and Brain.h documents in the same file.
and by the way, you should use spell-check. I am using this for the 3d printer contest.
pretty good. could use some work for less experienced hobbyists, but I can figure this stuff out. way better than other crap on instructables about neuroscience. overall, ***.
Hello I science your project is very nice Atlast we can see only led blinking and how can i add any object to O/P port and how can i control it?, Exaple how to connect fan in which port in arduino.
Hey man, that was a great instructable! I'm thinking about doing it but im completely unfamilliar with arduinos, yet i really would like to control electronics with my mind. I believe that you'd have to program the arduino specifically to what device you are trying to control and i have no idea how to do that. All im experienced in is programming on RobotC :/ you should make another instructable on you controlling something with your mind
I am looking for a way to make and use a BCI like this to control 'Hot Keys' for videogames (ex 1-0 on the top of the keyboard). Would this project work for that/would I need some more programs to make it work? could you point me in the right direction?
What an amazing project, your research paid off. <br>Technology like this is the next generation <br>Cheers and Thanks for the great read! <br>
Thanks. How about a video?
I hope you liked it!<br>I was thinking about that too. But I dont know :P
were can i get a cheap sensor?
I got mine from Ebay for 50$. The MindFlex comes with the whole bunch of Game consoles as a kit which makes it more expensive (since we are only going to<br> need a EEG headset). I think there is some store out there that sells the EEG headset alone. <br><br>Cheers! And thanks for taking time to read this instructable!
If you need any help, comment!!! Ill love to help!!!

About This Instructable




Bio: I love SCIENCE. The world of knowledge. If you are reading this, You TOO will love SCIENCE
More by iScience:How to Send Data by Light: Fiber Optics [Updated] Control any gadgets with your Brain! (Neurofeedback with Arduino Microcontroller) 
Add instructable to: