How I develop an Android Breakout arcade game mind controlled

Searching on google with ‘Mindflex  eeg’ keyword you’ ll find a lot of interesting articles in how to modify a Mattel Mindflex game headset in a real very low cost one channel EEG device :

DIY Mindflex EEG

mod02_082307 mod515_222955
Mindflex Headset  + HC-06 Mindflex Duel Headset  + HC-06

So I bougth from Ebay an HC-06 bluetooth module for less than 5$  and  a second-hand Minflex Headset replacment  for about 15$ once, both  Mindflex and Mindflex Duel headset  could be modified.

They contains different Thinkgear  ASIC  chip version .

I bougth it from US  but I live in Italy so I had to switch nocth filter  from 60Hz to 50Hz.This is very simple in Mindflex Duel headset model only,   unsoldering a connection with a desoldering pump  (5$ in all eletronics store) and  soldering  again (solder and pond 10$ in all eletronics store) on opposite site (see pictures below) . Instead Mindflex headset comes with a notch filter driven by an SMD resistor that is really annoyng to desolder and  it has to solder in opposite site or replaced by an bigger ¼ resistor connected to ground,  little bit tricky.

Mindflex headset _50hz_notch_filter Mindflex_Duel_notch_filter
Thinkgear Mindflex Headset Thinkgear Mindflex Duel Headset

So I suggest to whom has few practice in solder and unsolder ,as I am , and  live in 50Hz countries to  buy a  Mindflex Duel headset  then It will be more simple to switch notch filter.

Connect RX, TX, VCC and GRD as showen in web tutorial  and from that point you are able to develop a driver in order to send  to Thinkgear two sequential  commands  :

First command is ‘(0x02): 57.6k baud, normal+raw output mode  and then send a ‘bit[2] (____0100): Set/unset to enable/disable raw wave’.

Thinkgear Communications Protocol

The game are based on movimg the pad using Attention eSense signal  plus some other computations but I used raw signal to develop a blink filter in order to use it like a command : when I blink eyes three times I stop/start the pad.

This is my very first prototype video, enjoy it.

A complete game It will be avaiable soon on Play store.

 

ANY EEG HEADSET MODIFICATION AND USE IT IS AT YOUR OWN RISK. MAKE SURE YOUR HEADSET IS NOT CONNECTED BY WIRE TO ANYTHING PLUGGED INTO THE MAINS.

 

 

Comments will be publish only if related to topic.