Help me build ECG counter with AVR

Status
Not open for further replies.

gharibe_12000

Newbie level 5
Joined
Feb 28, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
hi
i want to build a counter for my ecg(ekg) final project.

i want do it whit " AVR ".

please help me !

i have a analog output in my schematic.

how can i do this?

can i do this whit " oc1a & oc1b " pins ?

tnx

( sorry about my bad english )
 

microcontroller ecg

Hi,
Basically you have to connect the analog output to a comparator with comparison threshold adjusted to mid value of QRS signal so that you get clean pulses corresponding to QRS. Now any micro can be used to compute the R-R interval or the heart rate by counting these pulses.

Regards,
 
Last edited by a moderator:

avr counter

You could sample the ECG ith the micro. And then use an qrs detection algoritm for the calculations. Use the pan & tompkins which is very good.
 

avr in ecg

hi

finaly i found a way !

i use a timer and a counter and interupts .

i create a 1 secend time ( ore biger time like 15 secend ).
enable interupts , ! when a interupts come counter increment a number .

when time is finished we have a number and can find total number .


≈≈≈:!::!::!::!:≈≈≈≈


( sorry about my bad english )



 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…