HRV and sp02 sensor
#11
Another option for HRV measurements would be to use external Bluetooth low energy sensors in combination with a Linux PinePhone:

https://forums.adafruit.com/viewtopic.php?f=65&t=166045

or a Linux AsteroidOS watch.
  Reply
#12
(10-11-2020, 07:41 AM)Peter Gamma Wrote: Another option for HRV measurements would be to use external Bluetooth low energy sensors in combination with a Linux PinePhone:

https://forums.adafruit.com/viewtopic.php?f=65&t=166045

or a Linux AsteroidOS watch.

Yeah, the idea is to have device that can store data, have bt turned off and gather more data for one month for example. Then I could feature this phone at emfacademy.com and other websites that review devices that are of medical purpose and emit low emf.
  Reply
#13
(07-20-2020, 11:29 AM)bigpotato Wrote:
(07-20-2020, 08:53 AM)danielt Wrote: What do you mean by a HRV sensor? In principle both PPG (optical) and ECG (electrical) sensors can be used to measure heart rate variability, although admitedly an ECG would be much more stable during exercise.

Some time ago I did find bosch sensor which would be small and low power, but I think this one I found matches these rules. It's cheap, low power, it checks for pulse and blood oxygen. https://www.banggood.com/MAX30102-Heartbeat-Frequency-Tester-Heart-Rate-Sensor-Module-Puls-Detection-Blood-Oxygen-Concentration-Test-p-1354772.html?cur_warehouse=CN

Thank you for the link I do feel the current PPG sensor that ships with PineTime may not be as accurate but I am working on HRV using pyhrv libraries and it does work you can get convert ppg to hrv with few lines of code. But the App crashes https://youtu.be/8HOqxh4lhX0 I was able to fix the crash but something with micropython Environment seems to through the code off 
  Reply
#14
(05-17-2021, 01:42 AM)Mpoint Wrote: Thank you for the link I do feel the current PPG sensor that ships with PineTime may not be as accurate but I am working on HRV using pyhrv libraries and it does work you can get convert ppg to hrv with few lines of code. But the App crashes https://youtu.be/8HOqxh4lhX0 I was able to fix the crash but something with micropython Environment seems to through the code off 

pyhrv lists a lot of dependencies: biosppy | numpy | scipy | matplotlib | nolds | spectrum .

To run this on the PineTime then you need to integrate alternative versions of these libraries or modify pyhrv to reduce it's dependencies. This link might give you a good starting point: https://hackaday.com/2019/10/29/numpy-co...ro-python/ . However it's still likely you'll have to make significant changes to the pyhrv source code.

I'd recommend getting pyhrv working on the Unix port of micropython before attempting to run it on the watch.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply
#15
How does one get wday from get_Localtime() in wasp-os ?
  Reply
#16
(06-19-2021, 02:15 AM)Mpoint Wrote: How does one get wday from get_Localtime() in wasp-os ?

get_localtime() uses the MicroPython calendar functions (http://docs.micropython.org/en/v1.9.3/py....localtime ) . The sixth field gives you the day of the week.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Blood pressure estimation from heart rate sensor wibble 8 11,445 10-15-2020, 05:41 AM
Last Post: evilbunny

Forum Jump:


Users browsing this thread: 1 Guest(s)