Cold_Chain_Monitoring_System

ColdTrack - RSV Vaccine Cold Chain Monitoring System

ColdTrack Architecture

IoT-enabled temperature monitoring system for RSV vaccine transportation with multi-dimensional freeze damage assessment

๐ŸŽฏ Project Overview

ColdTrack is an MSc capstone project addressing vaccine cold chain failures that compromise ~7% of vaccines globally. The system specifically targets RSV vaccine transportation, combining real-time monitoring with AI-powered freeze damage scoring.

Key Features

๐Ÿ—๏ธ Architecture

ESP32 Device โ†’ AWS IoT Core โ†’ Lambda Functions โ†’ InfluxDB โ†’ Grafana
  (Layer 1)      (Layer 2)       (Layer 3)      (Layer 4)   (Layer 5)

Technology Stack

๐Ÿš€ Quick Start

Prerequisites

# Install dependencies
python3 --version  # 3.11+
docker --version   # 20.10+
aws --version      # 2.x

1. Clone & Setup

git clone https://github.com/Adhish-Rao2405/Cold_Chain_Monitoring_System.git
cd Cold_Chain_Monitoring_System
cp config/.env.example .env

2. Start Local Services

# Start InfluxDB + Grafana
docker-compose -f config/docker-compose.yml up -d

# Verify services
curl http://localhost:8086/health  # InfluxDB
curl http://localhost:3000          # Grafana

3. Setup AWS IoT Core

# Run automated setup
./scripts/setup_aws.sh

# This creates:
# - IoT Thing (CT-001)
# - Device certificates
# - IoT policy
# - IoT rule for Lambda

4. Deploy Lambda Functions

./scripts/deploy_lambda.sh

5. Run Device Simulator

cd device/simulator
pip install -r requirements.txt
python simulator.py

6. Access Grafana

Open http://localhost:3000

You should see live temperature data within 60 seconds! ๐ŸŽ‰

๐Ÿ“ Project Structure

ColdTrack/
โ”œโ”€โ”€ device/          # Device code (simulator + ESP32)
โ”œโ”€โ”€ cloud/           # AWS infrastructure (IoT, Lambda)
โ”œโ”€โ”€ database/        # InfluxDB schemas & queries
โ”œโ”€โ”€ visualization/   # Grafana dashboards
โ”œโ”€โ”€ scripts/         # Setup & deployment scripts
โ”œโ”€โ”€ tests/           # Test suite
โ””โ”€โ”€ docs/            # Documentation

See PROJECT_STRUCTURE.md for detailed structure.

๐Ÿงช Testing

# Unit tests
pytest tests/unit/

# Integration tests
pytest tests/integration/

# Test MQTT connection
./scripts/test_connection.sh

๐Ÿ“Š Monitoring

๐Ÿ”ง Configuration

Environment Variables

Copy .env.example to .env and configure:

# AWS Configuration
AWS_REGION=eu-west-2
AWS_ACCOUNT_ID=your_account_id

# InfluxDB Configuration
INFLUX_URL=http://localhost:8086
INFLUX_TOKEN=your_token
INFLUX_ORG=coldtrack
INFLUX_BUCKET=sensors

# Alert Thresholds
TEMP_MIN=2.0
TEMP_MAX=8.0
FREEZE_ALERT_THRESHOLD=0.0

Device Configuration

Edit device/simulator/config.json:

{
  "device_id": "CT-001",
  "mqtt_endpoint": "xxxxx.iot.eu-west-2.amazonaws.com",
  "topic": "coldtrack/sensors/CT-001/data",
  "publish_interval": 60,
  "temp_range": [2.0, 8.0]
}

๐Ÿ“š Documentation

๐ŸŽฏ Development Roadmap

Phase 1: Core System (January 2026) โœ…

Phase 2: Enhanced Features (February 2026) ๐Ÿ”„

Phase 3: Hardware Integration (March 2026) ๐Ÿ“

Phase 4: Testing & Refinement (April 2026) ๐Ÿ“

๐Ÿ‘ฅ Team

Supervisor: Dr. Akin Delibasi
Institution: University College London
Course: MSc Designing Sensor Systems
Deadline: April 2026

๐Ÿ“„ License

This project is part of academic coursework at UCL.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Contact

For questions or collaboration:


Built with โค๏ธ for safer vaccine transportation