Skip to content

Devansh30032004/RFID_Medical_Tracking_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

RFID-Based Medical Equipment Tracking System with Location Monitoring

This project presents a smart real-time tracking system for monitoring the movement and usage of critical medical equipment. It integrates RFID and GPS technologies with Wi-Fi-based data logging to Google Sheets, enabling centralized, live equipment tracking.


🔧 System Overview

The system comprises two independent circuits:

1. RFID Reader Unit

  • Uses ESP8266 with RC522 RFID module to scan RFID tags.
  • Sends scanned tag data to Google Sheets via Wi-Fi.
    RFID Reader Circuit

2. Equipment Tracking Unit

  • Uses ESP32 with NEO-6M GPS module to capture location data.
  • Sends real-time GPS coordinates to Google Sheets.
    Device Attached Circuit

Both units transmit data to a shared Google Sheet, displaying timestamps, RFID IDs, and clickable map links for location visualization.


🧠 Code Files

File Name Description
Device.ino Uploaded to ESP32. Captures GPS data via the NEO-6M module and transmits it with the corresponding RFID tag ID to Google Sheets.
RFID.ino Uploaded to ESP8266. Handles RFID scanning using the RC522 module and sends tag IDs to Google Sheets.
Write_to_rfid_tag.ino Uploaded to ESP8266. Used to program or write data to RFID tags.

📊 Google Sheet Dashboard

Live Google Sheet - RFID Location Tracking

Example Output

Timestamp Tag ID Latitude Longitude Map Link
2025-04-19 12:32:45 OxygenTank-283 25.5397 84.849556 Open

🌟 Key Features

  • Real-time tracking using GPS-enabled ESP32
  • RFID-based identification with ESP8266 + RC522
  • Automated data logging to Google Sheets via IFTTT
  • Timestamped records with location and tag ID
  • Interactive Google Maps links for quick navigation
  • Modular architecture for independent operation of scanning and tracking units

🧩 Hardware Components

Component Function
ESP32-WROOM Wi-Fi microcontroller for GPS data handling
ESP8266 NodeMCU Wi-Fi microcontroller for RFID scanning
NEO-6M GPS Module Provides real-time location data
RFID-RC522 Module Scans RFID tags
MFRC522 Tags Equipment identification
Power Modules 3.3V / USB regulated power supply

⚙️ Circuit Connections

Circuit 1: RFID Scanner (ESP8266 + RC522)

RC522 Pin ESP8266 Pin
SDA D4
SCK D5
MOSI D7
MISO D6
RST D3
VCC 3.3V
GND GND

The ESP8266 connects to Wi-Fi and transmits the scanned tag ID via IFTTT Webhook.


Circuit 2: GPS Tracker (ESP32 + NEO-6M)

NEO-6M Pin ESP32 Pin
TX GPIO16
RX GPIO17
VCC 3.3V
GND GND

The ESP32 captures and sends GPS coordinates to Google Sheets using a separate IFTTT webhook.


🧰 Software Stack

  • Arduino IDE – for programming ESP32 and ESP8266
  • IFTTT Webhooks – for automated data transfer
  • Google Sheets – for real-time data logging and visualization

Libraries Used

  • WiFi.h
  • HTTPClient.h
  • MFRC522.h
  • SPI.h
  • SoftwareSerial.h
  • TinyGPSPlus.h

🎥 Demonstration

▶️ Watch Demo Video
System Flow Diagram


🔍 Working Description

  1. RFID Tag Scan: The ESP8266 reads the RFID tag ID using the RC522 module.
  2. GPS Tracking: The ESP32 captures live coordinates via the NEO-6M GPS module.
  3. Data Logging: Both devices send data (timestamp, tag ID, latitude, longitude) to Google Sheets using Wi-Fi and IFTTT.
  4. Live Monitoring: The sheet auto-updates with clickable Google Maps links for easy equipment tracking.

🏫 Acknowledgment

Developed as part of EE341 – Electromagnetic Theory course project at IIT Patna.
A practical initiative bridging healthcare and technology through intelligent, real-time tracking systems.

About

RFID-Based Medical Equipment Tracking System with Location Monitoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages