Continue to Site

Welcome to EDAboard.com

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.

Help me with converting pulses from seconds to minutes in PIC-based ECG

Status
Not open for further replies.

K.R

Newbie level 4
Joined
Oct 27, 2007
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
Hello guys

I've designed a circuit based on PIC16F628 that counts the heart beat of humen in beat per minut bpm, with a bad luck I've stucked in the conversion of pulses from secondes to minutes as the heart beat must be in minut.

Note: I'm using assembly language.

Could any body help or provide a full codes please.

Regards.
 

pic based ecg

If you have time between pulses in miliseconds, you can convert it into bpm according to formula:

x=60000/T_ms

T - heartbeat period in ms

but try to average time from more than one pulse to avoid disturbances.
 

pic ecg

Count the time in tens of seconds between two input pulses and use a table to convert the value into puls/minits (retlw p/m) so you have no mathematical problem
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top