Joined: 22 Jun 2008 Posts: 20 Location: trivandrum
problem with heart beat monitor
Posted: Tue Dec 30, 2008 3:15 am
hai everybody
now iam working with a heart beat monitoring project in p16f877a...finger is used to detect the heart beat count....but it doesnt give actual count ..in one minits its counts more than 256...if we not place finger in sensor part its give proper count means '0'..but wen we place the finger between high intensity red led and ldr count is more than 256..i think fluctuations in the finger affecting the sensing part.. i dont know how to attach circuit diagram iam using LM358 and the 7th pin of lm358 is the sensor output ..iam connecting the 7 th pin to a ledand also to PORTC0 PIN BUT IAM NOT USING ANY PULL UP IN PORTCO PIN....CAN U PLAESE HELP ME TO SOLVE THIS PROBLEM
THIS IS THE CIRCUIT DIAGRAM LINK http://onlinetps.com/heartbeat.GIF
thankzzzzzzzzzzzzz in advance _________________ nn
umka
Joined: 28 Aug 2007 Posts: 99 Location: New Zealand
Posted: Tue Dec 30, 2008 3:46 am
Have you checked the output signal from the hardware on an oscilloscope to check the output is occuring at the expected rate?
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Tue Dec 30, 2008 5:07 am
Although it's a bad circuit to my opinion (threshold depends on LM358 offset voltage, missing hysteresis), what was the result when systematicly varying the gain and threshold adjustment?
binu.kr
Joined: 22 Jun 2008 Posts: 20 Location: trivandrum
Posted: Tue Dec 30, 2008 5:10 am
Thanks for your valuable reply.
I don't have any oscilloscope. But now I'm given a pullup in RC0 and 100uf capacitor at the output pin of lm358. It improves the count approximately equal to 70 per minutes. But it not stable always, sometimes its varying. _________________ nn
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Tue Dec 30, 2008 7:19 am
Why not using a linear AC amplifier and the PIC ADC as a programmable threshold detector?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum