Please or Register to create posts and topics.

Help with sending data over WiFi and reading data

PreviousPage 2 of 2
Quote from PiEEG on 08.08.2024, 12:46

with the current setup for registers ads1299 in ardEEG allows receiving 250 samples per sec from 8 channels

so every second  for every channel er receives 250 values (every value has 3 bytes)

So in my script, I collect data for 1 sec (250 values for every ch), and after that move forward

Yes, it arrays  dataset_1 has the next structure = [[250 values],[250 values],[250 values],[250 values]]

So it is 250 samples per sec per channel as in 250/s * 8 = 2000 samples total? I hope I'm understanding this correctly? Which means that every second you are collecting a total of 2000*3 = 6000 bytes? So dataset_1 is an array of an array? I'll have to figure out how to do this in C++, I'm only familiar with this data structure in Python, Java and MATLAB.

Hello,

  1. No, it is not good,
    doesn't matter what happens when electrodes are not connected

    normal behavior is here - https://youtu.be/s_5mDDUFp6E  should be +-20 mkV without spikes during measurements
    If you don't use bandpass filter in can look like that https://youtu.be/SFDJ2JqtThc

    Can you just check as well scripts from GitHub and just only send data to Windows for visualization?

    about

    Also here are you saying that it is 250 samples per sec per channel as in 250/s * 8 = 2000 samples total? I hope I'm understanding this correctly? Which means that every second you are collecting a total of 2000*3 = 6000 bytes?

    not, every sec we collect only 250/s * 8 = 2000 samples tota
    in the buffer the data is collected like this
    [[ date 3 sec ago], [date 2 sec ago], [date 1 sec ago], [current date]]  and send it to band pass filter and band pass take only [current date] for graph

    the buffer is only needed for the bandpass filter, if you don’t use it then the buffer is not needed, just collect data every second and display the graph.

PreviousPage 2 of 2