SlideShare a Scribd company logo
1 of 13
Heart rate monitor using 8051 
microcontroller and photo 
interrupter 
A simple 
1
Overview 
2 
• A simple heart rate monitor using 8051 microcontroller. The device 
senses the heart rate from the finger tip using IR reflection method and 
displays it on a three digit seven segment display in beats per minute. 
The circuit has an accuracy of 4 beats per minute and it is very easy to 
use. In medical terms, the technique used here for sensing heart rate is 
called photoplethysmography.
Photoplethysmography. 
Photoplethysmography is the process of optically estimating the volumetric 
measurement of an organ. Pulse oximetry , cardiovascular monitoring, 
respiration detection, heart rate monitoring etc are few common applications 
of photoplethysmography. 
Let us have a look at the application of photoplethysmography in heart rate 
monitoring from the finger tip. When the heart expands (diastole) the volume 
of blood inside the finger tip increases and when the heart contracts (systole) 
the volume of blood inside the finger tip decreases. The resultant pulsing of 
blood volume inside the finger tip is directly proportional to the heart rate 
and if you could some how count the number of pulses in one minute, that’s 
the heart rate in beats per minute . For this an IR transmitter /receiver pair is 
placed in close contact to the finger tip. When the heart beats, the volume of 
blood cells under the sensor increases and this reflects more IR waves to 
sensor and .When there is no beat the intensity of the reflected beam 
decreases. 
The pulsating reflection is converted to a suitable current or voltage pulse by 
the sensor. The sensor output is processed by suitable electronic circuits to 
obtain a visible indication (digital display or graph). 
3
LTH1550-01 photo interrupter forms the photoplethysmographic sensor here. 
LTH1550-01 is simply a IR diode – photo transistor pair in single package. The 
front side of the IR diode and photo transistor are exposed and the remaining 
parts are well isolated. When the finger tip is placed over the sensor the 
volumetric pulsing of the blood volume inside the finger tip due to heart beat 
varies the intensity of the reflected beam and this variation in intensity is 
according to the heart beat. 
When more light falls on the photo transistor it conducts more, its collector 
current increases and so its collector voltage decreases. When less light falls 
on the phototransistor it conducts less, its collector current decreases and so 
its collector voltage decreases. This variation in the collector voltage will be 
proportional to the heart rate. Any way this voltage variation is so feeble and 
additional signal conditioning stages are necessary to convert it into a 
microcontroller recognizable form. 
The next part of the circuit consists of a two active low pass filters using 
opampLM324. The LM324 is a quad opamp that can be operated from a 
single rail supply. Resistor R23, R17 and capacitor C5 sets the gain and cut off 
frequency of the first filter. With the given component values, gain will be 101 
and cut off frequency will be 2.5Hz. The gain and cut off frequency are 
determined using the following equations. 
. 4
• Voltage gain Av =1 + (R17 / R23) 
• Cut off frequency Fc= 1/(2π *R17*C5) 
• The second low pass filter also have the same parameters. The two low 
pass filters form a very critical part of the circuit as any noise or false 
signals passing to the microcontroller stage will produce disastrous results. 
The output of the filter stage will be a voltage level fluctuating between 0 
and 0.35 volts and this fluctuation is converted into a 0 to 5V swing using 
the comparator based on the third opamp (IC1c). The reference voltage of 
the comparator is set to 0.3V. When ever the output voltage of the filter 
stage goes above 0.3V, the output of the comparator goes to zero and 
whenever the output voltage of the filter stage goes below 0.3V, the 
output of the comparator goes to positive saturation. The result will be a 
neat pulse fluctuating between 0 and 5V at a rate equal to the heart rate. 
This pulse is fed to the microcontroller for counting. 
5
Components required 
• LTH 1550-01 
• IC AT89S51 
• 2N2222 
• LM324 
• 7 SEGMENT DISPLAY / LCD 
• RESISTANCES 
• CAPACITORS 
• LOW POWER LED 
• CRYSTAL 
6
7
Output over the bread board 
8
Observation and how program flow: 
For the counting purpose both the timers of 8051 (Timer0 and Timer1) are used. 
Timer 1 is configured as an 8 bit auto reload counter for registering the number of 
incoming zero going pulses and Timer0 is configured as a 16 bit timer which generate 
the necessary 1 second time span for the Timer1 to count. For counting the number of 
beats Timer0 and Timer1 are used. Timer1 is set as an 8 bit auto reload counter for 
counting the number of pulses (indicating the heart beat) and Timer0 is set as a 16 bit 
timer which generates a 65536uS delay. When looped 230 times it will produce a 15 
second time span (230 x 65536uS =15S) for the Timer 1 to count. The number of 
counts obtained in 15 seconds is multiplied by 4 to obtain the heart rate in beats per 
minute. The Timer 0 which generates the 1 second time span is configured in Mode 1 
(16 bit timer). So the maximum it can count is 2^16 and it is 65536.In 8051 the crystal 
frequency is divided by 12 using an internal frequency divider network before applying 
it as a clock for the timer. That means the timer will increment by one for every 1/12th 
of the crystal frequency. For an 8051 based system clocked by a 12MHz crystal, the 
time taken for one timer increment will be 1μS (i.e.; 1/12MHz). So the maximum time 
delay that can be obtained using one session of the timer will be 65536μS. 
9
Implementation with Conclusion: 
• When power is switched ON, the indicator LED 
D4 will glow continues in that state. Now 
place your finger tip over the sensor and 
adjust preset R14 so that the LED D4 starts 
blinking. After you got the LED blinking, reset 
the power and wait for 15 seconds. The 
display will show your heart rate in beats per 
minute. Average heart beat of a human being 
is 72 beat/minute. 
10
11 
Data sheet:LM324-N
12
13

