Gettin low pass filter into arduino sketch

are you trying to detect the T-wave of a heartbeat?

this is different that simply the max. you're trying to detect a peak where s[t-1] <= s [t] && s [t] > s [t+1]

i used feature extraction to do that in my master's thesis on Abnormal Arrhythmia detection.

1 Like

This is not an EKG Wave, its a puls wave (pleth). I need the AC Peak, so in an EKG Waves this would be the R from the QRS. But what you say to the T value is very interesting for me! I will notice it!

and how to implement that filter to code post #7 ?

I think i know how to code it, but i have a short question, how i can ad a return into my arduino sketch to get back to the top of an if and is this okay in the code? Or is it better to work with while?

now i'm curious

  • which processor are you using, because it looks like an arduino can capture just over 100 samp/sec using analogRead()?

  • do you intend to process in real-time or capture some # of samples and then process them?

  • what processing do you intend to do? what exactly are you doing? simply measuring heart rate?

This is respond to 1 sec pulse = heart rate 60 beats per minute. How this program is useful for ECG ? Probably green line is not very good solution.


It not similar to ECG plot
ekg2

This is your DC removal filter, in program you need just extract 2.5V from A0 voltage
images

1 Like
  1. ESp32 Dev.
  2. At the moment only "real time" i will google how i can save sample. Maybe FIFO?
  3. No the Heart rate i need also, but i need a lot of parameter. If you want we can speak privat > Discord or so.

Regards

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.