Is it possible to record the raw light data from the heart rate sensor in Android Wear? I know it's possible to record the calculated heart rate in bpm, but I would like to record the raw light data.
The device I am using is the Polar M600.
This question has been asked before, but I am asking it again in case any new devices or APIs have made access to this data possible since then:
Read underlying color/light data from Android Wear heart rate sensor?
How to access Android Heart Rate Sensor RAW DATA? (reflected light, not the heart beat)
I've no idea what data is shown but on the moto360 sport you can see other information from the heartrate sensor. Using wearSensors you scroll though each sensor on the watch. See if has anything none standard, in the sport case a motorola.sensor.ppg sensor.
Related
I want to make an app that tracks a person’s heart rate and if that heart rate exceeds or is below a predefined limit the app will display a message. I know there are sensors like the accelerometer but I don’t find a sensor to track the heart rate or how to do it.
I was hoping WearOS HealthServices provide a way to fetch raw ECG samples, but ECG isn't among MeasureClient's supported DataTypes. Is there another way to obtain these readings?
GalaxyWatch4 contains "BioActive" sensor set that has electrodes for acquiring RA-LA voltage difference, so I'm wondering how to access those readings (same goes for impedance, but that is secondary rn)
Thanks in advance! :)
The Samsung Privileged Health SDK provides raw electrocardiogram sensor data.
Is it possible to reading data from accelerometer with very high sample rate? I need about an 1-2 KHZ. My sensor is can read data with sample rate 25 KHZ, but on android it reading data with 200-400 HZ sample rate. What to do?
The sample rate depends in the sensor hardware.
Most Android phones are not equipped with high frequency accelerometers.
You can check what your phone sensor supports using [getHighestDirectReportRateLevel][1] method of the sensor object.
You can also use the Sensor object you get from SensorManager to check the exact model of the accelerometer in your phone and look up its speck sheet.
I'd like to read the heart rate sensor data on an Android Wear smartwatch. The documentation makes it seem like the heart rate sensor only reports two things:
Heart rate (in beats per minute)
Either an accuracy measure or an error code
Is it possible to get the Android Wear heart rate sensor's underlying data, i.e., the amount of red light (or green or blue light) at any point in time, which it uses to determine when the heart beats?
The Instant Heart Rate app gets color data from the camera (which I know is different from the Android Wear heart rate monitor), which it uses to display a graph of the heart rate:
I'd like to do a similar thing, but with the Android Wear's optical heart rate sensor instead of with the camera. In order to make the graph, I'd need to know the level of red light at any point in time, not just the beats-per-minute measure. Does anyone know if that's possible?
This will be dependent on the manufacturer exposing the data. I agree it could be very cool. For instance, reflectance could be used to analyze spectral data, and beat to beat variability is an indicator of health... Maybe submit a request to Android site to create an API for the raw sensor data?
I have responded to a similar question here: Android Wear: How to get raw PPG data?
Essentially, I was able to record the raw PPG signal from Huawei and Fossil watches. This will let you compute things like Spo2 and HRV.
I write a simple app to read accelerometer data and I found that sampling rate is too low(even one sample 5 seconds) when I put phone on the table and keep quiet. I set sampling rate as FASTEST it's sampling rate always is high.
I want to know why and how does Android do this? I guess jni or hardware always read data but it discard data when it find there is no change between two sample.
As you can see from the documentation of the sensor listener the procedure onSensorChanged is called when the sensor changed. This means that if you hold the device still the sensor values won't change.
I have to admit that most phones add noise to sensor values and these values are always changing; you should be 'proud' of your phone - it doesn't add a lot of noise.