Home / Cloud Monitoring Dashboard

Cloud Monitoring
Dashboard

ThingSpeak cloud platform with MATLAB analytics for real-time data visualization, trend analysis, and automated risk detection.

ThingSpeak IoT Platform

ThingSpeak is an open IoT analytics platform developed by MathWorks (the makers of MATLAB). It is designed specifically for collecting, storing, analyzing, and visualizing data from IoT devices — making it ideal for the slope monitoring application.

The ESP32 microcontroller transmits sensor readings to ThingSpeak via HTTP POST requests using the ThingSpeak REST API. Each data point is tagged with a timestamp and stored in the cloud database. ThingSpeak's built-in charting tools automatically create time-series plots for each data channel.

Crucially, ThingSpeak integrates directly with MATLAB Online, allowing complex analysis scripts to be run automatically on incoming data — enabling the Slope Stability Index calculation and automated risk classification.

📊 View Live ThingSpeak Dashboard
ThingSpeak IoT Dashboard

ThingSpeak Data Fields

The monitoring channel is configured with six data fields, each storing a different parameter from the ESP32 sensor system.

Field 1
Tilt Angle
MPU6050 derived slope angle in degrees. Primary indicator of physical slope deformation.
Field 2
Soil Moisture
Percentage soil moisture (0–100%). Tracks water infiltration and rainfall effects on slope stability.
Field 3
Vibration
SW420 binary vibration detection (0 = none, 1 = detected). Logged with timestamp for event analysis.
Field 4
Real-Time Risk
Instantaneous SSI risk level computed on the ESP32 at each reading cycle.
Field 5
Trend Risk
MATLAB-computed trend risk based on moving average analysis of historical SSI values.
Field 6
Stability Index
Composite Slope Stability Index (SSI) score combining tilt, moisture, and vibration sub-scores.
Tilt Angle Chart Soil Moisture Chart Slope Stability Index Chart

MATLAB Trend Analysis

MATLAB Analysis scripts run automatically on the ThingSpeak platform whenever new data arrives. The scripts perform trend analysis on historical sensor data to detect gradual slope deterioration that may not trigger immediate real-time alerts.

SSI Formula

Slope Stability Index
SSI = TiltScore + MoistureScore + VibrationScore
Score Components:
• TiltScore: 5 (low) → 15 (moderate) → 25 (high) → 40 (critical)
• MoistureScore: 5 (dry) → 10 (moist) → 20 (wet) → 35 (saturated)
• VibrationScore: 0 (none) → 15 (detected)

Trend Analysis Functions

  • Moving average smoothing of SSI over rolling time windows
  • Rate-of-change detection (slope of SSI trend)
  • Threshold crossing alert generation
  • Statistical anomaly detection for sudden changes

Risk Classification Zones

SAFE
SSI < 30
Slope conditions are normal. No immediate action required. Continue routine monitoring.
WARNING
30 ≤ SSI ≤ 60
Elevated risk detected. Increase monitoring frequency. Alert geotechnical engineer for assessment.
🚨
DANGER
SSI > 60
Critical risk. Immediate evacuation of slope area. Emergency response procedures to be activated.
MATLAB Analysis Output
📊
MATLAB Analysis Script Output
Replace with MATLAB analysis chart

Simulated Sensor Dashboard

Simulated readings — updates every 2.8 seconds

Mine Slope — ThingSpeak Monitor
Channel ID: XXXXXXXX
Simulated Live
Field 1 · Tilt
--°
Field 2 · Moisture
--%
Field 3 · Vibration
NONE
Field 6 · SSI Score
--
Risk Status
✓ SAFE