More Related Content

What's hot

Ladder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialLadder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialMavuri Malleswara Rao
 
GSM Based SMS fire alert system
GSM Based SMS fire alert systemGSM Based SMS fire alert system
GSM Based SMS fire alert systemSoumyadeep Kal
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT RobotVatsal N Shah
 
Biomedical Engineering
Biomedical EngineeringBiomedical Engineering
Biomedical Engineeringsubkal
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduinoijtsrd
 
Automatic control of street light using LDR
Automatic control of street light using LDRAutomatic control of street light using LDR
Automatic control of street light using LDRDevang Loharikar
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counterMafaz Ahmed
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
Final aartifical eye seminar report march2016
Final aartifical eye seminar report march2016Final aartifical eye seminar report march2016
Final aartifical eye seminar report march2016gautam221094
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOMln Phaneendra
 
Project report on bidirectional visitor counter & home automation
Project report on bidirectional visitor counter & home automationProject report on bidirectional visitor counter & home automation
Project report on bidirectional visitor counter & home automationRoshan Mani
 
PATIENT HEALTH MONITORING SYSTEM
PATIENT HEALTH MONITORING SYSTEMPATIENT HEALTH MONITORING SYSTEM
PATIENT HEALTH MONITORING SYSTEMsathish sak
 
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERREAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERVenkata Sai Kalyan Routhu
 
Heart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotHeart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotAravind mass
 
IoT based Smart Helmet for unsafe event detection for mining industry
IoT based Smart Helmet for unsafe event detection for mining industryIoT based Smart Helmet for unsafe event detection for mining industry
IoT based Smart Helmet for unsafe event detection for mining industryIRJET Journal
 

What's hot (20)

Ladder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialLadder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorial
 
GSM Based SMS fire alert system
GSM Based SMS fire alert systemGSM Based SMS fire alert system
GSM Based SMS fire alert system
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT Robot
 
Biomedical Engineering
Biomedical EngineeringBiomedical Engineering
Biomedical Engineering
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduino
 
Instrumentation amplifier in ECG
Instrumentation amplifier  in ECG Instrumentation amplifier  in ECG
Instrumentation amplifier in ECG
 
Automatic control of street light using LDR
Automatic control of street light using LDRAutomatic control of street light using LDR
Automatic control of street light using LDR
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Final aartifical eye seminar report march2016
Final aartifical eye seminar report march2016Final aartifical eye seminar report march2016
Final aartifical eye seminar report march2016
 
