Is it possible to build default ECG like app in WatchOS? - healthkit

Native ECG App in Apple Watch shows real time ecg as timeseries graph.
Is there any possible function to achive same things on ECG or PPG signal as real-time timeseries data?
As far as I found, the HealthKit libraries only supports 'calculated' numbers of HR, HRV indices... etc.

You can't get real-time data when user is taking an ECG. However, you can see time series data for an ECG that was taken by the user and saved in HealthKit. See the HKElectrocardiogram data type and HKElectrocardiogramQuery to access the voltage measurements of the ECG sample.

Related

Getting an output for each new measurment from Keithley 2400

I am working on a project where I am using a Keithley 2400 Sourcemeter to measure surface conductivity of a specific material. I have a fixed delay number (say 1000 ms) between each measurement (I am using LabTracer 2.0). For the purpose of my project I have to measure the conductivity on three different points on the surface of the specimen. In order to achieve that I am using an Arduino microcontroller which controls the circuit’s endings – three resistors on different places on the surface of the material. The Arduino board starts the process when it is being triggered by the Keithley (when the current flow starts – utilizing analogRead() )
My problem is that the delay time of Keithley is not exactly 1000 ms, and this causes out of sync phenomena.
An ideal solution to this would be if I could get an output in real-time each time a new measurement is taken by the Keithley. In that way I could use this output as a reference to whether open or close the circuit. The analogRead command is useful for the start of the circuit, as it gives an output when the current flow starts. Ideally I would like to receive another output for each new measurement.
The way I am thinking the whole process is this:
Initialization of the circuit by setting resistor_1 to OPEN
Start Keithley
Take measurement
CLOSE resistor_1
OPEN resistor_2
If new measurement is taken then:
CLOSE resistor_2
OPEN resistor_3
If new measurement is taken then:
CLOSE resistor_3
OPEN resistor_1
etc…
Any suggestions on that would be much appreciated. Thanks in advance!

Import and process real time sensor data of heartbeat in R

I am trying to build a model in R that takes real time input(heartbeat) from a sensor and perform an operation when the value of heartbeat goes beyond a baseline value. Is there way to get the real time data from sensor in R directly or indirectly?
I will use Windows server 2008 R2 with 32 GB memory and 12 cores. I am planning to use data(total 3 bytes, 1 for unique ID and 2 for data) from watch that I custom designed and process that into R. Basically send a notification(email) to user when his/her heartbeat goes beyond a baseline value. Can this be possible in R? Can the input data be received in real time in R in any way or form? What other languages/platform do you recommend for this kind of project?
Any recommendation for databases(AWS, oracle, Apache...) to use for data collection?

Organizing bluetooth LE services

I'm using bluetooth LE to stream some pressure sensor data, along with an inertial motion unit data.
The IMU sensors need self-calibration to provide useful data. Some example of the calibration is moving it in a 8-figure path, or lay it down still for about 1 second. The IMU provide data, along with the calibration level (uncalibrated -- partially calibrated -- totally calibrated).
I currently stream pressure sensor + IMU data through a single service. Where should I put the IMU calibration data? In a different service, or a different characteristic?
Ideally, I want to be able to check the calibration level, perform the self-calibration, and then will start recording real data.
I would suggest you use one service and different characteristic.
Actually on Bluetooth SIG there is are many similar BLE profiles which may same with your requests, you may refer them.
There was an ongoing profile named TPMS but not adopted yet.

Can you develop an app for the Microsoft band, without a corresponding mobile app always being connected?

I have several Microsoft bands, to be used as part of a group health initiative. I intend to develop a single app on a tablet which will pull the data from the bands. This will be a manual process, there will not be a constant connection to the tablet and no connection to Microsoft Health.
Does anyone know if this is possible?
Thanks
Emma
The general answer is no: Historical sensor values are not stored or buffered on the Band itself.
It does however depend on what sensors you are interested in. The sensor values are not buffered, so you can only read the current (realtime) value of the sensors.
But sensors such as pedometer and distance are incrementing over time, so these values will make sense even though you are only connected once in a while. Whereas for, e.g., the heart rate and skin temperature, you will only get the current (realtime) value.
So it depends on your use case.

How is time distrubuted as part of NITZ

I am trying to understand the time distribution in GSM using the NITZ (Network Identify and Time Zone). Is there any documentation around this feature? I am trying to find which component (HLR,MSC,BSS etc) is involved in the time distribution before the Android phone can use the time from the network.

Resources