Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help required for Heart beat monitor system

Status
Not open for further replies.

basavaraj.mr

Junior Member level 3
Joined
Mar 24, 2010
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,291
Location
banglore
Activity points
1,537
Hi All,

Am trying to do wireless heart beat monitoring system,
Can any one give me some suggestions, am planning to use HT12D & Ht12E for wireless communication and P89V51Rd2 MCU.
The Heart beat sensor[https://www.nskelectronics.com/heart_beat.html] from NSK electronics

Please give me an Algorithm How get readings from sensor and how to display that pulse rating in the receiver side.

I appreciate if any c reference code.


Thanks in advance!!!
 

Hi All,

Am trying to do wireless heart beat monitoring system,
Can any one give me some suggestions, am planning to use HT12D & Ht12E for wireless communication and P89V51Rd2 MCU.
The Heart beat sensor[https://www.nskelectronics.com/heart_beat.html] from NSK electronics

Please give me an Algorithm How get readings from sensor and how to display that pulse rating in the receiver side.

I appreciate if any c reference code.


Thanks in advance!!!




Please comment !!
 

Please share with us your detailed specification and psuedo code.
 

Please share with us your detailed specification and psuedo code.


Dear Sir,
Below is my test code, first i am trying with wired connection with LCD.
The pulse reading in LCD is not proper its showing random values &
also some times junk values.

Am referring this **broken link removed** for coding and this the **broken link removed**


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
void extrint (void) interrupt 0 // external Interrupt to detect the heart pulse
            { 
            bt=tick; // number of ticks are picked 
                
            tick=0; // reset for next counting
 
            }
             
            void timer0 (void) interrupt 1  // Timer 0 for one second time
            { 
            TH0 = 0xdc;
            TL0=0x00; 
            sec100++; 
            tick++;
            if(tick>=3500)
            {
            tick=0; 
            }
            if(sec100 >=100) 
            { 
            sec++; 
            sec100=0; 
            } 
            } 
 
//main loop
 
                        while(1) 
            { 
            
            if(sec >=1) 
            {
            sec=0; 
            lcdcmd(0x02);
            if(bt >=7)
            {
            bpm = 60000/bt; // for valid output bt is limited so that it should be greater than 6
            MSDelay(100); 
            lcdcmd(0x01);
            lcd_puts("Pulse: ");
            lcddata((bpm/100)+0x30); 
            r=bpm%100; 
            lcddata((r/10)+0x30); 
            lcddata((r%10)+0x30);
            r=0; 
            lcd_puts(" bpm ");
                    //  MSDelay(100); 
 
            } 
            else 
            {
            lcdcmd(0x01);
            lcd_puts("Wait for 15sec");
            } 
            } 
                        }

 
Last edited by a moderator:

You jumping into the deep end without being clear on what your requirements are. Tell us more about your user requirements / user stories : for example
I want to measure heart rate with a mobile device
The hear rate will be measured over a 30 second period
The average of 5 readings will be calculated
The average will be transmitted to a fixed mobase station in ASCII format
Ther will be error detection and correction in the radion protocol ; incorrect data will be ignored by the base station
The maimum transmission range will be 100 m
The base station will display the data on a .......... and now you do the rest
 
Hello Mr klystron ,
Thanks For your reply.

My requirements are below:
(Attached Reference Block Diagrams)View attachment Transmitter.bmp View attachment Receiver.bmp

1) Remote side I want to display the readings (Pulses).
2) Am using HT12D/E So only 4 readings I can display readings in receiver LCD. eg: Normal (72), Low(<72),High BP(>72),Danger(>90).
3) The maximum transmission range will be 100 m
4) The base station will display the data on a LCD and if the heart rate is crossing normal range buzzer should activate.
5) The heart rate will be measured over a 30 second period.
6) The average of 6 readings will be used to calculate the pulses.


Is it possible to use the setup as above, Please guide me!!
 

Yes, that will work.
Now break down the mobile unit into user stories for example :
Read the heart rate from the heart beat sensor. (I do not know the interface detail of this sensor and it possible that it output pulse for every heart beat and then you will need a function to calculate the heart beat.
Calculate the average heart rate over 30 seconds
Calculate Normal (72), Low(<72),High BP(>72),Danger(>90)
Store Normal (72), Low(<72),High BP(>72),Danger(>90)
Write Normal (72), Low(<72),High BP(>72),Danger(>90) to the encoder chip ........ and you do the rest

Do the same for the base station

Questions
For how long must the mobile system work (battery capacity)?
Did you do a power budget?
How big is the mobile unit (size and weight)?
Why do you use the encoder and decoder chips?
Why did you pick the specific microprocessor?
Which development environment are you using?
 

Hi,

Am Struck in getting pulses from sensor and calculating the same.

Am using keil environment, and P89V51RD2 MCU
 

Do you do any conditioning on the output of the sensor before you interface it into the microprocessor ?
 

If i put finger in side the sensor, the led will blink according to heart beat.Am directly connecting this output to P3.2 of MCU. Is it any Transistor driving circuit is necessary? Please tell me.
 

Have you look at the signal (connected ) on a oscilloscope ? I think you must "clean" it with a buffer with some hysteresis.
 
Thanks for your reply. I have checked with DSO its showing noise. How to clear this?
 

Please provide some buffer/filter circuits. Shall i use BC547 ?.
 

No, the given chips are inverters, and you need buffers. Except if you change your logic of the sensor
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top