Skip to content

Pushing data from the EEG ganglion sensor to a firebase real-time database

Notifications You must be signed in to change notification settings

vijpandaturtle/eeg-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

EEG Firebase

This repo contains a simple script for pushing data from the EEG ganglion sensor to a firebase real-time database. The pushed data looks something like this :

firebase

In this EEG setup, the electrodes are placed in a way similar to the Muse EEG headset. You can read more about the Muse headset here. You can also read about the 10-20 system of electrode placement here. The Brainflow python library is used to stream data from the BLE dongle of the OpenBCI Ganglion Board.

Reference Tutorials

  1. https://firebase.google.com/docs/reference/admin/python/
  2. https://www.freecodecamp.org/news/how-to-get-started-with-firebase-using-python/
  3. https://ahnaafk.medium.com/creating-a-neurofeedback-program-with-python-c6153022a4e7

Once you have configured firebase (auth credentials) and setup the EEG board, you can stream data by running this command.

python eeg_firebase.py --board-id 1 --serial-port "Your COM port here"

Dependencies

  1. brainflow
  2. numpy
  3. firebase_admin
  4. argparse

About

Pushing data from the EEG ganglion sensor to a firebase real-time database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages