In today's tutorial, we are gonna design a Heart Beat Monitor using Arduino in Proteus ISIS. You should download this Heart Beat Sensor Library V2.0 for Proteus ...
Hello friends, I hope you all are doing great and having fun in your lives. In today's tutorial, we are gonna design a Heart Beat Monitor using Arduino in Proteus ISIS. You should download this Heart Beat Sensor Library V2.0 for Proteus because we are gonna use that to detect heart beat in Proteus.
I have also used a 20x4 LCD which will display our heart rate value. You should download this New LCD Library for Proteus. I have counted the heart beat for ten seconds and then I have multiplied it with 6 to get the heartbeat per minute which is abbreviated as bpm (beats per minute). So, let's get started with Heart Beat Monitor using Arduino in Proteus ISIS.
In this code, I have used a TimerOne Library which creates an interrupt after every 1sec.
On each interrupt, it executes timerIsr() function, in which I have placed a check that whenever this interrupt will call we will increment TimeinSec variable.
So, when TimeinSec will become equal to 10 then I am simply multiplying it with 6 and updating it on the LCD.
Now run your Proteus Simulation and you will get something as shown in the below figure:
Now click this HB button and it will start counting the HB as well as will count the Time in seconds.
After ten seconds it will multiply the current heart rate with six and will give the Heart Beat Per Minute.
Here's a final image of the result:
You can change the value of Heart Beat from the variable resistor connected with Heart Beat Sensor.
Let's change the value of variable resistance connected to Heart Beat sensor, and have a look at the results.
You have to press the button again in order to get the value.
Here's the screenshot of the results obtained:
So, now the heart is beating a little faster and we have got 108 bpm.
If you run this simulation then you will notice that the second is quite slow which I think is because of Proteus.
I have tested this code on hardware and it worked perfectly fine, although you need to change heart beat sensor's values in coding.
Here's the video in which I have explained the working of this Heart Rate Monitor Simulation in detail.
So, that was all about Heart Beat Monitor using Arduino in Proteus ISIS. I hope you have enjoyed it and will get something out of it. Have a good day. :)
syedzainnasir
I am Syed Zain Nasir, the founder of The Engineering Projects (TEP). I am a
programmer since 2009 before that I just search things, make small projects and now I am sharing my
knowledge through this platform. I also work as a freelancer and did many projects related to
programming and electrical circuitry. My Google Profile+Follow
Get Connected
Comments on ‘’ Heart Beat Monitor using Arduino in Proteus ‘’ ( 1 )
0
sarathi
Says:
Error compiling for board arduino/geniuo Uno. What i do sir
Reply