Ecg Signal Processing
Ecg Signal ProcessingEcg Signal Processing
Ecg Signal Processing
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
Project report on bidirectional visitor counter & home automation
Project report on bidirectional visitor counter & home automationProject report on bidirectional visitor counter & home automation
Project report on bidirectional visitor counter & home automation
 
PATIENT HEALTH MONITORING SYSTEM
PATIENT HEALTH MONITORING SYSTEMPATIENT HEALTH MONITORING SYSTEM
PATIENT HEALTH MONITORING SYSTEM
 
Heart Rate Monitor
Heart Rate MonitorHeart Rate Monitor
Heart Rate Monitor
 
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLERREAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
REAL TIME HEART BEAT MONITORING SYSTEM USING PIC16F876 MICROCONTROLLER
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
Heart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iotHeart beat monitoring system using arduino with iot
Heart beat monitoring system using arduino with iot
 
IoT based Smart Helmet for unsafe event detection for mining industry
IoT based Smart Helmet for unsafe event detection for mining industryIoT based Smart Helmet for unsafe event detection for mining industry
IoT based Smart Helmet for unsafe event detection for mining industry
 

Viewers also liked

Microcontroller based heart rate meter
Microcontroller based heart rate meterMicrocontroller based heart rate meter
Microcontroller based heart rate meterChetana Nair
 
Heart beat monitor system PPT
Heart beat monitor system PPT Heart beat monitor system PPT
Heart beat monitor system PPT Anand Dwivedi
 
Heart beat detector using arduino
Heart beat detector using arduinoHeart beat detector using arduino
Heart beat detector using arduinoVarshaa Khandagale
 
Heart Rate Powerpoint
Heart Rate PowerpointHeart Rate Powerpoint
Heart Rate Powerpointmmoyerhealth
 
Heart rate monitoring system using 8051
 Heart rate monitoring system using 8051 Heart rate monitoring system using 8051
Heart rate monitoring system using 8051Eldhose George
 
Automatic Wireless Health Monitoring System In Hospitals For Patients
Automatic Wireless Health Monitoring System In Hospitals For PatientsAutomatic Wireless Health Monitoring System In Hospitals For Patients
Automatic Wireless Health Monitoring System In Hospitals For PatientsEdgefxkits & Solutions
 
Heart Rate Monitoring
Heart Rate MonitoringHeart Rate Monitoring
Heart Rate MonitoringLabofit
 
Wireless human health Monitor
Wireless human health MonitorWireless human health Monitor
Wireless human health MonitorAmarendra K Yadav
 
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeTroubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeRohde & Schwarz North America
 
Electric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic ConceptElectric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic Conceptrahman84
 
Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Tsuyoshi Horigome
 
ppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalharshid panchal
 
Introducing Electricity
Introducing  ElectricityIntroducing  Electricity
Introducing Electricityscotfuture
 
Ohm’s law
Ohm’s lawOhm’s law
Ohm’s lawaichikun
 
Curcite voltage
Curcite voltage  Curcite voltage
Curcite voltage Anis Arafat
 

Viewers also liked (20)

Microcontroller based heart rate meter
Microcontroller based heart rate meterMicrocontroller based heart rate meter
Microcontroller based heart rate meter
 
Heart beat monitor system PPT
Heart beat monitor system PPT Heart beat monitor system PPT
Heart beat monitor system PPT
 
Heart beat detector using arduino
Heart beat detector using arduinoHeart beat detector using arduino
Heart beat detector using arduino
 
Heart Rate Powerpoint
Heart Rate PowerpointHeart Rate Powerpoint
Heart Rate Powerpoint
 
Heart rate monitoring system using 8051
 Heart rate monitoring system using 8051 Heart rate monitoring system using 8051
Heart rate monitoring system using 8051
 
Automatic Wireless Health Monitoring System In Hospitals For Patients
Automatic Wireless Health Monitoring System In Hospitals For PatientsAutomatic Wireless Health Monitoring System In Hospitals For Patients
Automatic Wireless Health Monitoring System In Hospitals For Patients
 
HEART RATE MONITOR
HEART RATE MONITORHEART RATE MONITOR
HEART RATE MONITOR
 
Heart Rate Monitoring
Heart Rate MonitoringHeart Rate Monitoring
Heart Rate Monitoring
 
Heart rate
Heart rateHeart rate
Heart rate
 
Wireless human health Monitor
Wireless human health MonitorWireless human health Monitor
Wireless human health Monitor
 
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeTroubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
 
NS2 5.3 Basic Electricity
NS2 5.3 Basic ElectricityNS2 5.3 Basic Electricity
NS2 5.3 Basic Electricity
 
Electric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic ConceptElectric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic Concept
 
Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)
 
ppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchal
 
Dc Power System
Dc Power SystemDc Power System
Dc Power System
 
Introducing Electricity
Introducing  ElectricityIntroducing  Electricity
Introducing Electricity
 
AIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEMAIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEM
 
Ohm’s law
Ohm’s lawOhm’s law
Ohm’s law
 
Curcite voltage
Curcite voltage  Curcite voltage
Curcite voltage
 

Similar to Heart rate monitering using 8051 and sensor

micro controller based heart rate monitoring system
micro controller based heart rate monitoring systemmicro controller based heart rate monitoring system
micro controller based heart rate monitoring systemEldhose George
 
Digital blood pressure meter
Digital blood pressure meterDigital blood pressure meter
Digital blood pressure meterCulun Habis
 
Heart rate counter explanation
Heart rate counter explanationHeart rate counter explanation
Heart rate counter explanationShahrukh Javed
 
19bec0855 project review 1-converted
19bec0855 project review 1-converted19bec0855 project review 1-converted
19bec0855 project review 1-convertedChetanShahukari
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50Ruthvik Vaila
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18Muhammad Usman
 
PulseOxymetry_AN_Finalv3p1
PulseOxymetry_AN_Finalv3p1PulseOxymetry_AN_Finalv3p1
PulseOxymetry_AN_Finalv3p1Ahmed Ghouri
 
Wireless greenhouse environment monitoring through sensors
Wireless greenhouse environment monitoring through sensorsWireless greenhouse environment monitoring through sensors
Wireless greenhouse environment monitoring through sensorsSudhanshu Tripathi
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Redwan Islam
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYEldhose George
 
Heart Attack Detection VIA HEART Beat Monitor System
Heart Attack Detection VIA HEART Beat Monitor System Heart Attack Detection VIA HEART Beat Monitor System
Heart Attack Detection VIA HEART Beat Monitor System Utkarsh Lokpriye
 
Automatic room light contoller without microcontroller
Automatic room light contoller without microcontrollerAutomatic room light contoller without microcontroller
Automatic room light contoller without microcontrollerDeepak Yadav
 
CRF final ppt
CRF   final pptCRF   final ppt
CRF final pptkachiever
 
HEART RATE SENSOR USING LM358
HEART RATE SENSOR USING LM358HEART RATE SENSOR USING LM358
HEART RATE SENSOR USING LM358Aijaz Rahim
 

Similar to Heart rate monitering using 8051 and sensor (20)

micro controller based heart rate monitoring system
micro controller based heart rate monitoring systemmicro controller based heart rate monitoring system
micro controller based heart rate monitoring system
 
Tachometer
TachometerTachometer
Tachometer
 
Digital blood pressure meter
Digital blood pressure meterDigital blood pressure meter
Digital blood pressure meter
 
heartbeatsensor
heartbeatsensorheartbeatsensor
heartbeatsensor
 
Heart rate counter explanation
Heart rate counter explanationHeart rate counter explanation
Heart rate counter explanation
 
19bec0855 project review 1-converted
19bec0855 project review 1-converted19bec0855 project review 1-converted
19bec0855 project review 1-converted
 
rancang bangun NIIBP
rancang bangun NIIBPrancang bangun NIIBP
rancang bangun NIIBP
 
Pulse detector
Pulse detectorPulse detector
Pulse detector
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
 
Digital tachometer using pic18
Digital tachometer using pic18Digital tachometer using pic18
Digital tachometer using pic18
 
PulseOxymetry_AN_Finalv3p1
PulseOxymetry_AN_Finalv3p1PulseOxymetry_AN_Finalv3p1
PulseOxymetry_AN_Finalv3p1
 
Wireless greenhouse environment monitoring through sensors
Wireless greenhouse environment monitoring through sensorsWireless greenhouse environment monitoring through sensors
Wireless greenhouse environment monitoring through sensors
 
Contactless tachometer
Contactless tachometerContactless tachometer
Contactless tachometer
 
Vishal project1
Vishal project1Vishal project1
Vishal project1
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
 
Heart Attack Detection VIA HEART Beat Monitor System
Heart Attack Detection VIA HEART Beat Monitor System Heart Attack Detection VIA HEART Beat Monitor System
Heart Attack Detection VIA HEART Beat Monitor System
 
Automatic room light contoller without microcontroller
Automatic room light contoller without microcontrollerAutomatic room light contoller without microcontroller
Automatic room light contoller without microcontroller
 
CRF final ppt
CRF   final pptCRF   final ppt
CRF final ppt
 
HEART RATE SENSOR USING LM358
HEART RATE SENSOR USING LM358HEART RATE SENSOR USING LM358
HEART RATE SENSOR USING LM358
 

More from Vedavyas PBurli

MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAM
MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAMMEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAM
MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAMVedavyas PBurli
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingVedavyas PBurli
 
Microcontroller (8051) general and simple alp n cprograms
Microcontroller (8051) general and simple alp n cprogramsMicrocontroller (8051) general and simple alp n cprograms
Microcontroller (8051) general and simple alp n cprogramsVedavyas PBurli
 
Basic electrical engineering_alternators
Basic electrical engineering_alternatorsBasic electrical engineering_alternators
Basic electrical engineering_alternatorsVedavyas PBurli
 

More from Vedavyas PBurli (6)

MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAM
MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAMMEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAM
MEMS-ELECTRO STATICALLY ACTUATED CANTILEVER BEAM
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Microcontroller (8051) general and simple alp n cprograms
Microcontroller (8051) general and simple alp n cprogramsMicrocontroller (8051) general and simple alp n cprograms
Microcontroller (8051) general and simple alp n cprograms
 
Sound detectorcircuit
Sound detectorcircuitSound detectorcircuit
Sound detectorcircuit
 
Basic electrical engineering_alternators
Basic electrical engineering_alternatorsBasic electrical engineering_alternators
Basic electrical engineering_alternators
 
Flour mill
Flour millFlour mill
Flour mill
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 

