Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfacing ADS1299 EVM with (MMBO Board) and Arduino Uno #43

Open
rohithkumarrk opened this issue Jan 14, 2024 · 3 comments
Open

Interfacing ADS1299 EVM with (MMBO Board) and Arduino Uno #43

rohithkumarrk opened this issue Jan 14, 2024 · 3 comments

Comments

@rohithkumarrk
Copy link

Greetings !
I am developing a project of EEG Kit (8 channel) using ADS1299 MMBO board interfaced with Arduino UNO board. I have done the Code for Reading Registers and SPI works Perfectly and somewhere am able to read the Raw EEG Data. Can someone please help me to Use BrainBay and Read perfectly accurate Brain Signal using only BrainBay. Since it is one of the best Application to plot the EEG Graph.
Also what type of filters should be used and the arduino code also.
Mainly , if a pre written Arduino code is available , please provide me along with the steps to use it.
Link to ADS1299 Data sheet: https://www.ti.com/lit/ds/symlink/ads1299.pdf

Thank You

@wjcroft
Copy link
Collaborator

wjcroft commented Jan 14, 2024

Hi Rohith,

The easiest path would likely be if you 'emulated' the serial data stream used by another device already supported by BrainBay. Since OpenBCI Cyton also uses the ADS1299, using that serial format is easy.

https://docs.openbci.com/Cyton/CytonDataFormat/
https://docs.openbci.com/Cyton/CytonSDK/

In addition to BrainBay, you also have a whole range of possibilities using the Brainflow library, supported by Python, C, and other languages.

https://brainflow.org/

All your filtering should be done on the laptop, not by the Arduino, since your Uno is so low powered computation wise.

Regards, William

@rohithkumarrk
Copy link
Author

So You are suggesting me to use Cyton board by OpenBci. If this is correct , then in settings , Insert element -> Boards -> Cyton board should be my Input Source board.
Since it is a Stand Alone project and Cyton board has similar configurations to my project, will it work ?
I am a beginner and I still need some clear clarifications and details for completing this project.Please guide me .
I am using only Arduino Uno and ADS1299 as hardware and Software is BrainBay.
How do I integrate them and get the Desired waves on BrainBay ?
I shall hereby attach my mail ID : [email protected]

Thank You for the support !

@wjcroft
Copy link
Collaborator

wjcroft commented Jan 15, 2024

I already explained this including links above.

The complete source for the OpenBCI Cyton firmware (an Arduino based system) is located here:

https://github.com/OpenBCI/OpenBCI_Cyton_Library

The section in the firmware that sends the packets is here:

https://github.com/OpenBCI/OpenBCI_Cyton_Library/blob/master/OpenBCI_32bit_Library.cpp#L1586

I'm not suggesting you 'duplicate' the entire firmware source code. Only the sections needed to send the packets that BrainBay then knows how to decode.

If BrainBay device 'Cyton' does not work, try another device that you know the packet format.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants