16 Commits

Author SHA1 Message Date
Gordon Williams
5cfde78b90 Bangle.js: Handle pushing events via the event queue (allows events to be queued rather than lost)
Bangle.js2: Allow HRM environment sensor data to be pushed, also add flags for disabling auto exposure and wear detect
2023-07-31 15:30:50 +01:00
Gordon Williams
21e7dd8061 Bangle.js2: Switched to proprietary heart rate algorithm (from our Open Source version). It just works better. 2023-04-24 14:55:25 +01:00
Gordon Williams
6b2cfe669b linux build for Bangle.js2 (good for testing 3 bit graphics lib) 2022-11-05 10:50:13 +00:00
Gordon Williams
478b28d080 nRF5x: Allow 'high speed' watches via 'hispeed' argument to setWatch. Higher power consumption but detects fast (<25us) pulses. 2022-05-05 12:01:19 +01:00
Gordon Williams
aa6009b0d1 Bangle.js2: Allow variable HRM poll rates on Bangle.js 2 VC31B variant
Bangle.js2: VC31 HRM variant now polls at 25hz (not 50)
2022-04-22 11:35:33 +01:00
Gordon Williams
e3bd639c03 Bangle.js2: Fix wear detection on latest Bangle.js 2 (VC31B variant) (fix #2141) 2022-04-22 09:24:10 +01:00
Gordon Williams
407dd17e09 significantly improved beat detection using peak finding *and* zero crossing 2022-01-24 15:41:32 +00:00
Gordon Williams
d4f5737b91 HRM: tweaks to use ppgOffset again, but to gradually reduce it to 0 over time 2022-01-21 11:08:53 +00:00
Gordon Williams
cdd79e3bef Bangle.js: Support for v2.1 HRM hardware (VC31 vs VC31B)
Bangle.js: Better HRM detection (higher res filtering, better peak detection, lower median filter size, better confidence)
2022-01-20 21:19:53 +00:00
Gordon Williams
eeed88771f Bangle.js2: Add HRM wear detection (LED no longer turns on if HRM not on skin) 2021-11-26 09:32:34 +00:00
Gordon Williams
2254607d8b Bangle.js: Add Bangle.setOptions({hrmPollInterval:...}); 2021-10-27 12:19:25 +01:00
Gordon Williams
3f23e98c20 Bangle.js2 VC31 improvements 2021-10-05 17:03:50 +01:00
Gordon Williams
fa09deea4a adjust VC31 scaling to reduce clipping 2021-07-27 17:02:24 +01:00
Gordon Williams
70479f35ab comments 2021-07-27 16:50:47 +01:00
Gordon Williams
c02fe9077b Revert scaling and add an offset variable to allow VC31 HRM values to fit into a more sensible range, allow HRM to work when used immediately after a load() 2021-07-27 16:46:09 +01:00
Gordon Williams
88104dcc42 commit device-specific stuff, add debug info 2021-07-09 11:43:47 +01:00