DEV Community

Cover image for Open-source algorithm for wearables in healthcare-applications
Marcus Nordström
Marcus Nordström

Posted on • Edited on

Open-source algorithm for wearables in healthcare-applications

My Final Project

The final project is a bachelor thesis developed within an initiative that aims to integrate a smartwatch for use in healthcare-applications with physical activity and physiological signals. Out contribution includes the step counting algorithm and the basic firmware for the device.

Link to Code

GitHub logo MarcusNordstrom / C-Step-Counter

Main repo for our bachelor thesis

C-step-counter

This is the main repository for the thesis Open-source algorithm for wearables in healthcare-applications made by Anna Brondin & Marcus Nordstrom at Malmö University.

Guide

This is only the algorithm. It is used in C-step-counter-test and Pinetime-zephyr.

To use it in your own project you need to:

  • Collect raw data into a CSV file formated as time(ms), X, Y, Z
  • Optimize the constants with C-optimize-variables
  • Insert the new constants into the stages.
  • Build the library with cmake or clone the repo directly into your project



Additional Thoughts / Feelings / Stories

Once the thesis is published I will add a link here
Edit:
The thesis is now published and can be accessed here.

Top comments (0)