Blood Leakage and Blood Level Monitoring System Using Arduino

healthcare and medical environments, continuous monitoring of blood leakage and blood level is critical for ensuring patient safety and preventing life-threatening situations. To address this requirement, we designed and developed a Blood Leakage and Blood Level Monitoring System using Arduino as part of our Product Design and Development Services for a client.

This project integrates sensor technology, embedded systems, wireless communication, and real-time alerting to create a smart medical monitoring solution. The system continuously monitors blood flow conditions and communicates critical alerts via Bluetooth, enabling timely intervention by healthcare professionals.

This solution is a strong example of how Arduino Projects can be transformed into practical healthcare monitoring products through structured Arduino Project Services and professional system integration.

Project Overview || Blood Leakage and Blood Level Monitoring System

The Arduino-based Blood Leakage and Blood Level Monitoring System is designed to:

  • Detect blood leakage using IR transmitter and IR receiver sensors
  • Measure blood level in a bottle or container using an ultrasonic sensor
  • Provide audible alerts using a buzzer
  • Transmit real-time status updates via Bluetooth (HC-05)
  • Display alerts and status messages in a user-friendly mobile application

The system is suitable for blood transfusion monitoring, hospital safety systems, and smart healthcare devices.

If you want Heart Rate Monitoring System Project using Arduino and Smartphone App then please Visit this Page.


Components Used in Blood Leakage and Blood Level Monitoring System

ComponentDescription
Arduino BoardCentral controller
Ultrasonic SensorBlood level measurement
IR Transmitter & ReceiverBlood leakage detection
HC-05 Bluetooth ModuleWireless communication
BuzzerAudible alert
Resistors & WiresCircuit connections
External Power SupplySystem power

Working Principle of Blood Leakage and Blood Level Monitoring Project

The project combines multiple sensing and communication technologies into a unified embedded system.


Arduino Controller – Central Processing Unit

The Arduino board acts as the core controller, coordinating all sensors, actuators, and communication modules. It continuously executes monitoring logic, evaluates sensor data, and triggers alerts when abnormal conditions are detected.


Blood Level Monitoring Using Ultrasonic Sensor

  • An ultrasonic sensor is mounted above the blood container.
  • The sensor measures the distance between the sensor and blood surface.
  • If the measured distance exceeds a predefined threshold, it indicates:
    • Low blood level
    • Empty blood bottle

Upon detection:

  • The buzzer is activated
  • A Bluetooth alert message is sent to the monitoring application

This non-contact measurement method improves hygiene and reliability, which is essential in medical product design and development.


Blood Leakage Detection Using IR Sensors

  • An IR transmitter emits infrared signals
  • One or more IR receivers detect the reflected or interrupted signal
  • If the IR signal is not received within a defined timeout period, the system assumes:
    • Blood leakage has occurred

When leakage is detected:

  • The buzzer sounds an immediate alarm
  • A Bluetooth alert message is sent to the user application

This approach enables early leakage detection, significantly improving patient safety.


IR Transmission & Reception for External Control

The system also uses the IRremote library to:

  • Transmit IR signals to trigger external devices
  • Receive IR commands and execute predefined actions

This adds flexibility and allows the system to integrate with external alert devices or automation systems.


Bluetooth Communication & Mobile App Integration

Bluetooth Module (HC-05)

  • Communication is handled using the SoftwareSerial library
  • HC-05 Bluetooth module is connected to Arduino digital pins
  • Baud rate is set to 9600

Data Transmission Logic

The Arduino sends formatted string messages via Bluetooth that include:

  • Blood leakage status
  • Blood level status
  • Predefined color codes for visual alert representation
  • Event-based notifications for critical conditions

This allows:

  • Real-time monitoring
  • Easy integration with mobile or desktop applications
  • Improved response time for medical staff

Alert Mechanism Using Buzzer

An onboard buzzer provides immediate audible alerts in case of:

  • Blood leakage detection
  • Low blood level or empty bottle

Audible alerts are crucial in healthcare environments where visual monitoring alone may not be sufficient.


Product Design and Development Services – Client Project

This project was developed using a professional product development workflow, including:

  1. Healthcare requirement analysis
  2. Sensor selection and placement strategy
  3. Embedded firmware development
  4. Wireless communication integration
  5. Alert logic implementation
  6. System testing and validation
  7. Client demonstration and deployment

Such an approach ensures reliability, safety, and scalability, which are essential in medical and healthcare product development.

Circuit Diagram of IR Transmitter-Receiver and Ultrasonic Sensors with Arduino

Arduino Code for Blood Leakage Detection System

#include <Arduino.h>
#include <IRremote.hpp>  // include the library
#include <SoftwareSerial.h>

#define DELAY_AFTER_SEND 2000
#define DELAY_AFTER_LOOP 5000
#define DECODE_NEC  // Includes Apple and Onkyo

#define IR_RECEIVE_PIN      2 // To be compatible with interrupt example, pin 2 is chosen here.
#define IR_SEND_PIN         3

const int bluetoothTx = 4;         // TX pin of HC-05 connected to Arduino's pin 4
const int bluetoothRx = 5;         // RX pin of HC-05 connected to Arduino's pin 5
const int trigPin = 9;
const int echoPin = 10;
const int buzzer = 6;
const int MAX_DISTANCE = 20;  // Maximum distance threshold in centimeters

SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);  // Create a SoftwareSerial object for Bluetooth communication


uint16_t sAddress = 0x0102;
uint8_t sCommand = 0x10;
uint8_t sRepeats = 1;

unsigned long lastReceiveTime = 0;
const unsigned long RECEIVE_TIMEOUT = 5000;  // Timeout in milliseconds (adjust as needed)

long duration;
int distance;

void setup() {
  Serial.begin(9600);
  bluetooth.begin(9600);     // Start communication with Bluetooth module
  pinMode(trigPin, OUTPUT);  // Sets the trigPin as an Output
  pinMode(echoPin, INPUT);   // Sets the echoPin as an Input
  pinMode(buzzer, OUTPUT);
  digitalWrite(buzzer, LOW);


  // Start the receiver and if not 3. parameter specified, take LED_BUILTIN pin from the internal boards definition as default feedback LED
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK);
  Serial.print(F("Ready to receive IR signals of protocols: "));
  printActiveIRProtocols(&Serial);

  IrSender.begin(IR_SEND_PIN);
}

void loop() {

Applications of Arduino-Based Blood Leakage Detection System

  • Blood transfusion monitoring systems
  • Hospital patient safety solutions
  • ICU and operation theater monitoring
  • Smart healthcare IoT devices
  • Medical training and simulation systems
  • Remote patient monitoring platforms

Conclusion

The Blood Leakage and Blood Level Monitoring System using Arduino is a powerful demonstration of how embedded electronics and sensor fusion can enhance healthcare safety and efficiency. Developed as a client-based project, it reflects our expertise in Product Design and Development, Arduino Projects, and custom medical electronics solutions.

This project highlights our ability to convert complex medical monitoring requirements into functional, reliable, and user-friendly products.

Need Help/Assistance in Wireless Blood Monitoring System with Bluetooth Project?

If you need this Wireless Blood Monitoring System with Bluetooth with or without Modifications or Customization then you can contact us through WhatsApp. We can deliver you this Project in the Following Ways.

Project Code:
we can provide you Project Code along with Zoom Assistant, through Zoom meeting for Setup of this Project or any other Arduino Project of your need.

Fully Functional Project with Hardware/Components Shipment:
if you can not make this project yourself then you can use this option. We will assemble the Project and will ship it to your Doorstep with Safe Packaging.

Learn More about the services we offer.

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook
YouTube