Introduction
The monitoring schemes of electroencephalogram (EEG), Electrocardiogram (ECG), Heart Rate Variability (HRV) and respiration in this post were all inspired by the Book The Body Keeps the Score: Brain, Mind, and Body in the Healing of Trauma by Bessel van der Kolk. Specifically the post deals with monitoring Heart Rate versus breathing (inhaling, exhaling) and EEG. The book outlines how such observations can be used for resetting the Autonomic nervous system (ANS) (the “limbic” brain). The ideas linked together in this post are not intended for medical use, but only as a means to better understand the technology behind some popular methods for health monitoring.
Heart Rate Variability (HRV)
Heart Rate (HR) is the easiest to monitor, you can buy a wrist band with integrated pulse-meter for as little as 10 USD. For medical purposes it is more common to use a clip for earlobes or a finger pulse meter. The latter often come with an oxymeter that simultaneously estimate the blood oxygen levels. There are numerous finger pulse-oxymeters available from a few tens of dollars and upward - including lots of online reviews. for mental health applications, however, you need a pulse-meter that you can wire together with other monitoring and thus you need a device that you can connect to a microcontroller. Some alternatives follow.
Arduino finger pulse oxymeter
The MAX30102 (MAXREFDES117#/MAXREFDES120#) integrated circuit board is a pulse-oxymeters that is intended fro use with a microcontroller. The older version of this Maxim Integrated sensor (MAXREFDES117#) is no longer produced, the later version (MAXREFDES120#) is widely available, but at a fairly exorbitant price of 100 USD. Looking a bit more I also found the MAX30102 sensor available at Bangood for less than 5 USD. The same basic sensor is also available via conrad, at around 20 USD. Also digi-key has the MAX30102 sensor type for about 11 USD.
Another alternative is MIKROE-2000, that is available for around 20 USD.
The wiring and coding, and 3D printed skeleton for a finger pulse oxymeter based on the (outdated) Maxim MAX30102 is published as an Arduino project hub. A less advances set-up, without 3D-printed finger holder, is also published at Arduino project hub.
I can not find any Arduino compatibly wiring and coding for the MIKROE-2000 sensor.
DFRobot has developed the Heart Rate Sensor SKU SEN0203, available for around 25 USD. As always, the DFRobot products are well documented and presumably of good quality. It is also available from digi-key.
Arduino Electrocardiogram (ECG) monitor
I found an ECG analog heart rate monitor sensorhttps://wiki.dfrobot.com/Heart_Rate_Monitor_Sensor_SKU__SEN0213 for Arduino made by DFRobot. it comes with a DFRobot manual and also third party Arduino wiring and coding. It is unclear what is included when you buy the product, but it is available for digi-key.
The disposable ECG Electrodes I can only find at DFrobot.
Breathing sensor
DIY Arduino: https://create.arduino.cc/projecthub/marco-polo-sauza-aguirre/breathing-sensor-1-respiration-sensor-1b18de
Using a water flow meter (YF-S201), published as science article using Arduino:
Pressure based spirometer
article on how to build a spirometer using an atmospheric pressure sensor and a microcontroller. And here is the project on GitHub. What I thin is an updated version of the same device.
Hot wire anemometer
With two sensors, one for each nostril looks like the moustache-holder that Hercule Poiroit uses. Here is another producer offering a similar device.
Using AI and wavelets
There is an article that suggest using a pulse-meter for estimating breathing, also summarised here. But as I want independent estimates I am not happy with that solution.
EEC
Neurosky mind wave Arduino project. The version of the Neurosky mind wave device used in the above project is no longer available.
Resources
Linkura - Hjärtfrekvensvariabilitet (in Swedish)
digitalhälsan - HRV träning (in Swedish)
10 Best Heart Rate Variability Biofeedback Monitors (2021 Review & Comparison) Used By Pros
The Flow chest strap tracks breathing to improve your running performance