Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I don't understand how it has anything to do with heart beat...but detecting peaks can be done by sampling your signal over a period of time and selecting the highest value in that time window
I am using a ppg sensor to generate an analog signal and by finding peaks i can calculate the heart rate.so how to detect peaks and find distance between those peaks.
1. You convert your analog signal to a digital signal with an ADC. Your ADC will have to be selected according to your desired sampling rate. For example - 10,000 samples per second.
2. You define a time window in your software during which you compare each sampled signal to the one that came before it. If it's bigger then you mark it as the biggest.
3. You do the same thing for the next time window.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.