heart rate/pulse detection with software only

Discussion in 'General Electronics Chat' started by bug13, Apr 8, 2018.

  1. bug13

    Thread Starter Senior Member

    Feb 13, 2012
    1,508
    53
    Hi guys

    Let say I want to put together a circuit with a LED and Ambient Light Photo Sensor, and I want to detect the heart rate pulse through software (in a MCU). How do I do that?

    Calculate a base line by window averaging then compare a reading to the base line to register a pulse??

    Thanks guys!
     
  2. danadak

    Well-Known Member

    Mar 10, 2018
    1,744
    357
  3. bug13

    Thread Starter Senior Member

    Feb 13, 2012
    1,508
    53
    Hi Dana

    Thanks for the links, it looks like PSoC is a good fit for this kind of application. But for me, this is a learning exercise, so I am keen to find out how to calculate the baseline, and how to do a pulse detection in software.
     
  4. Sensacell

    Moderator

    Jun 19, 2012
    1,982
    613
    Why not start by taking a whack at it by yourself?

    Your first idea sounds reasonable, start coding!

    I always do this as a mental exercise with any new problem, I ask myself "how could I accomplish this" - then go look at other people's solutions, after thinking it over.

    Helps to understand and evaluate the solutions better.
     
    bug13 likes this.
Loading...