Professional Documents
Culture Documents
Heart Beat Measurement and Detection Using PIC18 Microcontroller
Heart Beat Measurement and Detection Using PIC18 Microcontroller
PIC18 microcontroller
Introduction:
In this PIC based microcontroller project, we are going to familiarize with the proper working of PIC18 by
using its different inbuilt functions such as Timers and counter. Our main objective is to detect and
measure the heart pulse signal by using microcontroller. We are also dealing with interfacing of LCD with
microcontroller in this project for better results. This project is actually consists of two parts, one is
getting the heart pulse through fingertip sensor which is then feed to signal conditioning unit and second
part is microcontroller programming in order to measure the heart beat . Our signal conditioning unit
basically is for noise filtration and signal amplification. Measurement of heart beat is done through
microcontroller by its inbuilt functions. A 4 bit LCD is used for the display of results.
Procedure:
a) Signal conditioning unit
1. Firstly by heart pulse is sensed through IR sensor and sensor transmit the pulse signal to photo-
diode. After this pulse is feeded to main unit.
2. Signal conditioning unit basically consists of active low pass filters and comparator for
amplification and filtration of pulse signal.
3. Active low pass filter contains operational amplifier and RC series network for signal
amplification i.e. by increasing the gain of signal and for removing the noise.
4. In order to provide fixed clock (square wave) signal to microcontroller comparator is feeded with
modified pulse signal.
5. Signal is applied to comparator non-inverting pin and comparator compare the analogue signal
with its threshold voltage and gives the fixed desired signal.
C program:
Simulation: