![]() |
HRV and sp02 sensor - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134) +--- Forum: General Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=135) +--- Thread: HRV and sp02 sensor (/showthread.php?tid=10743) Pages:
1
2
|
RE: HRV and sp02 sensor - Peter Gamma - 10-11-2020 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. RE: HRV and sp02 sensor - bigpotato - 10-18-2020 (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: 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. RE: HRV and sp02 sensor - Mpoint - 05-17-2021 (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. RE: HRV and sp02 sensor - danielt - 05-17-2021 (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-comes-to-micro-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. RE: HRV and sp02 sensor - Mpoint - 06-19-2021 How does one get wday from get_Localtime() in wasp-os ? RE: HRV and sp02 sensor - danielt - 06-21-2021 (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/pyboard/library/utime.html#utime.localtime ) . The sixth field gives you the day of the week. |