cannot get 500 or 1000 hz sample rate from Wifi Shield (or SD card)
[original thread title: "Do you release a standard configuration guide?"]
1. system: windows*.*
2.update the cyton firmware, you need arduino version *.* and chipKIT version *.* cyton firmware version *.*
3. WiFishield firmware version *.*
4.Openbcihub v*.*.*
5..Openbcigui v*.*.*
if you use last configuration, it will be good, I spend many many time for getting the higher sample rate EEG-data and I am not succeed right now.
I hope you can give me a solution, I tried many time, it is too hard, too tired, can you help me?
Comments
Thank you so much, you have been gave me many help, but really I can't get any
succeed. I want to tell you some my work in recently several months.
My goal is that I want to get higher sample rate EEG-date, I feel the 250 Hz
sample rate is not enough for me, so I want get 1000Hz or 2000 Hz sample rate
EEG-data. I have two way to get it by your guide, one is record the data to SD
card and other way is record the data by WiFishield with cyton board. First
I used the SD card to record the data, I used the Arduino(V1.8.5) to send the SDK code, the
work state is cyton board with the openbci USB Dongle connected by Bluetooth. The
step as follow:
1. 1. Send ‘ ~~ ‘to get sample rate currently, Arduino Serial
Monitor returns ‘Sample rate is 250Hz$$$’;
2. 2. Send ‘~4’, to get sample rate 1000
Hz , Arduino Serial Monitor
returns ‘Sample
rate is 1000Hz$$$’;
3. 3. Send ‘s’, to get SD card data logging for specified time
s = 15 minutes;
4. 4. Set the serial baud rate 115200 (the Serial Monitor bottom option);
5. 5. Send ‘b’, start to record the data. I found the Serial Monitor received many streaming
data and show in windows, sometime it is so fast, sometime it turn into slowly.
6. 6. I tried to send ‘s’ code after several minutes and I want to make it stop, but the
Arduino Serial Monitor can’t stop to receive the data, I wait for long time,
the streaming date stop;
7. 7. When I take off the SD card, I used MATLAB to read the EEG data, I found the data is no right, if it
is 1000 Hz sample rate, I will get about 900,000 data point, but I only get 90,000
more data point, I don’t why?
I tried many times to get the 1000 Hz sample rate data, but I am not succeed, can you
help to check it out, which step is wrong, how can I get SD card 1000 Hz data?
So get SD card data is no succeed, I decide to use WiFishield with cyton to get
higher sample date. My cyton board and WiFishield both are new. I get them in April.
So I directly make the WiFishield seat the cyton board and open Openbcihub and
OpenbcGui , but the Opengui show: no cyton board attached the WiFishield. According
to the guide, maybe I needn’t update the firmware and I did, but when I make
the WiFishield seat the cyton board, I still can’t get succeed. My step as follow,
please you check it out for me, which step is wrong.
1. 1. I make the WiFishield seat the cyton board;
2. 2. I found the openbci 5717 WiFi name and connected it; my computer connected the
Openbci 5717;
3. 3. I check WiFi and input 192.168.4.1 in the Internet browser, the page show the WiFi
Manger menu, it is working;
4. 4. I open the Openbcihub the version is V1.4.2, the latest release;
5. 5. I open the OpenbciGui and click the ‘live(from cyton)’ and click ‘wifi(wifishield)’,
it shows ‘no cyton board attached the WiFishield, but I can get the WiFishied
IP 192.168.4.1;
6. 6. I tried many times, all is fail. I read Openbci guide, maybe I need update the
firmware, so I update my WiFishiel firmware from V2.0.4 to V2.0.5, it is
succeed. Then I update my cyton board firmware, I used Arduino V1.8.5 and
chipKIT V2.0.5 and get the latest OpenBCI_32bit_Library, OpenBCI_32bit_SD, WiFi
Master Library release, my computer system is Windows 8.1, the update is
succeed.
7. 7. I make the WiFishield seat the cyton board again, then connected the Openbci 5717
WiFi, open the Openbcihub, open the OpenbciGui, click the ‘live(from cyton)’
and click ‘wifi(wifishield)’, it still shows ‘no cyton board attached the
WiFishield, but I get the WiFishied IP 192.168.4.1;
8. 8. I check some detail, the WiFishield ext pwr is on, I have taken off the USB
Dongle, all is correct.
9. 9. I tried many times, I can’t get succeed.
10. 10. So I haven’t anyway, I
tried to change the chipKIT version to renew update the cyton firmware, when I
used the chipKIT version V1.3.0 or V1.3.1 to update the cyton board firmware, I
can get the information, OpenbciGui shows: WiFishield connected the 8 channel
cyton board, but I want to start system, the OpenbciGui is no work, no start.
The hardware problem seem is solved, the software is no work. I still tried
many many times, I can’t get it .
So I have had not any way
to get it, I post a new discussion, can you give me a standard configuration,
so I can work to use the Openbci, for example:
1. system:
windows*.*
2. update
the cyton firmware, I need arduino version *.* and chipKIT version *.* cyton
firmware version *.*
3. WiFishield
firmware version *.*
4. Openbcihub
v*.*.*
5. Openbcigui
v*.*.*
DIY
to try those works, it really waste too more time, can I save some time and use in
data analyze, can I get your better suggestion? I must say: thank you wjcroft, you have been gave
me many help, but now I hope you can take some time again and help me to solve
my problem, really I like the BCI tech, I like Openbci, I hope I can get start
my researching work. Thank you!
Thank you , I have still several questions:
1. The Openbci SDK give the information: IMPORTANT! The Cyton with USB Dongle cannot and will not stream data over
250SPS. Plug in the WiFi Shield to
get speeds over 250SPS streaming. You may still write to an SD card though, the
firmware will not send EEG data over the Bluetooth radios. I want to know
how to supply power for cyton board when I plug in the WiFi Shield, Power plug
in cyton or WiFi Shield (and put EXT PWR switch on Shield to ON)? Or no
supply power for WiFi Shield, only plug in cyton board?
2.When I plug in the WiFi Shield, do I need still connect USB
Dongle for sending cyton SDK code?
3.can you offer more detail introduction about getting higher sample rate
EEG-data in tutorials?
Thank you!!
Thanks for your recommended, I am a new one, but I have a little bit programming knowledge. So I used the TCP/HTTP protocol and got the 4000Hz EEG data. But I only got 2000Hz and 4000Hz data, when I want to get 8000Hz or 16000Hz data, I found the data sitll is 4000Hz data, I don't know why? I want to know whether I need change some Parameters? For example the latency or others? I still need your some suggest. Thank you.
I used the WiFishield and SD card and get 4000Hz data, but I still can't get 8000HZ and 16000Hz data.
Next is my steps:
1. I make the WiFishield seat the cyton
board and insert SD card ( my SD card is kington);
2. Insert the USB Dongle.
3.Open the WiFishield powerful.
4.I use arduino to set SD card data logging
for specified time, I send 'L' and get return, the block count is about 1.6G
5. I use arduino to set the sample rate is
8000Hz, send '~1', and get return.
6. I open the Google chrome and input
'192.168.4.1/stream/start and get return 'ok'.
7. After 1 minutes, I input
'192.168.4.1/stream/stop and get return 'ok'.
8. I turn off the WiFishield power and take
off SD card.
9. I used matlab import the Openbci
EEG-data.
I hope you can help me to check it, do I
need add other step and get higher sample rate data?
Thank you!
Well, I tell you about my researching. I am
researching one sixth feeling phenomenon. I often feel I can send the sixth
feeling information to other people. The sixth feeling information include taste,
smelling or other feeling. Please don't ask me how to know I have the sixth
feeling and how I get know I can send the sixth feeling to other people. I only
want to let you know I can send the six feeling to other people and I am
researching it. Maybe you don't believe the phenomenon, I believe it. I can
send the sixthing feeling to arcoss the woodwall ,glass windows,air and into
other people' brain. Maybe you think that it is no true. No people have the phenomenon.
Nothing, I believe, I research. Now we have a presupposition, the sixth feeling
phenomenon is true, so I have a problem, when the phenomenon happen, what
information from my brain out and into other people, I think that it is cortex
wave, it is different with general brain wave, though I still don't know its
frequency, and I want to get it. I need highest sample rate data and research
it. I haven't more money, so I only use openbci to get more information. If I
get the sixth feeling information, I want to reverse to input brain and test
the information correct or not.
I don't know java, I know more hardware
knowledge, if I know java, I can use WiFishield to control the cyton to get the
higher sample rate information So I use
two way to get may data, cyton have cyton SDK, I can use cyton SDK to set the
SD card block count and sample rate, then I use WiFIshield to get stream data(
I can't find the WiFishield SDK to set sample rate code). So maybe you can't know
my means, it is no profession, but I can get the 4000Hz sample rate data. I
want to get more precision data because the brain information is very intricate,
so I want to get 8000Hz or 16000Hz data. Please forgive me, I ask you many
times, my researching is very special. Maybe I am only one to have sixthing feeling
phenomenon and want to be BCI tech.
I am new one, I am learning openbci, so I
have many question.