I was reminded of this for a project i wanted to do for a class (instructable coming soon ;-)), and i also found a "Star Wars force trainer" on amazon for 30 bucks.
Here is the simple step by step instructions on how to turn a force trainer into a working EEG you can see with your computer.
special thanks to frontier nerds for the initial code and the hack of a similar toy.
Remove these ads by
Signing UpStep 1: What you'll need
- Star Wars Force Trainer toy
- A computer running processing and the arduino development enviroment
- solid core wire
- basic soldering supplies











































Visit Our Store »
Go Pro Today »




BrainTest:9: error: 'Brain' does not name a type
BrainTest.pde: In function 'void loop()':
BrainTest:26: error: 'brain' was not declared in this scope
BrainTest:34: error: 'brain' was not declared in this scope
Ok so I originally get the 11 values when I first turn on the Force Trainer headset, however then I can only get the Attention, Meditation, and Connection Status information. Interestingly, if I turn the headset on and off continuously, the Brain Serial Output (Arduino Serial Monitor) shows 11 values again and again. It seems that after the initial check only 3 values are sent. Can you confirm? here's the pic of my hardware mod."
I'm having the same problem and I already made my own program using the brain.cpp functions and it cant get me the values. I thought maybe I damaged the eeg chip when i was soldering it, but I just put all the pieces together and check if the toy was working properly and it was. Also, I start my own serial reading code and I'm getting serial numbers, but I just need a reference to interpret correctly the data.
I would appreciate if somebody know how to solve the problem with the original code. It would save a lot of my hobby time
Hey , it says serial does not run in 64 bit mode when i try to play it, suggestions???
It seems to me it would be easier to build your own EEG than to try to modify the Mindset to accept multiple electrodes.
I've stuck the Mindset to other parts of my scalp, which is awkward because of the armature, and tend to just get squirrely results and poor signal.
I just wouldn't use it while taking abath licking an extension chord and making toast. Geez with these safety finatics these days we will soon have to install bumbers and airbags on our kids to keep them from getting hurt by playing together..somewhere you just got to come to terms we will all eventualy get it, untill then have fun..Kudos with the proj!
http://morloklabs.blogspot.com/2011/12/mindflex-duel-hacking-conversion-50hz-y.html
Being a PIC micro person myself, I was inquiring what the baud rate is - 9600, 8 data, 1 stop bit???
YAG
[0] "200"
[1] "0"
[2] "0"
Does anyone have any info on this problem? Any info would be great!
BrainSerialOut.cpp: In function 'void loop()':
BrainSerialOut.pde:-1: error: 'class Brain' has no member named 'update'
I keep getting this error in Arduino and I don't know what it means. Please help?
Thanks you~
serial = new Serial(this, Serial.list()[0], 9600); please help!
Thanks
So I have a properly hacked headset and the graph program works on my computer. However, when I connect the headset to my computer, only attention and meditation give values. The other columns of the graph remain empty.
Any suggestions? How can I fix it?
The GNU OpenEEG project has a fairly clear explanation and warning on this, and states unequivocally that you should never build a system that has both electrodes in contact with your head and a connection to an AC mains supply (however indirect):
http://openeeg.sourceforge.net/doc/WARNING.html
It's not only that the EEG electrodes could potentially electrocute you if you made an amazing mistake, but (much more likely) that if you happened to electrocute yourself via AC mains in some other way while wearing the EEG, then the AC current would be highly likely to travel through your brain on its way to ground via the EEG system. That would be very bad.
You'll find an abbreviated version of this warning in the hardware hack instructions by the author of the Arduino Brain Library: http://frontiernerds.com/brain-hack
A friend of mine makes an Arduino variant with built-in Zigbee communication capabilities that might be a good substitute for this application, allowing the EEG measurement circuit to be battery-powered and wireless, although I have not investigated thoroughly: http://www.logos-electro.com/zigduino/
A much quicker fix is to only use this system with a laptop (that is not plugged in).
Frenzy, I think you'd be doing a favor to the community if you added these caveats to your instructable for those who don't read all the comments.
You don't really need it wireless, you can just use an isolator (which fails open, so no electrocution) for the data line, and use batteries to power the arduino. That way nothing can happen.
But then, the whole issue is really paranoia. Just because the health risk is higher when it does fail doesn't mean it'll fail more often.
I must agree, though, there is a lot of paranoia about very many of the projects listed on this sight, thanks to a lot of dubious lawsuits on commercial products, including hot Mickey D's coffee. A simple, 'Do this at your own risk' disclaimer is sufficient. Apparently the author is still around and kicking, so I wonder what the fuss is really all about. Eh?
An "at your own risk" wouldn't hold up too well against a dead person, or a vegetable, which is what you'd be dealing with in a bad situation.