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
Arduino with OpenVibe on Ubuntu
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Arduino with OpenVibe on Ubuntu
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
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
Re: Arduino with OpenVibe on Ubuntu
Hi jussy, I've modify that files.
To recompile I only have to launch the "linux-build" script?
Thank you
To recompile I only have to launch the "linux-build" script?
Thank you
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Arduino with OpenVibe on Ubuntu
Correct.
Re: Arduino with OpenVibe on Ubuntu
Hello, here's a simple solution:
just type
and it works correctly.
Best Regards
just type
Code: Select all
ln -s /dev/ttyACM0 /dev/ttyUSB0
Best Regards