Skip to content

Repository files navigation

❤️ Heartbeat Monitor with Alert System

An Arduino-based embedded systems prototype that demonstrates heartbeat signal acquisition, BPM calculation, threshold-based alert detection, LCD visualization, LED indication, and buzzer alerts.

⚠️ Educational Prototype: This project is intended for educational and embedded-systems learning purposes only. It is NOT a medical diagnostic device. Hobby-grade sensors may provide approximate readings and must not be used for medical decisions.


🚀 Features

  • ❤️ Heartbeat monitoring
  • 📊 BPM calculation
  • 📟 16x2 LCD display
  • 🟢 Normal-status LED
  • 🔴 Alert LED
  • 🔊 Buzzer alert
  • ⚠️ Low BPM detection
  • ⚠️ High BPM detection
  • 🔬 Virtual Wokwi simulation
  • 🎛️ Potentiometer-based sensor simulation
  • 🔧 Real Pulse Sensor hardware implementation
  • 🧪 Functional testing
  • 📚 Embedded C / Arduino programming
  • 🗂️ Structured project documentation

🎯 Project Objective

The objective of this project is to design and simulate an embedded heartbeat monitoring system capable of:

  1. Reading an analog pulse signal.
  2. Detecting heartbeat events.
  3. Calculating approximate Beats Per Minute (BPM).
  4. Comparing BPM against configured thresholds.
  5. Displaying BPM and status on an LCD.
  6. Activating LEDs according to system status.
  7. Activating a buzzer during alert conditions.

The project demonstrates fundamental concepts of embedded systems, sensor interfacing, signal processing, decision logic, and real-time user feedback.


🛠️ Technology Stack

Software

  • Arduino C / Embedded C++
  • Arduino IDE compatible code
  • VS Code
  • Wokwi
  • Git
  • GitHub

Hardware

  • Arduino UNO
  • Analog Pulse Sensor
  • 16x2 LCD
  • Green LED
  • Red LED
  • Buzzer
  • Resistors
  • Breadboard
  • Jumper wires

Wokwi Simulation

Because Wokwi does not provide the exact hobby-grade Pulse Sensor used for the planned real-hardware implementation, the virtual prototype uses:

  • Arduino UNO
  • Potentiometer
  • 16x2 LCD
  • Green LED
  • Red LED
  • Buzzer
  • Software-generated heartbeat behavior

The potentiometer represents an analog sensor input in the simulation.


🧩 System Architecture

                 Pulse Sensor
                      |
                      v
              Analog Input A0
                      |
                      v
               Beat Detection
                      |
                      v
                BPM Calculation
                      |
                      v
              Threshold Evaluation
                      |
             +--------+--------+
             |                 |
             v                 v
          NORMAL             ALERT
             |                 |
       +-----+-----+     +-----+-----+
       |     |     |     |     |     |
       v     v     v     v     v     v
    Green   LCD  Buzzer  Red   LCD  Buzzer
     LED          OFF    LED         ON

About

Arduino-based Heartbeat Monitor with BPM calculation, LCD visualization, LED indicators, buzzer alerts, and Wokwi virtual simulation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages