How to build a a mobile physiological data aquisition system with InfluxDB, the Apple watch, ECG & EEG running on a Raspberry Pi?

Last Updated on August 8, 2023 by pg@petergamma.org

We can do some experiments with this instruction:

https://thenewstack.io/getting-started-with-python-and-influxdb/

and this instruction:

  • We can to some experiments with the Stryd foot pod and see if we can get the Stryd distance in our system.
  • We can install Home Assistant on Raspberry Pi OS:
  • We can try other sensors as well which can be attached to Home Assistant, such as Fitbit, Withings and Polar Sensors, and we can see, if we can read and write sensor data with Python from those.
  • We can try to attach other sensors introduced in our journal to the system.

Then we have to wait for 10 month for the 8 channel Pi EEG:

https://pieeg.com/
  • to have ECG and EEG data from it, which we anyway want on our Raspberry Pi, why then choose OpenBCI for it?
  • The Meditation Research Institute Switzerland (MRIS) is a private project, what do we want more? For those who want it all and want it now, they can buy a device from g.tec medical, if our budget allows. We are convinced that g.tec medical can build everything for you if you have a lot of money.

Pi EEG is a new and simple platform for ECG, EEG and EMG based on Raspberry Pi developed by a researcher on the PhD. level:

https://scholar.google.com/citations?user=L8q-KSoAAAAJ&hl=de&oi=ao

and we think it is worth testing it as soon as possible to see if we can overcome the limitations OpenBCI has as far as support for WIFI, InfluxDB and expandability to more than 16 channels (based on InfluxDB) is concerned.

  • William Croft from www.OpenBCI.com recomments Bluetooth transmission from the Cyton board to the PC which runs OpenBCI GUI where the EEG signals are analysed. But Bluetooth transmission is slow and not recommended, if we are interested for instance in fast high frequency Gamma waves. But www.OpenBCI.com does not offer the Wifi shield anymore.
  • EEG devices should not be used with computers which are attached to a power source with high voltage. Some EEG devices therefore use WIFI transmission. But we can use a battery powered Rasbperry Pi with PyEEG.
  • We suppose that during the next year the Raspberry Pi5 will come on the market. Even with the Raspberry Pi 4 it is possible to run Ubuntu on it. With the Raspberry Pi, we have a powerful single board computer which offers a great diversity of operating systems which run on it. We can use a Raspberry Pi as our main computer with the PiEEG. With a battery powered Raspberry Pi, we do not need WIFI anymore to connect it to a personal computer, since our Raspberry Pi is our main computer.
  • With HackEEG it is possible to connect 4 boards together (but not with OpenBCI), as Adam Feur has shown, why should it not be possible to connect 4 PyEEGs on 4 Raspberry Pi’s together? And we think PiEEG is easier than HackEEG.

We are happy to have learned about PiEEG and it’s developer Ildar Rakhmatulin PhD:

http://pieeg.com/contact/

and about his GITHUB page:

https://github.com/Ildaro

Where he as a lot of followers. His PyEEG might be quiet simple and offers only view software options as compared to OpenBCI to this date, but we think it is worth testing what can be done with it as soon as possible.