Skip to content

2017年夏休み特設科目 データドリブンアート 最終課題

Notifications You must be signed in to change notification settings

XxGodmoonxX/Data-Driven-Art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Driven-Art

2017年秋学期 データドリブンアート 最終課題

チーム「どうする?明日行く?」

Motoki Watanabe (https://twitter.com/XxGodmoonxX)
Takashi Tsukasa (https://twitter.com/tsukisob)

やったこと

脳波でラジコンを動かしました。

openFrameworksのBandPowerToCarDirectionはかなり真鍋大度さんに助けていただきました。
ありがとうございました。

使い方

ArduinoとProcessingの連携はFirmataライブラリを使います。
ArduinoにはStandard Firmataを書き込んでおくと
ProcessingからArduinoを操作できます。

構成

OpenBCI→openFrameworks→Processing→Arduino

OpenBCIで脳波データのbandPowerをOSCでopenFrameworksに送り、
openFramwworksで3チャンネル、4チャンネルのα波、β波の値によって
4つのdirection(前進か、右旋回か、左旋回か、停止か)を導き出します。
そのデータをOSCでProcessingに送り、Processingからその値に応じた動きを
Arduinoに送信、ラジコンを制御します。