ppg 0.0.4 copy "ppg: ^0.0.4" to clipboard
ppg: ^0.0.4 copied to clipboard

outdated

A plugin to access a PPG sensor on WearOS devices

ppg #

A Flutter plugin to access the PPG sensor.

This plugin is a modification of sensors. I have tested it to read the PPG sensor in WearOS with both a Fossil Sport and a Fossil Gen 5 Carlyle. This plugin only supports Android. I don't know if it is even possible to read the raw PPG data from WatchOS yet. Both of the WearOS watches I tested with had the sensor com.google.wear.sensor.ppg. This plugin will detect a PPG sensor if its name contains the string ppg

Usage #

This plugin will expose PPGEvents through a Stream

Example #

import 'package:ppg/ppg.dart';

ppgEvents.listen((PPGEvent event) {
  print(event);
});
// [PPGEvent (x: [0.0, 0.0] t: 0.0)]

Also see the example subdirectory for an example application that uses ppg data.

3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A plugin to access a PPG sensor on WearOS devices

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ppg