Platforms

Artoo has a extensible system for connecting to hardware devices.

Neurosky Mindware


Repository Issues

NeuroSky delivers fully integrated, single chip EEG biosensors. NeuroSky enables its partners and developers to bring their brainwave application ideas to market with the shortest amount of time, and lowest end consumer price.

+ info about the Neurosky platform click here

How To Install

Installing artoo with Neurosky support is pretty easy using ruby gems.

gem install artoo-neurosky

How To Use

This small program let you get some information of the Neurosky.

require 'artoo'

connection :neurosky, :adaptor => :neurosky, :port => '/dev/rfcomm0'
device :neurosky, :driver => :neurosky, :interval => 0.1

def handle_eeg(sender, data)
  puts data
end

work do
  puts "Scanning..."
  on neurosky, :eeg => :handle_eeg
end

How To Connect

Connecting to Mindwave

OSX

The main steps are:

  • - Pair your computer and the Mindwave
  • - Connect to the device via Artoo

First pair your computer and Mindwave. You might be prompted for a passcode, if so enter '0000'.

Once paired, use the Gort´s scan command to find out your connection info:

$ gort scan bluetooth

Now you are ready to connect to the Mindwave

Be sure to update to correct port:

connection :neurosky, :adaptor => :neurosky, :port => '/dev/rfcomm0'

Ubuntu

The main steps are:

  • - Pair your computer and the Mindwave
  • - Map your device to a unix port
  • - Connect to the device via Artoo

First pair your computer and Mindwave. You might be prompted for a passcode, if so enter '0000'.

Once paired, use the scan command to find out your connection info:

$ gort scan bluetooth
Scanning ...
  00:06:66:4A:14:99 Mindwave

Next, you need to bind the Mindawave to the system port. In the above example, /dev/rfcomm0. The easiest way to do this is to use the gort bluetooth connect command:

gort bluetooth connect 00:06:66:4A:14:99 /dev/rfcomm0

Now you are ready to connect to the Mindwave

Be sure to update to correct port:

connection :neurosky, :adaptor => :neurosky, :port => '/dev/rfcomm0'

Windows

We are currently working with the Celluloid team to add Windows support. Please check back soon!

Drivers

There is only one driver for the Neurosky platform, as listed below.