PetGuard Pro

Smart Pet Collar for Real-Time Tracking, Geo-fencing & Health Monitoring


Team


Table of Contents

  1. Introduction
  2. Solution Architecture
  3. Hardware & Software Designs
  4. Testing
  5. Detailed Budget
  6. Conclusion
  7. Links

Introduction

Pet owners face significant challenges in ensuring the safety and health of their pets due to limited real-time visibility and delayed responses to emergencies. Pets cannot communicate distress or abnormal conditions, making early detection difficult.

PetGuard Pro addresses this problem through an IoT-based smart pet collar integrated with a cloud backend and a mobile application. The system provides real-time location tracking, geo-fencing alerts, health monitoring, and intelligent notifications, enabling proactive and reliable pet care.


Solution Architecture

High Level Architecture Diagram

High Level Architecture

Prototype Implementation Diagram

Prototype Implementation

PetGuard Pro follows a device–cloud–mobile architecture:

Communication Flow

  1. Sensors → ESP32 (data acquisition)
  2. ESP32 → Firebase (via HTTPS REST APIs over WiFi)
  3. Firebase → Mobile App (real-time streaming)
  4. Mobile App → User interface updates & alerts

Hardware & Software Designs

Hardware Design (Pet Collar Unit)


Software Design

Mobile Application

Flutter Mobile Application

Core Features
Data Visualization & UX
Performance Optimization

Cloud Backend (Prototype Implementation)

Services Used:
Key Features:

Database Structure


System Limitations & Workarounds


Testing

Testing was conducted using a layered, progressive validation strategy, ensuring reliability at each stage of system development—from individual components to full system integration.


Testing Strategy & Validation Approach

API-Level Testing

Initial validation focused on backend APIs using Postman.


Firebase Integration Testing

The system was then integrated with Firebase to validate real-time data handling.


Hardware Data Simulation (Pre-Hardware Phase)

Before hardware availability, sensor data was simulated using an MQTT-based approach (HiveMQTT).


Hardware Integration & Functional Testing

After assembling the hardware, full system testing was conducted using WiFi-based communication.

Scenario-based validation included:


Communication & Reliability Testing


Application Testing


Field Testing


Future Testing Plan (Scalability & Network Robustness)

Large-scale testing has not yet been conducted due to the use of Firebase for rapid prototyping.

Planned future work includes:


Detailed Budget

Item Quantity Unit Cost (LKR) Total (LKR)
ESP32 MCU 1 1500 1500
GPS Module (NEO-M8N) 1 3000 3000
Health Sensors (PPG, IMU, Temp) 1 set 3300 3300
Battery & Charging Circuit 1 2200 2200
Buck Converter 1 1000 1000
LEDs & Buzzer 1 set 150 150
PCB, Wiring & Connectors 1 set 1000 1000
Enclosure 1 800 800
Total     12,950

Conclusion

PetGuard Pro demonstrates a scalable and efficient IoT-based smart pet monitoring system. By integrating embedded sensing, cloud-based data processing, and a responsive mobile application, the system enables real-time safety monitoring and health insights.

The architecture is designed for extensibility, allowing future enhancements such as cellular connectivity, advanced analytics, and improved power optimization for real-world deployment.