Closed Source

Smart Security Band

Flutter Dart ESP32 BLE C++ IoT

Smart Security Band

A Flutter application built for a Wearable Sensor-Based Smart Security and Health Monitoring System. Designed as a university engineering capstone (CDTP), it monitors elderly users’ health and safety in real-time by connecting to an ESP32 microcontroller via Bluetooth Low Energy (BLE).

✨ Features

  • Real-Time Monitoring: Live heart rate charts and body temperature displays.
  • 5 Emergency Detection Scenarios: Detects falls (MPU6050), physical panic button presses, high/low heart rate thresholds, and prolonged immobility.
  • Automated Emergency Response: Triggers full-screen visual alerts, loud audio alarms, device vibration, and automatic SMS notifications.
  • Hardware Integration: Communicates seamlessly with MAX30102 (HR/SpO2), MPU6050 (IMU), and DS18B20 (Temperature) sensors.

🧩 Tech Stack

  • Framework: Flutter (Dart)
  • State Management: Provider
  • Bluetooth/IoT: flutter_blue_plus (BLE communication)
  • Hardware (Backend): ESP32, C++

🛠️ Run Locally

Note: Requires a physical Android device, as BLE scanning does not work on emulators.

# Clone the repository
git clone [https://github.com/abduelmorsi/smart_armband.git](https://github.com/abduelmorsi/smart_armband.git)
cd smart_armband

# Install dependencies
flutter pub get

# Run on physical Android device
flutter run

⚙️ Configuration

You can customize the targeted ESP32 device name and BLE UUIDs inside lib/services/ble_service.dart. User preferences like heart rate thresholds and emergency contacts are persisted locally via SharedPreferences.

🚀 Future Ideas

  • GPS location sharing embedded in the emergency SMS.
  • Voice command (“Help!”) emergency triggers.
  • SpO2 monitoring UI integration.