Heartbeat counter and temperature monitor using 89S52

Discussion for ongoing projects. The more you post progress information, the best Ikalogic members will follow your project and be able to assist you.

Moderators: ikalogic, cotto88

Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Thu Dec 31, 2009 9:45 am

Please can someone help me a c/c++ code for detecting and counting heartbeat. the input signal comes from P3.4 (timer 0 interrupt input ) of 89S52 microcontroller.
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby ikalogic » Fri Jan 01, 2010 11:47 am

Davechika wrote:Please can someone help me a c/c++ code for detecting and counting heartbeat. the input signal comes from P3.4 (timer 0 interrupt input ) of 89S52 microcontroller.


the signal is analog2677 digital2677 what is the waveform like2677 where is it coming from2677
True wisdom is knowing what you don't know -- Confucius
User avatar
ikalogic
Site Admin
 
Posts: 2170
Joined: Wed Jan 02, 2008 2:00 pm
Location: Limoges, France

Re: Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Fri Jan 01, 2010 10:32 pm

the signal is coming from LM358 opamp used to amplify the heartbeat pulses using LDR and LED
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Fri Jan 01, 2010 10:52 pm

my project,it measures heartbeat using LDR an an LED light source, the analog signal is the amplified by the Opamp LM358 which is the fed to pin P3.4 of the microcontroller which outputs it to the serialbuffer SBUF,please can u help me with a C/ C++ code for this project.
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Fri Jan 01, 2010 11:04 pm

Here is the full desciption of the Project,

Heart beat is sensed by using a high intensity type LED and LDR. The finger is placed between the LED and LDR. As Sensor a photo diode or a photo transistor can be used. The skin may be illuminated with visible (red) using transmitted or reflected light for detection. The very small changes in reflectivity or in transmittance caused by the varying blood content of human tissue are almost invisible. Various noise sources may produce disturbance signals with amplitudes equal or even higher than the amplitude of the pulse signal. Valid pulse measurement therefore requires extensive preprocessing of the raw signal.
The setup described here uses a red LED for transmitted light illumination and a LDR as detector. With only slight changes in the preamplifier circuit the same hardware and software could be used with other illumination and detection concepts. The detectors photo current (AC Part) is converted to voltage and amplified by an operational amplifier (LM358). Output of the Opamp will generate an interrupt to the controller AT89S52.

Thanks for your anticipated Response
Attachments
clip_image002.jpg
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby ya1gaurav » Fri Feb 19, 2010 2:11 am

does it work properly267926792679267926792679
ya1gaurav
 
Posts: 9
Joined: Fri Feb 19, 2010 2:05 am

Re: Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Fri Feb 19, 2010 7:14 pm

yeah the circuit really senses the pulses when your hand is placed in between the led and the ldr sensors
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby ya1gaurav » Sat Feb 20, 2010 1:55 am

instead of using RS232 in the circuit to interface with PC,,,,can't we just use LCD or 7-segmenr display which would show the count of heartbeat,,,,,2679267926792679
ya1gaurav
 
Posts: 9
Joined: Fri Feb 19, 2010 2:05 am

Re: Heartbeat counter and temperature monitor using 89S52

Postby ikalogic » Sat Feb 20, 2010 11:01 am

ya1gaurav wrote:instead of using RS232 in the circuit to interface with PC,,,,can't we just use LCD or 7-segmenr display which would show the count of heartbeat,,,,,2679267926792679


sure.. why not2679 :)
True wisdom is knowing what you don't know -- Confucius
User avatar
ikalogic
Site Admin
 
Posts: 2170
Joined: Wed Jan 02, 2008 2:00 pm
Location: Limoges, France

Re: Heartbeat counter and temperature monitor using 89S52

Postby ya1gaurav » Sat Feb 20, 2010 11:39 am

actually i m planning to make this working model,,,has this circuit been tested267926792679 whether it gives optimum values,,,,,26792679or it requires some modification26792679
ya1gaurav
 
Posts: 9
Joined: Fri Feb 19, 2010 2:05 am

Re: Heartbeat counter and temperature monitor using 89S52

Postby pranu » Sat Feb 20, 2010 1:35 pm

Davechika wrote:yeah the circuit really senses the pulses when your hand is placed in between the led and the ldr sensors


Hi.. I am also trying to sense the pulses using an led-ldr, but it somehow doesn't seem to work. I've spent a month trying to test it. Could you please send me the details of your circuit... My id is pranu.littlemermaid@gmail.com
pranu
 
Posts: 1
Joined: Sat Feb 20, 2010 1:02 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby ya1gaurav » Sat Feb 20, 2010 2:08 pm

k m gonna try this circuit,,thnx,
ya1gaurav
 
Posts: 9
Joined: Fri Feb 19, 2010 2:05 am

Re: Heartbeat counter and temperature monitor using 89S52

Postby Davechika » Wed Feb 24, 2010 7:28 pm

@pranu,got ur mail,i will send the details of my LED/LDR sensing values and parts to you,all you need is to write a good code to count the pulses per minute:my mail is chez_projects@yahoo.com
Davechika
 
Posts: 10
Joined: Tue Sep 02, 2008 6:54 pm

Re: Heartbeat counter and temperature monitor using 89S52

Postby ya1gaurav » Thu Feb 25, 2010 1:29 am

pl. send detalis to me also.....at ya1gaurav@gmail.com thnx.. :D :)
ya1gaurav
 
Posts: 9
Joined: Fri Feb 19, 2010 2:05 am

Re: Heartbeat counter and temperature monitor using 89S52

Postby staregypt » Thu Jun 10, 2010 1:40 am

This kind of application much often intrigued me, how is your circuit performs in resolution and accuracy2681 Does the output of lm385 is a analog wave that its threshold detected by T1 of mcu2681 The circuit looks so simple for the heartbeat part!!
staregypt
 
Posts: 17
Joined: Thu Jun 25, 2009 5:51 am

Next

Return to Ongoing projects

Who is online

Users browsing this forum: No registered users and 0 guests

cron