[REQUEST] Plugin NeuroSky Mindwave Mobile, EEG Brainwaves

Post your work in progress addons and get feedback

Post » Tue Nov 24, 2015 9:42 am

HI guys, would love some help figuring this one out.

I tried to use the Websocket to connect with ThinkGear Connector with the settings:
Host address 127.0.0.1
Port 13854
Protocol TCP

But with no luck. ThinkGear did respond but then an error after timeout.

See: http://developer.neurosky.com/docs/lib/ ... _guide.pdf

And here is link to the NeuroSky SDK:
http://developer.neurosky.com/docs/doku ... ment_guide
B
32
S
5
G
1
Posts: 72
Reputation: 3,333

Post » Wed Dec 09, 2015 12:37 pm

I've made a neuro-ski controlled game http://risingpixel.itch.io/neuro-ski with some workaround...
You can try with Clone.js http://cylonjs.com/documentation/platforms/neurosky/
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 107
Reputation: 2,889

Post » Sat Dec 12, 2015 9:44 pm

tatogame wrote:I've made a neuro-ski controlled game http://risingpixel.itch.io/neuro-ski with some workaround...
You can try with Clone.js http://cylonjs.com/documentation/platforms/neurosky/


Ah cool thanks, I will have a look ^.^

Ok, so I had a look, still a little bit confused how I would make this work within Construct 2?
Do I need to make my own C2 Plugin? Then how do I access the two EEG variables - attention and meditation?
B
32
S
5
G
1
Posts: 72
Reputation: 3,333

Post » Sun Dec 13, 2015 12:19 pm

The easiest way is to write your own js and add 2 function like
function GetAttentionValue()
{
return XXX;
}
And then get the value with ExecJS https://www.scirra.com/tutorials/940/ho ... -a-project
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 107
Reputation: 2,889

Post » Tue Dec 15, 2015 3:42 am

tatogame wrote:The easiest way is to write your own js and add 2 function like
function GetAttentionValue()
{
return XXX;
}
And then get the value with ExecJS https://www.scirra.com/tutorials/940/ho ... -a-project


Thanks, just a few questions.. Which directory do I copy the Cylon.js file? Do I need to make a C2 Plugin? Or will it just work with the addtional .js file?
B
32
S
5
G
1
Posts: 72
Reputation: 3,333

Post » Tue Dec 15, 2015 7:13 am

Add the js as an external file to project and use this plugin plugin-call-javascript_t64104 (and follow its istruction)
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 107
Reputation: 2,889


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest