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.

Heart Beat Sensor with lpc2148

Status
Not open for further replies.

marthoma

Junior Member level 3
Joined
Oct 15, 2014
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
171
im using heart beat sensor by sunrom technologies........
https://www.sunrom.com/186 is the link to my module...it gives me a digital output...wen i interfaced my device wid lpc i was getting a fluctuated output varying between 70-120...so could someone please help me with the coding part to count the pulses..i think the delay part in my code is the problem..so if someone could teach me how to use timers here to count pulses then it would be helpful please....i was not using any timers in my code which is not good i know..please help me with the registers and programming
 

please could someone help me.....ask me again if i have not got my problem
 

The sensor outputs pulses and so you can connect the OUT of sensor to External Interrupt pin of MCU and on every trigger of interrupt increment a counter. On first pulse start timer, discard first pulse, count pulses till 1 min elapsed, stop timer.

**broken link removed**

http://www.ocfreaks.com/lpc2148-interrupt-tutorial/
 
Last edited:
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top