Marion bio photo

Hi, I'm Marion

A data scientist passionate about the brain. Check out my projects on Brain Computer Interfaces & Machine Learning ♥ Twitter Google+ LinkedIn Github

I hacked a toy robot to control it with my brain:

  • If I concentrate the robot goes forward.
  • If I meditate, the robot turns left.

Here’s a little video :-)

The EEG headset I am using to analyze my brainwaves is the Neurosky Mindwave Mobile.

The remote of the toy robot - aka “The Bug” - is hacked and connected to an Arduino microcontroller. Check out Chip Audette’s blog. He has done an great job documenting how to hack the remote.

To control the robot I used these 2 simple principles:

  • Meditation produces alpha waves (frequency range: 7.5-12.5 Hz)
  • Attention produces beta waves (frequency range: 12.5-30 Hz)

So by isolating these 2 frequencies in my brainwaves, I can trigger the right signals to control the robot.

Here is the chain of events:

  • The EEG headset (Neurosky) records my brainwaves.
  • The brainwaves are analyzed on my computer to isolate the right frequencies.
  • The computer is connected to an Arduino microcontroller. The Arduino gets a specific input for each frequency detected.
  • The Arduino is connected to the robot remote (hacked).

The source code is here. Happy hacking!