Skip to content

What is more exciting than a brain-controlled helicopter battle against two people? We only need two brains, one OpenBCI board, one Arduino board, two digital potentiometers, and two toy helicopters. Are you ready for this?

License

Notifications You must be signed in to change notification settings

irenevigueguix/OpenBCI_GUI_Alpha_Power_Battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

OpenBCI GUI Alpha Power Battle

variant of OpenBCI GUI that uses strength of alpha wave to control two helicopter throttles with one board and two players that can compete against each other.

Take the entire OpenBCI_GUI folder and put it in your

Documents/Processing

folder. If you already have an OpenBCI_GUI and don't want to over-write it, create a subfolder in the Processing folder called 'copter control' for this one to live in.

Take the entire 'CopterControl' folder and put it in your

Documents/Arduino

folder.

The throttle control code is in the Processing sketch tabs 'EEG_Processing' and 'Helicopter'. The GUI already has a peak detection, so I look to see if the peak is in the alpha range. If it is, and if it's strong enough against the background noise, then a character is sent out to the Arduino that controls the helicopter. The strength of the alpha wave is encoded in the characters 'A' to 'Z'. Then Processing sends the prefix '$' or '#' (depending on the channels of each player) followed by the character code. Arduino gets the prefix, and then applys the next value it gets to the potentiometer. It all took about half a day of hacking on the original OpenBCI_GUI, so I'm sure there's room for improvement.

Enjoy!!

About

What is more exciting than a brain-controlled helicopter battle against two people? We only need two brains, one OpenBCI board, one Arduino board, two digital potentiometers, and two toy helicopters. Are you ready for this?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages