How to increase sampling rate and decrease number of channel recording for cyton?

So I want to change to 250 Hz sampling rate to 500 Hz. But I also want to keep the wireless transmission using the dongle. Therefore, I wish to decrease the number of channeling recording from 8 channel to 1 channel and change the sampling frequency to 500 Hz.

From what I understand, I'll need to go to OPENBCI_32bits_Library.cpp and change something. But I'm not sure what I need to change. Any suggestion?

Thank you

Comments

  • wjcroftwjcroft Mount Shasta, CA
    Vincent, hi.

    Have you considered just using the Wifi Shield? It will get you 500 Hz sample rate with all 8 channels.

    There is no simple mod to a source file that will achieve what you want, because there are many interactions between packet format, radio packet size, limit on radio packets per second, etc. You could devise a custom packet format with two samples per packet, etc. But then none of the OpenBCI GUI or Hub software will be able to parse your packets (without modding those as well). 

    Easiest solution is the shield. 

    Regards,

    William
  • Hi wjcroft,

    How can we change the sampling frequency when we have the Wifi shield?

    Also, with the Wifi shield, what's the max sampling rate we can have with the 8 channels setup?

    Thank you for the speedy reply!

    Best,
    Vincent
  • Hi,
    Since Wifi Shield is no longer sold on OpenBCI website, is there another way to send data from OpenBCI Cyton board to a computer/microcontroller at sampling rate higher than 250Hz? We are doing EMG-controlled project so we will need EMG data transfer in "real-time" at least at 500Hz so increasing sampling rate saving to SD card may not be a solution. We're fine with wire connection (not wireless) if possible.
    Thanks.

Sign In or Register to comment.