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 :
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.
- https://firebase.google.com/docs/reference/admin/python/
- https://www.freecodecamp.org/news/how-to-get-started-with-firebase-using-python/
- 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"
- brainflow
- numpy
- firebase_admin
- argparse