Do It Yourself a Heart Beat Monitor With AVR

Guys,

I want to share my weekend project on creating a heartbeat monitor with AVR.
In this experiment I'm using ATMEGA128 and  LM358 as the sensor amplifier,

Let's get started

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Some Components for This Project

1. ATMEGA128
2. LM358
3. Infrared photo transistor
4. LCD 16x2
5. USBASP debugger

Step 2: A Software Developed on Atmel Studio

Then continue on developing the software for it,
Here's the main code...
cli();
   current_rps = rps;
   sei();
   if (minute==1)
    {
      lcd_cmd(0x01);   
    sprintf(rps_lcd,"%.3f",current_rps);
    sprintf(rpm_lcd,"%.3f", current_rps * 60.0);

    lcd_xy(0,0);
    lcd_string("BPS = ");
    lcd_string(rps_lcd);
 
    lcd_xy(1,0);
    lcd_string("BPM = ");
    lcd_string(rpm_lcd);
}

Step 3: Enjoy It on Video...

Enjoy it on video...


Thanks for reading
Microcontroller Contest

Participated in the
Microcontroller Contest

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    4 Discussions

    0
    None
    botho_cc

    5 years ago

    Hey there,
    this looks pretty good!
    Could you provide your circuit?
    Thanks

    2 replies
    0
    None
    arickbotho_cc

    Reply 5 years ago on Introduction

    do you want to donate for it ? I spent a lot of time to develope it..