Wiki

This version (10 May 2021 12:22) was approved by Rajiv Mulay.The Previously approved version (10 May 2021 12:15) is available.Diff

Python SDK

Description

The ADI Study Watch provides an object-oriented interface for interacting with ADI's VSM study watch platform. User application can use the SDK to receive complete bytes packets over a physical interface (USB or BLE) and decode it. The functionality is organized into applications, manages the sensors, system-level functionality (i.e. file system), and algorithms. The hierarchy of objects within the SDK mirrors the applications present on the device. Each application has its own object within the SDK hierarchy, which is used to interact with that application.

Brief guide on using the SDK

  • Firmware Setup - To set up firmware for the Study Watch follow the steps provided in Firmware Upgrade Guide
  • Getting started with SDK - For details click Using SDK

Sample Implementations

File Name Description
ad7156_samples.py Demonstrates the register read of AD7156 – cap sensor for touch as well as loading the configuration; It also shows how to write/read/erase device configuration block of the sensor.
adpd_samples.py Shows how the optical sensor ADPD4100 can be started for streaming and then stopped. It also highlights the various commands supported for the sensor.
adxl_samples.py Shows how the 3-axis accelerometer ADXL362 can be started for streaming and then stopped. It also highlights the various commands supported for the sensor.
bcm_samples.py Guide for starting and stopping of Body Composition Measurement application using AD5940 AFE.
ecg_samples.py Guide for starting and stopping of ECG stream application using AD8233/AD5940 AFE.
eda_samples.py Guide for starting and stopping of EDA stream using AD5940 AFE.
fs_samples.py Walks through the various functions supported by the file system on study watch.
log.py Steps to start/stop data logging to the NAND Flash and to download the logged data to PC.
multi_stream_example1.py Code implementation of ECG + every wavelength (Green/Red/IR/Blue) of the optical sensor on slots F,G,H,I + Accelerometer + Temperature.
multi_stream_example2.py Code implementation of Impedance(EDA) + every wavelength (Green/Red/IR/Blue) of the optical sensor on slots F,G,H,I + Accelerometer + Temperature. It also helps to format the EDA data to provide magnitude/phase of impedance and admittance.
pedometer_samples.py Shows the starting/stopping/subscribing to the step counting/pedometer application using the ADXL362 data.
plot.py Demonstrates how to plot and view ADXL stream data.
pm_samples.py Guide on all the system level functions such as setting the date/time, read chip IDs, system reset etc.
ppg_samples.py Demonstrates the starting/stopping/configuring of heart rate measurement application.
sqi_sample.py Demonstrates the streaming/subscribing and stopping/unsubscribing of the PPG Signal Quality Index algorithm.
temperature_samples.py Demonstrates the starting/stopping of temperature measurement application.

SDK Documentation

Documentation is located at - SDK Documentation

resources/healthcare/python-sdk.txt · Last modified: 10 May 2021 12:22 by Rajiv Mulay