Introduction: Heart-Beat Counter Using MSP430

Picture of Heart-Beat Counter Using MSP430

hi friends, here is my project on counting the heart beats using an MSP430G2553, and a dual op amp ic, LM358, i think any other dual op amp can work in its place [to be sure, just check the pinouts before replacement]... :)
it displays the heart beat on the LCD screen, i found this project on internet, but it was done with 3 seven segments and with PIC micro controller, so i thought to build a very compact circuit with MSP, i have given the c code, for which you will need the code composer studio, with the launchpad kit...

i hope you enjoy building this project, i have uploaded its video in the files, with the eagle's schematic files, thank you :)


RAJXDAVIEL (author)2017-04-18

the code is working and executing....but some times it is showing some garbage value .

saintshawn19 (author)2017-04-03

do you have a list of all the componets please?

RAJXDAVIEL (author)2017-02-20

can i purchase any heart beat sensor that are available in market

RAJXDAVIEL (author)2017-02-20

what is .sch fille

MARUTHIMUDIRAJ (author)2017-02-18

Hello! Can you tell me what are the all components needed for this project?

ganapajagadish1995 (author)2017-02-08

getting error in program.....while dumping the code


ilyes prodx (author)2016-09-26

Amazing work !! keep it up

naveens35 (author)2016-04-06

I have implemented the ckt on bread board.We aren't getting any thing displayed on lcd and not getting whether code is not working or we are doing something wrong. Can u please suggest us any way out?

kiruthikakaling (author)2016-03-31

sir i am new to msp 430 please clearly explain the connection

naveens35 (author)2016-03-28

can u please send me the .brd file of pcb design i m not able make it from .sch

please help

Samartist (author)naveens352016-03-29

i did not design the pdb board of the circuit, i just have the schematic

naveens35 (author)2016-03-07

Sir,can u please explain me how u are calculating heartbeat count

janybasha1709 (author)2016-02-10

Hi, can u send me the circuit diagram of Ur project plzzzzzzzz

Samartist (author)janybasha17092016-02-10

janybasha1709 (author)2016-02-10

My mail I'd

janybasha1709 (author)2016-02-10

My mail I'd

ngânp (author)2015-05-07

Hi, please let me know why you set the value of CCR0 is 50000 and i is i<350, if I want to set the Timer run in 20s, how can I do that?

ngânp (author)2015-04-02

Can I ask you a question? How many voltage drop on IR LED and PHOTODIODE when the circuit is running?

sartweaver (author)ngânp2015-04-02

i dont know actually, and neither do i have circuit with me now, i think it will be approximately 2 volts...

ngânp (author)sartweaver2015-04-02

Thanks for your answer. I made a circuit like you,but it didn't run, the green led didn't blink when I put my finger on the sensor, I'm very sad. Does your circuit run exactly in the first time or you had to change something?(I'm from Vietnam, so my English isn't good)

sartweaver (author)ngânp2015-04-02

its okay if your circuit does not run in the very first time, recheck all the connections...

i dont remember if i drew the exact same circuit or i made any changes, because i made it a long time ago...

but i think i made the exact circuit, if your green LED is blinking then you should recheck your connections from the microcontroller to the screen...

if i had the same problem that you face, then i would first write a sample code just to check if the whole hardware has been made properly.

ngânp (author)sartweaver2015-04-03

I didn't make the full circuit yet. I just check the first part to make sure that has the signal at the output 7 of Lm358, but it doesn't have,Can you help me how to check that the PHOTODIODE is working correctly.

bhavana.ramesh.14 (author)2014-11-14

see why should v use 3 diodes where a connection is made from microcontroller 2nd pin to lcd power supply.i want to know the use of those diodes.

very good question :

these diodes are used for voltage drop for the microcontroller, as its peak voltage is lesser than than 5 volts.

akshay.das.10 (author)2014-10-25

We are doing this project but it's always showing 000.
What may be the reason??

Samartist (author)akshay.das.102014-10-25

Does the green LED blink when you put your finger on the sensor?

akshay.das.10 (author)2014-10-25

Please help author

muhammad.m.siddiqui.10 (author)2014-10-16

Can you please tell me the alternative IC of msp430g2553. PLEASE is urgent , have only one to finish it.

you can get these ICs for free as samples from texas instruments...


can be used in this project with same code...

toarms99 (author)2014-04-22

very cool, thanks for sharing ~

Samartist (author)2014-03-03

yeah i am pretty sure that you can do that, [actually you can do everything you want ^^ ]

sahithi1910 (author)2014-03-03

Is it possible to combine this with a bp monitor???

avionics2 (author)2013-08-04

Very neat programming. everything make sense well done.

derndinn (author)2013-07-26

thank you , i am learning to write code and your very helpful.

HOWITZER (author)2013-06-14

awesome project!

About This Instructable



More by Samartist:2-Bit Arithmetic and Logic UnitHandheld Gameboy - Using Arduino (with Snake Game)Clap Switch
Add instructable to: