Dual channel EEG system using PIC16F877A
Dual channel EEG system using PIC16F877A
Hi there Friends...
I am BSc student and working on my BCI project ..
I have made 2 channel EEG system and communicate it through RS232 ( USB to RS converter ) with my laptop..
I want to use openvibe software to acquire my EEG signal and to process them for further interfacing with robotic arm..
Now I have to introduce my usb driver in acquisition server rite... ?
I have thoroughly studied this link
http://openvibe.inria.fr/documentation/ ... river.html
But I want little bit more descriptions and details to get started...
So please if you people can help me in any way or give any suggestions ..
greatly thankful for the help and ideas...
I am BSc student and working on my BCI project ..
I have made 2 channel EEG system and communicate it through RS232 ( USB to RS converter ) with my laptop..
I want to use openvibe software to acquire my EEG signal and to process them for further interfacing with robotic arm..
Now I have to introduce my usb driver in acquisition server rite... ?
I have thoroughly studied this link
http://openvibe.inria.fr/documentation/ ... river.html
But I want little bit more descriptions and details to get started...
So please if you people can help me in any way or give any suggestions ..
greatly thankful for the help and ideas...
Re: Dual channel EEG system using PIC16F877A
I am doing the following
1- Download openvibe
2- Installed dependencies from SVN
3- generate files from skeleton generator for my my new acquisition driver
4- Introduced it in OvasCAcquisition Server
5- run win32-build.cmd
And got error
What wrong I am doing .. ?
1- Download openvibe
2- Installed dependencies from SVN
3- generate files from skeleton generator for my my new acquisition driver
4- Introduced it in OvasCAcquisition Server
5- run win32-build.cmd
And got error
What wrong I am doing .. ?
- Attachments
-
- cmd.png (63.13 KiB) Viewed 13761 times
Re: Dual channel EEG system using PIC16F877A
Hi BMI's and welcome on board !
It seems like the project "simple-visualisation" fails to compile because of a "missing file".
Windows cannot handle very long path, and the file it tries to access is is on a huge path in your case.
I faced this problem once, with a file I couldn't delete because its absolute path was too long (... )
In my opinion the compiler does not manage to read the file. To overcome this, unzip the source code directly in D:/openvibe/ instead of D:/openvibe/openvibe-0.11.0-svn3052-src/openvibe-0.11.0-svn3052-src/.
If this does not solve your problem please tell us !
Laurent-
Good start !I have made 2 channel EEG system and communicate it through RS232 ( USB to RS converter ) with my laptop..
I want to use openvibe software to acquire my EEG signal and to process them for further interfacing with robotic arm..
Now I have to introduce my usb driver in acquisition server rite... ?
I have thoroughly studied this link
http://openvibe.inria.fr/documentation/ ... river.html
The log message is not related to your driver or even the acquisition server. So I guess you are not doing anything wrong.And got error
What wrong I am doing .. ?
It seems like the project "simple-visualisation" fails to compile because of a "missing file".
Windows cannot handle very long path, and the file it tries to access is is on a huge path in your case.
I faced this problem once, with a file I couldn't delete because its absolute path was too long (... )
In my opinion the compiler does not manage to read the file. To overcome this, unzip the source code directly in D:/openvibe/ instead of D:/openvibe/openvibe-0.11.0-svn3052-src/openvibe-0.11.0-svn3052-src/.
If this does not solve your problem please tell us !
Laurent-
Re: Dual channel EEG system using PIC16F877A
Okay Thank you .. that solved my problem ..
Now I want to ask that Modular EEG works on COM port so if I edit ovasCDriver file of modular EEG according to my specification will it works for me.... ?
Now I want to ask that Modular EEG works on COM port so if I edit ovasCDriver file of modular EEG according to my specification will it works for me.... ?
Re: Dual channel EEG system using PIC16F877A
Indeed !
For your device the Modular EEG driver will be a good start.
I never used or implemented anything on this driver, so I won't be very helpful on the implementation details (e.g. COM port).
I guess the acquisition driver tutorial and the ModularEEG driver will be good to start with.
Laurent-
For your device the Modular EEG driver will be a good start.
I never used or implemented anything on this driver, so I won't be very helpful on the implementation details (e.g. COM port).
I guess the acquisition driver tutorial and the ModularEEG driver will be good to start with.
Laurent-
Re: Dual channel EEG system using PIC16F877A
Okay ... I changed baud rate , stopbits , flow control according to my device..
Now I start acquisition server and select modularEEG and click on connect so it says
Connection Succeed ... !
But when I clicked on PLAY , it gives error
after 5000 millisecond, did not receive anything from the driver, Timed out...
Please Help... !
Now I start acquisition server and select modularEEG and click on connect so it says
Connection Succeed ... !
But when I clicked on PLAY , it gives error
after 5000 millisecond, did not receive anything from the driver, Timed out...
Please Help... !
Re: Dual channel EEG system using PIC16F877A
So the first step is ok: the driver successfully connected to the device. In your case, I assume it simply successfully connected to the COM port.Now I start acquisition server and select modularEEG and click on connect so it says
Connection Succeed ... !
Even on my computer, without any modularEEG device plugged in, I can connect the "OpenEEG Modular EEG P2" driver given with openvibe.
When you press play, the driver asks the device for new samples. If it does not receive any sample within 5 seconds, it automatically stops.But when I clicked on PLAY , it gives error
after 5000 millisecond, did not receive anything from the driver, Timed out...
It means that nothing has been receive on the COM port on which the driver is connected.
I am definitely not a specialist of communication through COM port... But I guess you could print some debug information in the driver, to ensure that their is something behind the COM port you're connected on.
Laurent-
Re: Dual channel EEG system using PIC16F877A
Hi,
i just finnished to connect my 6 channels Modular EEG and i'm trying
to connect it to the computer.
I bought all from Olimex, with Firmware 2 (P2 packets).
I also use a serial-usb adaptator (marked as Arduino product).
Once the driver installed, i get a COM 3 virtual port over usb.
I can "connect" OpenVibe to COM 3, but when i start acquisition, i get the same 5s timeout !
"did not recieve anything from the driver"
I did try to monitor COM 3 input, and i can see that data are getting in..
the Transmission led is also blinking so we can assume that something is comming into the COM 3 port.
P2 packets are 17bytes messages, that we can clearly identify with a serial activity monitor tool..
I also checked bitrate, parity, etc.. without any success.
I got the same problem using ElectricGuru that also support Modular EEG.
I assume that it must be related to the serial usb converter,
so do you have suggestion conserning a serial - usb converter which will work ?
Which one did you use ?
Thanks !
Best regards
Thomas
i just finnished to connect my 6 channels Modular EEG and i'm trying
to connect it to the computer.
I bought all from Olimex, with Firmware 2 (P2 packets).
I also use a serial-usb adaptator (marked as Arduino product).
Once the driver installed, i get a COM 3 virtual port over usb.
I can "connect" OpenVibe to COM 3, but when i start acquisition, i get the same 5s timeout !
"did not recieve anything from the driver"
I did try to monitor COM 3 input, and i can see that data are getting in..
the Transmission led is also blinking so we can assume that something is comming into the COM 3 port.
P2 packets are 17bytes messages, that we can clearly identify with a serial activity monitor tool..
I also checked bitrate, parity, etc.. without any success.
I got the same problem using ElectricGuru that also support Modular EEG.
I assume that it must be related to the serial usb converter,
so do you have suggestion conserning a serial - usb converter which will work ?
Which one did you use ?
Thanks !
Best regards
Thomas
Re: Dual channel EEG system using PIC16F877A
Hi again,
same problem under Linux : i can connect ttyUSB0 but when i start acquisition,
i get the 5000ms timeout "nothing recieved from the driver"
when using jpnevulator i can see data comming from ttyUSB0..
so there is data but OpenVibe do not recognize it..
any help ?
Thanks
same problem under Linux : i can connect ttyUSB0 but when i start acquisition,
i get the 5000ms timeout "nothing recieved from the driver"
when using jpnevulator i can see data comming from ttyUSB0..
so there is data but OpenVibe do not recognize it..
any help ?
Thanks
Re: Dual channel EEG system using PIC16F877A
Hi MGR, welcome on the forums!
As specified in the list of supported acquisition devices the OpenEEG driver is a community driver.
I don't have any openEEG device to test and help you directly.
Do you have some C/C++ knowledge and spare time to debug the driver on your side ?
The file is [openvibe-application/acquisition-server/trunc/src/openeeg-modulareeg/ovasCDriverOpenEEGModularEEG.cpp]
I can provide you support to understand the code. The main "acquisition" principles are quiet simple; the connection, reading and writing on the port may be tricky.
Laurent-
As specified in the list of supported acquisition devices the OpenEEG driver is a community driver.
I don't have any openEEG device to test and help you directly.
Do you have some C/C++ knowledge and spare time to debug the driver on your side ?
The file is [openvibe-application/acquisition-server/trunc/src/openeeg-modulareeg/ovasCDriverOpenEEGModularEEG.cpp]
I can provide you support to understand the code. The main "acquisition" principles are quiet simple; the connection, reading and writing on the port may be tricky.
Laurent-
Re: Dual channel EEG system using PIC16F877A
[EDIT : post moved]
viewtopic.php?f=5&t=658&p=3146#p3146
viewtopic.php?f=5&t=658&p=3146#p3146