Flowcode programming (heart pulse monitor)

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Posts: 2
Joined: Tue Feb 17, 2015 3:59 pm

Flowcode programming (heart pulse monitor)

Post by kyriakosso »

Hi guys,

I am building a Heart rate monitor based on an optical sensor attached on the Index finger and i am using PIC16F84A microcontroller for counting the beats per minute.
I am using Flowcode for programming the PIC and what i need to do is to program the PIC to count the time between two peaks(digital pulses in its input RB0) and do that for about 10 seconds and after to give an average result (Heart Rate) in beats per minute (Heart Rate=60/Time).
I have attached the high gain amplifier for the opto sensor and the flowcode template.
The Flowcode template for the pulse rate monitor It sets up the interrupts to count the number of ms between pulse edges - and i need to calculate the pulse rate from this. The code has comments in to explain what each block does.
I would really appreciate it if you could give me a hand!
Thank you for your help!
(43.65 KiB) Downloaded 4824 times
(11.5 KiB) Downloaded 478 times

Post Reply