Arduino with OpenVibe on Ubuntu

Obtaining data from various hardware devices
Post Reply
luighi
Posts: 16
Joined: Thu Jan 24, 2013 10:24 pm

Arduino with OpenVibe on Ubuntu

Post by luighi »

Hi all, I have a little problem.

I've built a shield for Arduino that can acquire bioelectrical signal. It is an anolog front-end based on the modularEEG project and works with the protocol supported by OpenVibe.

I'm working with OpenVibe on Ubuntu 12.10.

Unfortunately I can't link the Arduino platform with the driver on Acquisition Server of OpenVibe.
On my PC the port is know as "ttyACM0" meanwhile with OpenVibe I can choose only "ttySx" and "ttyUSBy" with x from 1 to 9 and y from 0 to 6.

How can I do to work correctly with the device?
What should I modify? On the "OpenVibe side" or on the "linux side"?

Thank you :D

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Arduino with OpenVibe on Ubuntu

Post by jtlindgren »

Hi Luighi,

at a glance, the devices displayed in the UI appear to be hard-coded to two files,

ovasCConfigurationOpenEEGModularEEG.cpp
ovasCDriverOpenEEGModularEEG.cpp

Perhaps you could modify these files to try the device names you have available, recompile, and see what happens.


Happy hacking,
Jussi

luighi
Posts: 16
Joined: Thu Jan 24, 2013 10:24 pm

Re: Arduino with OpenVibe on Ubuntu

Post by luighi »

Hi jussy, I've modify that files.
To recompile I only have to launch the "linux-build" script?

Thank you :D

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Arduino with OpenVibe on Ubuntu

Post by jtlindgren »

Correct. :)

luighi
Posts: 16
Joined: Thu Jan 24, 2013 10:24 pm

Re: Arduino with OpenVibe on Ubuntu

Post by luighi »

Hello, here's a simple solution:

just type

Code: Select all

ln -s /dev/ttyACM0 /dev/ttyUSB0
and it works correctly.

Best Regards

Post Reply