Project Overview

ResQ is a smart CPR training system developed to make manikin-based practice more objective, measurable, and accessible. The project combines mechanical design, embedded sensing, firmware, local networking, backend software, data storage, and web-based dashboards into one integrated training platform. Its purpose is to support instructors and trainees with immediate CPR performance feedback while keeping the system affordable and usable without internet access.

Why We Developed ResQ

CPR is a technique-sensitive skill. Trainees need to maintain suitable compression depth and rate, allow full recoil, minimize interruptions, and use correct hand placement.

In conventional training, these qualities may be judged mainly through observation, creating several limitations:

ResQ was developed to address these limitations using a retrofit approach rather than requiring a complete replacement manikin.

The Developed System

ResQ consists of five closely connected parts working together as an integrated platform:

1. Sensor-Equipped Manikin Overlay

A soft chest overlay containing a TPU air-bladder structure and pressure-sensing zones. A Hall-effect sensor and magnet arrangement measures chest displacement. It fits over existing manikins to measure compression pressure, balance, depth, and chest return over repeated training sessions.

2. ESP32-C3 Controller and Firmware

The embedded controller reads sensors, manages calibration, detects device and session states, calculates CPR metrics, and communicates with LocalHub. Includes status LEDs, control buttons, a cadence buzzer, Wi-Fi connectivity, and dual operational modes (SENSOR / USB).

3. Windows ResQ LocalHub

A Tauri-based desktop application providing a one-click local training environment. It supervises the local MQTT broker, Spring Boot backend, dashboard services, and network health while offering QR-assisted workflows to minimize setup friction.

4. Instructor and Trainee Dashboards

Web-based dashboards providing real-time telemetry. Instructors can pair manikins, manage sessions, and monitor trainees concurrently. Trainees receive live feedback on depth, rate, recoil, pauses, and hand placement alongside personal session summaries.

5. Local Data & Optional Cloud Support

Core training data is saved locally on the instructor's computer, enabling offline deployment in outreach locations or skills labs. Optional cloud synchronization can be enabled for long-term analytics without blocking offline operations.

Engineering Approach

Local-First Architecture

All time-sensitive communication takes place over a local Wi-Fi network (MQTT to backend). This provides low communication delay, zero dependence on internet connectivity, easier remote deployment, and full local data control.

Explainable Feedback Logic

ResQ uses configurable, rule-based evaluations rather than an unexplained black-box score. Metrics explicitly break down depth range, rate cpm, recoil completion, pause durations, and pressure distribution.

Modular Design

Decoupled design across overlay, firmware, communication, backend, desktop host, dashboards, and storage layers allows individual components to be updated, tested, or replaced independently.

Main Project Objectives

  1. Measure key chest-compression characteristics objectively.
  2. Give trainees immediate and understandable feedback.
  3. Help instructors supervise multiple training stations.
  4. Store session results for review and progress tracking.
  5. Operate without dependence on internet connectivity.
  6. Retrofit existing manikins to reduce deployment cost.
  7. Provide a foundation for future manufacturing and product development.

Intended Users

Instructors & Medical Educators

Manage devices, start sessions, monitor several trainees simultaneously, identify error patterns, and review historical results.

Trainees

Receive immediate visual feedback during practice and review completed session summaries to target specific technical improvements.

Administrators

Manage users, system roles, system settings, connected devices, and audit-related training records.

Technicians

Perform calibration, hardware diagnostics, network setup, firmware updates, and ongoing device maintenance.

Training Institutions

Deploy multi-station CPR setups in skills labs, university medical faculties, first-aid programs, and community camps.

Current Development Outcomes

Hardware & Firmware Prototyping

Wearable overlay prototype completed with TPU air-bladder, pressure sensors, Hall-effect sensing, and defined ESP32-C3 firmware state machine.

Networking & Infrastructure

Implemented local MQTT telemetry, command handling, device provisioning, backend registration, auto-calibration, and readiness checks.

Software & Dashboards

Developed Tauri Windows LocalHub, local Spring Boot backend, session persistence, role-based access, and real-time instructor/trainee web dashboards.

Analytics & Security

Implemented live CPR metric calculation, fault/interruption recovery, CSV/JSON data exports, and comprehensive technical documentation.

Project Scope

Included in Current Platform

  • Chest-compression training and objective assessment
  • Metrics: depth, rate, recoil, pauses, balance, scoring
  • Local device pairing and auto-calibration
  • Real-time instructor and trainee dashboard feedback
  • Local data persistence and offline-capable operation
  • Diagnostics, device state monitoring, and CSV/JSON exports

Future Development

  • Mouth-to-mouth ventilation assessment
  • Heartbeat/pulse replication using transducers
  • Manufactured University of Peradeniya-branded manikin enclosure
  • Expanded cloud analytics and multi-site history
  • Optimized tablet/mobile native experiences
  • Medical educator validated training profiles
  • Production moulding, durability testing, and scaling

Recognitions

Developer Team

Meet the ResQ student development team.

Academic & Technical Mentors

Meet the mentors guiding our team.