Heart beat pulse sensor interfacing with pic microcontroller. Hi everyone I hope you are fine and doing well. In this article, you will learn how to interface heart beat pulse sensor with pic microcontroller. How to measure heart beat using inexpensive hear beat pulse sensor? How to use this cheap heart beat pulse sensor with pic microcontroller to measure heart beat rate very easily. I have used SEN-11574 hear beat pulse sensor in this project. I have already posted a article on how to measure heart beat using arduinoand heart beat sensor. You may also check. But today I am going to explain SEN-11574 heart beat sensor interfacing with pic microcontroller.
I have used pic18f46k22 microcontroller in this project. PIC18F46k22 microcontroller is one of the best production of microchip family of microcontroller. It has a lot of built in resources like more than 20 built in analog to digital converters and many other features. After PIC16F877A microcontroller, it is one of my favorite microcontroller from microchip medium level microcontrollers series. So now lets start with introduction of SEN-11574 heart beat pulse sensor. It has many applications and few of them are given below:
- exercise machines for heart beat measurement using workout
- heart beat meter for local use at home and many other applications
Page Contents [hide]
SEN-11574 pulse sensor introduction
SEN-11574 is very easy to use heart beat sensor for engineers and students. It consists of optical heart beat sensor circuit and amplification circuit and noise cancellation circuit and its internal circuit diagram is given in its data sheet ans shown below.
It has three pins and description of each pin is given below:
- +3 to +5 volt pin : you will supply +3 to +5 volt to this pin
- Ground: You will connect this pin with ground pin of power supply
- Signal pin: This pin is basically a output pin which gives output according to heart beat rate.
So this sensor gives output in the form of voltage and we need to measure this voltage waveform and extract heart beat rate out of this waveform. I will explain it in later part of this article that how I measured the output waveform heart pulse sensor and measured heart beat with it.
Components required heart beat pulse sensor interfacing with pic microcontroller
Followings components are used in this project:
- PIC18F46K22 microcontroller : It is used to measure output signal of heart beat pulse sensor and send the value to 16 x 2 lcd for display.
- 16X2 LCD: Heart beat measured value is displayed on LCD.
- 8MHZ crystal
Circuit diagram of heart beat pulse sensor interfacing with pic microcontroller
Circuit diagram of heart beat pulse sensor is given below and which is self explanatory.
heart beat pulse sensor video demonstration
Pulse sensor wire goes to analog pin zero of pic18f46k22 microcontroller. It measure output wave form and extract heart beat rate according to the algorithm which I stored in microcontroller. Code update the value of heart beat on LCD every 2 mili seconds.