Coder Social home page Coder Social logo

hybrid's Introduction

Hybrid

Hearth rate variability research using STM32F103 and MAX30100.

For a Polish description see here.

Introduction - what is HRV?

Have you known that the time between succesive hearthbeats almost never is the same? And I'm not talking about long-term changes (you start running - your pulse increases), but about very quick ones, changes you can only see measuring times between each two hearthbeats. Look at this image:

HRV plot

This plot shows how does my pulse change (red line). X-axis consists of the numbers of hearthbeat and Y-axis shows the pulse. As you can see in this case my pulse was increasing and decreasing each breath. Looks like the hearth is synchronized with the breathing. This is named cardiac coherency. Interesting? When using pulsometer you only see the yellow line - averaged pulse in some time. Well, now there's something even more interesting:

HRV comparision

Here you can see to plots. The first one is chaotic - it shows how my pulse changes during stressful situation. The second one shows the opposite - when I'm calm and relaxed.

Technical stuff

This project uses STM32F103 microcontroller (Bluepill board) and MAX30100 sensor. Software is written in bare-metal concept, using C++ and some assembly (vector table). MAX30100 simply checks how much light goes through your skin. And that depends of the blood pressure, that changes every hearthbeat. This allows us to detect pulse:

pulse detection

Now we just need to measure the time between beats and send it to pc.

hybrid's People

Contributors

moderin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.