Heart rate monitering using 8051 and sensor

  • 1. Heart rate monitor using 8051 microcontroller and photo interrupter A simple 1
  • 2. Overview 2 • A simple heart rate monitor using 8051 microcontroller. The device senses the heart rate from the finger tip using IR reflection method and displays it on a three digit seven segment display in beats per minute. The circuit has an accuracy of 4 beats per minute and it is very easy to use. In medical terms, the technique used here for sensing heart rate is called photoplethysmography.
  • 3. Photoplethysmography. Photoplethysmography is the process of optically estimating the volumetric measurement of an organ. Pulse oximetry , cardiovascular monitoring, respiration detection, heart rate monitoring etc are few common applications of photoplethysmography. Let us have a look at the application of photoplethysmography in heart rate monitoring from the finger tip. When the heart expands (diastole) the volume of blood inside the finger tip increases and when the heart contracts (systole) the volume of blood inside the finger tip decreases. The resultant pulsing of blood volume inside the finger tip is directly proportional to the heart rate and if you could some how count the number of pulses in one minute, that’s the heart rate in beats per minute . For this an IR transmitter /receiver pair is placed in close contact to the finger tip. When the heart beats, the volume of blood cells under the sensor increases and this reflects more IR waves to sensor and .When there is no beat the intensity of the reflected beam decreases. The pulsating reflection is converted to a suitable current or voltage pulse by the sensor. The sensor output is processed by suitable electronic circuits to obtain a visible indication (digital display or graph). 3
  • 4. LTH1550-01 photo interrupter forms the photoplethysmographic sensor here. LTH1550-01 is simply a IR diode – photo transistor pair in single package. The front side of the IR diode and photo transistor are exposed and the remaining parts are well isolated. When the finger tip is placed over the sensor the volumetric pulsing of the blood volume inside the finger tip due to heart beat varies the intensity of the reflected beam and this variation in intensity is according to the heart beat. When more light falls on the photo transistor it conducts more, its collector current increases and so its collector voltage decreases. When less light falls on the phototransistor it conducts less, its collector current decreases and so its collector voltage decreases. This variation in the collector voltage will be proportional to the heart rate. Any way this voltage variation is so feeble and additional signal conditioning stages are necessary to convert it into a microcontroller recognizable form. The next part of the circuit consists of a two active low pass filters using opampLM324. The LM324 is a quad opamp that can be operated from a single rail supply. Resistor R23, R17 and capacitor C5 sets the gain and cut off frequency of the first filter. With the given component values, gain will be 101 and cut off frequency will be 2.5Hz. The gain and cut off frequency are determined using the following equations. . 4
  • 5. • Voltage gain Av =1 + (R17 / R23) • Cut off frequency Fc= 1/(2π *R17*C5) • The second low pass filter also have the same parameters. The two low pass filters form a very critical part of the circuit as any noise or false signals passing to the microcontroller stage will produce disastrous results. The output of the filter stage will be a voltage level fluctuating between 0 and 0.35 volts and this fluctuation is converted into a 0 to 5V swing using the comparator based on the third opamp (IC1c). The reference voltage of the comparator is set to 0.3V. When ever the output voltage of the filter stage goes above 0.3V, the output of the comparator goes to zero and whenever the output voltage of the filter stage goes below 0.3V, the output of the comparator goes to positive saturation. The result will be a neat pulse fluctuating between 0 and 5V at a rate equal to the heart rate. This pulse is fed to the microcontroller for counting. 5
  • 6. Components required • LTH 1550-01 • IC AT89S51 • 2N2222 • LM324 • 7 SEGMENT DISPLAY / LCD • RESISTANCES • CAPACITORS • LOW POWER LED • CRYSTAL 6
  • 7. 7
  • 8. Output over the bread board 8
  • 9. Observation and how program flow: For the counting purpose both the timers of 8051 (Timer0 and Timer1) are used. Timer 1 is configured as an 8 bit auto reload counter for registering the number of incoming zero going pulses and Timer0 is configured as a 16 bit timer which generate the necessary 1 second time span for the Timer1 to count. For counting the number of beats Timer0 and Timer1 are used. Timer1 is set as an 8 bit auto reload counter for counting the number of pulses (indicating the heart beat) and Timer0 is set as a 16 bit timer which generates a 65536uS delay. When looped 230 times it will produce a 15 second time span (230 x 65536uS =15S) for the Timer 1 to count. The number of counts obtained in 15 seconds is multiplied by 4 to obtain the heart rate in beats per minute. The Timer 0 which generates the 1 second time span is configured in Mode 1 (16 bit timer). So the maximum it can count is 2^16 and it is 65536.In 8051 the crystal frequency is divided by 12 using an internal frequency divider network before applying it as a clock for the timer. That means the timer will increment by one for every 1/12th of the crystal frequency. For an 8051 based system clocked by a 12MHz crystal, the time taken for one timer increment will be 1μS (i.e.; 1/12MHz). So the maximum time delay that can be obtained using one session of the timer will be 65536μS. 9
  • 10. Implementation with Conclusion: • When power is switched ON, the indicator LED D4 will glow continues in that state. Now place your finger tip over the sensor and adjust preset R14 so that the LED D4 starts blinking. After you got the LED blinking, reset the power and wait for 15 seconds. The display will show your heart rate in beats per minute. Average heart beat of a human being is 72 beat/minute. 10
  • 12. 12
  • 13. 13