Code4Cure
SHIELD — Smart Health Initiative for Ecosystem & Livestock Defence

Protecting livestock with real-time, data-driven intelligence.

SHIELD combines a lightweight accelerometer collar, NFC identity, and AI analytics to detect estrus early, predict calving, and flag health anomalies — empowering farmers and veterinarians with timely action.

Real-time monitoring
NFC-based identity
AI-driven alerts
Made in India • One Health Hackathon
Cow with SHIELD collar
CODE4CURE
SHIELD

Problem Statement

India’s livestock sector faces silent but significant losses due to missed reproductive events, fragmented records, and delayed field reporting. These gaps affect productivity, livelihoods, and national food security.

Fragmented surveillance

60%+ of disease cases are reported late or not at all because data is siloed in registers, calls, and local logs.

Missed estrus & reproduction

40–50% of heat cycles go unnoticed; missed heats delay conception by $\sim 21$ days, extending calving intervals and reducing yield.

Economic impact

Untreated metabolic issues and reproductive inefficiencies cost farmers thousands per animal and contribute to an estimated national loss of $\mathbf{\text{₹}30,000 \text{ crore}}$ annually.

Our Solution — SHIELD

A unified hardware + software ecosystem that captures behaviour, creates digital identity, and provides predictive insights — designed specifically for India’s dairy & livestock landscape.

What SHIELD does

  • Continuous behaviour capture using a precision accelerometer ($\mathbf{50 \text{Hz}}$ sampling).
  • Automated estrus detection by comparison to per-animal baselines.
  • Calving and stress alerts using posture & activity analytics.
  • NFC identity to connect physical animals to their digital records.
  • Unified dashboard accessible to farmers and vets for actionable insights.

Key Outcomes: Productivity Improvement

Simulated data showing the target impact of SHIELD deployment.

Data & Workflow

The pipeline is intentionally simple, robust, and auditable: from sensor sampling to cloud analytics and farmer action.

🎯

Capture

Accelerometer samples at $\mathbf{50 \text{ Hz}}$

Edge Process

ESP32 aggregates & timestamps data

Transmit

WiFi to cloud / gateway
🗄

Store

Timeseries Database ($\mathbf{\text{MySQL/Influx}}$)
📊

Analyze

AI computes estrus & anomaly scores

Processing & Analytics

Per-animal baselines are computed from $\mathbf{7–14}$ days of data. Features extracted include: **Activity RMS** ($\mathbf{\text{Root Mean Square}}$ of motion), posture transitions, lying duration, entropy, and feeding-motion proxy. A scoring model combines these into interpretable outputs: Estrus Likelihood, Stress Index, and Calving Probability.

Estrus Detection Accuracy Target: $\mathbf{>90\%}$

Outputs

  • Estrus likelihood ($\mathbf{0–100}$)
  • Calving alert ($\mathbf{12-48}$ hour lead time)
  • Stress & welfare index
  • Vaccination reminders via NFC-linked record

Hardware Architecture

Robust, low-power, and farmer-friendly.

ESP32 Microcontroller

Handles sampling, local filtering, sleep management, and secure WiFi transmission.

MPU6050 (Accelerometer)

High-precision 3-axis motion capture for activity, posture and feeding proxies.

NFC Tag & Reader

Instant animal identity and access to vaccination and medical history on tap.

Power & Enclosure

Li-ion battery
Rechargeable with TP4056 protection
Power saving
Deep sleep, wake-on-motion to maximize runtime ($\mathbf{3-4 \text{ weeks}}$)
Enclosure
3D printed ABS/TPU with silicone strap & $\mathbf{\text{IP43}}$ sealing
Field considerations
Robust connectors, replaceable strap, easy charging port

Admin Dashboard (Preview)

Designed for farmers, vets, and program managers with actionable cards & one-click reports.

Live Activity (24h)

Activity RMS values for Animal ID: 0045

Estrus Likelihood (Alert)

LOW RISK

Current estrus score relative to baseline.

Herd Overview & Alerts

Healthy Animals: $\mathbf{95\%}$
Active Alerts: $\mathbf{3}$ Animals
Calving Due (7 days): $\mathbf{1}$ Animal

Immediate status of the monitored herd.

Pilot Plan & Roadmap

From prototype to field pilots to scaled deployment.

Phase 1 — Prototype ($\mathbf{6 \text{ Months}}$)

Build $\mathbf{20}$ collars, test in controlled farm environment, validate estrus detection with vet logs (Target $\mathbf{>90\%}$ accuracy).

Phase 2 — Pilot ($\mathbf{12 \text{ Months}}$)

Deploy $\mathbf{200}$ collars across $\mathbf{10}$ farms, refine ML models with diverse data, iterate hardware design and power efficiency.

Phase 3 — Scale ($\mathbf{18+ \text{ Months}}$)

Partner with cooperatives & government, integrate with national surveillance systems, and scale manufacturing pipeline.

Team Code4Cure

A multidisciplinary team of engineers, veterinarians, and data scientists.

Aditya Gupta
Aditya Gupta
Software Lead
Kavya Arora
Kavya Arora
Hardware Lead
Sagarika
Sagarika
Marketing
Palak Mittal
Palak Mittal
Product & Ops
Arpit Grover
Arpit Grover
Hardware Engineer

FAQ

Can SHIELD diagnose disease?
No. SHIELD detects behavioural anomalies that often precede clinical symptoms. Confirmatory diagnosis requires veterinary lab tests.
What is the expected battery life?
With deep-sleep firmware and wake-on-motion, we expect $\mathbf{3–4 \text{ weeks}}$ operation depending on sampling rate and connectivity frequency.
Is the collar waterproof?
The enclosure is designed to meet $\mathbf{\text{IP43}}$; full waterproofing ($\mathbf{\text{IP67}}$) is a planned upgrade for scale.

Resources

Explore technical specifications and learn more about the team behind the project.