Mahindra University · ECE Project · WSN Lab

WSN Testbed
Management
Interface

A comprehensive interface for configuring, programming, monitoring, and analyzing results from a physical wireless sensor network testbed — with remote access and live network visualization.

96.4%
Packet Delivery Ratio
24ms
Average Latency
38 pkt/s
Throughput
12
Sensor Nodes
GW Gateway N1 N2 N3 N4 N5 N6 N7 NETWORK TOPOLOGY · 9 ACTIVE · 2 OFFLINE
Python / Django
JavaScript / React
WebSockets
PostgreSQL / MongoDB
Serial / USB Hardware
Data Visualization
Authentication System
Real-Time Monitoring
Firmware Deployment
Role-Based Access
Energy Analytics
RPL Routing

Project Abstract

Built for clear control
over a physical WSN testbed.

Abstract: Creation of a comprehensive user-friendly interface for configuring, programming, monitoring, and analyzing results from a physical WSN testbed. The system provides remote access to testbed functions and visualizes network status.

The interface brings together all aspects of wireless sensor network management — from initial node configuration and firmware deployment, through live telemetry monitoring, to detailed experiment result analysis — in a single, coherent web application.

"This project is a web-based WSN Testbed Management Interface used for configuring, programming, monitoring, controlling, and analyzing wireless sensor nodes in real time."
🐍
Python / Django
Backend APIs for nodes, experiments, deployments, users, and results
⚛️
JavaScript / React
Frontend interface for configuration, monitoring, charts, and controls
🔌
WebSockets
Live telemetry channel for node status, packet flow, and gateway updates
🗄️
PostgreSQL / MongoDB
Structured experiment data, optional raw sensor payload storage
🔧
Hardware Interfaces
Serial/USB for gateway connection, node programming, and telemetry

Dashboard Page

Live overview for real-time
WSN testbed monitoring.

All critical system metrics at a glance — node counts, sensor readings, network health, and active alerts.

Total Nodes
12
Deployed in testbed
Active Nodes
9
Online and reporting
Offline Nodes
3
Requires attention
Network Health
91%
System running normally
Avg. Temperature
27.4°C
Across active nodes
Avg. Humidity
56%
Within normal range
Active Alerts
4
2 critical, 2 warnings
Gateway Status
OK
Connected via USB
Node Status Overview
N-01Gateway LabActive
N-02North RackOffline
N-03Sensor BedActive
N-04Outdoor RailLow Battery
N-05East CornerActive
Live Metrics
Packet Delivery Ratio96.4%
Average Latency24 ms
Throughput38 pkt/s
Avg. RSSI−61 dBm
Avg. Battery66%
Active Alerts
Node 2 Offline
Critical · Immediate attention
High Temperature at Node 1
Warning · Threshold exceeded
Low Battery at Node 3
Critical · Below safe level
Weak Signal at Node 4
Warning · RSSI below threshold
Gateway Connected
Normal · Network reachable

Node Management Page

Manage every wireless sensor
node from one screen.

Node ID Node Name Temperature Humidity Battery RSSI Status
N-01Gateway Lab28.1°C54% 92% −42 dBmActive
N-02North Rack 74% Offline
N-03Sensor Bed29.3°C60% 31% −68 dBmLow Battery
N-04Outdoor Rail27.5°C52% 66% −74 dBmActive
N-05East Corner26.2°C48% 88% −55 dBmActive
N-06West Pillar28.7°C57% 79% −63 dBmActive

Configuration Page

Testbed settings for sampling,
thresholds, and power management.

Sampling Interval
Power Saving Mode
Auto Reconnect
Routing Mode
Data Refresh Rate
Alert Thresholds
Temperature Alert Limit (°C)
Humidity Alert Limit (%)
Battery Warning Level (%)
RSSI Floor (dBm)
Transmission Power
TX Power Level

Programming / Control Page

Device control for firmware,
reboot, ping, and time sync.

📦
Upload Firmware
Drag and drop .bin file, or click to browse
Last firmware update successful — firmware_v4.bin · Cluster A · 100% complete
Update Node Software
Push latest firmware to selected node group
Reboot All Nodes
Perform a clean restart across the entire testbed
Ping Selected Node
Verify connectivity and measure round-trip time
Sync Network Time
Synchronize all node clocks to gateway reference
Deploy Configuration Profile
Apply saved parameter set to target node cluster

Network Topology Page

Gateway, nodes, links, coverage,
and broken connection overview.

GW Gateway N1 N2 N3 N4 N5 N6 N7 N8 Active Offline
9
Connected Nodes
2
Broken Links
120 m²
Coverage Area
RPL
Routing Protocol

Website Sections

Everything the interface needs,
presented as a polished system.

01
Configuration Console
Profiles for sampling rate, transmission power, routing mode, experiment duration, and deployment targets. Persistent settings with reset capability.
Sampling RateTX PowerRPL
02
Programming Flow
Firmware upload, bundle validation, deployment queue management, and progress indicators for individual nodes and full cluster groups.
Serial/USBFirmwareDeployment
03
Network Monitoring
Visual node health indicators, packet delivery ratio, RSSI levels, battery status, gateway latency, and real-time WebSocket telemetry updates.
WebSocketsPDRRSSI
04
Result Analysis
Experiment run summaries, downloadable reports in CSV and PDF formats, activity logs, trend charts, and comparison-ready performance metrics.
ChartsExportLogs
05
Authentication & Access
Role-based access control for administrators, operators, and viewers. Secure login protects remote testbed functions and prevents unauthorized changes.
RBACSecure LoginRoles
06
Alert Management
Color-coded alert system for critical and warning events — offline nodes, temperature threshold breaches, low battery conditions, and weak signal detection.
CriticalWarningThresholds

Evaluation Coverage

Mapped directly to all
required assessment parameters.

01
Functionality & Implementation
The interface demonstrates node configuration, firmware programming, remote monitoring, result review, authentication, and hardware access through serial or USB.
02
Technical Depth & Complexity
The architecture includes Django APIs, React UI, WebSocket telemetry, PostgreSQL or MongoDB storage, authentication, data visualization, and physical testbed integration.
03
Performance & Efficiency
The project tracks energy consumption, latency, packet delivery ratio, throughput, RSSI, battery health, and node uptime to evaluate testbed performance.
04
Results & Analysis
Experiment outputs organized as run summaries, metric tables, trend charts, log review, and clear interpretation of findings with export capability.
05
Documentation & Presentation
The site presents abstract, feature scope, architecture, toolchain, workflow, results, and demo evidence in a clean, explainable format for the viva examination.

Analytics Page

Charts and metrics for sensor trends,
battery drain, PDR, and uptime.

96.4%
Packet Delivery Ratio
Stable communication across the testbed during a 45-minute monitoring run.
24 ms
Average Latency
Low gateway round-trip delay suitable for near-real-time monitoring.
38 pkt/s
Throughput
Measured aggregate packet flow under multi-node sensing conditions.
18%
Energy Reduction
Battery usage reduced after lowering sampling rate during idle periods.
Temperature Trend — Experiment Runs
Run 1
Run 2
Run 3
Run 4
Run 5
Run 6

Packet delivery improved after node placement and routing adjustments in Run 3.

Analytics Included
Temperature Trend
Humidity Trend
Battery Drain Graph
Packet Delivery Ratio
Node Uptime %
RSSI Distribution
Throughput Over Time

Workflow

From setup to
verified experiment results.

01
Prepare
Select node groups, set radio parameters, and verify gateway availability before the experiment begins.
02
Deploy
Upload firmware and program connected nodes through serial or USB hardware interfaces via the control panel.
03
Observe
Stream telemetry over WebSockets and watch live status updates as the experiment runs in real time.
04
Analyze
Review activity logs, compare performance graphs across runs, and export reports for documentation.

Technical Architecture

How the complete WSN interface
is designed to work.

React Website UI
Configuration console, live charts, node management, logs, and access control screens
Django REST API
Endpoints for nodes, experiments, deployments, results, users, and authentication
WebSocket Layer
Persistent low-latency channel for live telemetry updates and network status events
Database Layer
PostgreSQL for structured experiment data; MongoDB optional for raw sensor payloads
Hardware Boundary
Serial/USB adapters for gateway connection, node programming, and firmware flashing
Protocols
HTTP REST APIs handle configuration operations and report retrieval, while WebSockets support low-latency telemetry updates during active experiments.
Data Flow
Sensor nodes transmit readings to the gateway via the WSN radio protocol. The backend collects, stores, and processes data, while the interface visualizes current network status and historical results.
Hardware Boundary
Serial/USB operations are isolated in a dedicated module so firmware flashing, telemetry parsing, and gateway communication remain maintainable and independent from the web layer.
Security
Role-based authentication governs all remote testbed access. Administrator, operator, and viewer roles have distinct permission scopes enforced at the API level.

Testing Evidence

Validation checklist for
the final demonstration.

Test Area Expected Evidence Status
Node Configuration Accepted profile values and target node selection with persistence ✓ Documented
Telemetry Stream Live readings visualized through WebSocket-style updates in real time ✓ Documented
Performance Metrics PDR, latency, throughput, energy use, RSSI, and battery measurements ✓ Included
Result Analysis Simulation output with interpreted findings, charts, and export ✓ Included
Firmware Deployment Upload flow, validation, progress tracking, and completion confirmation ✓ Included
Authentication Login screen, role-based access, and protected route behavior ✓ Included
Presentation Clear website, architecture diagram, toolchain, workflow, and demo flow ✓ Complete

Best Viva Line

"This project is a web-based WSN Testbed Management Interface used for configuring, programming, monitoring, controlling, and analyzing wireless sensor nodes in real time."

Logs / Reports Page

System events, report exports,
and downloadable experiment evidence.

10:15 AM
Node Connected
N-01 Gateway Lab came online · RSSI −42 dBm
10:22 AM
Node Restarted
N-05 East Corner · Scheduled reboot completed
10:31 AM
Sensor Threshold Exceeded
N-01 temperature reached 33.2°C · Alert triggered
10:44 AM
Firmware Updated
firmware_v4.bin deployed to Cluster A · 6 nodes
10:58 AM
Node Offline
N-02 North Rack · Lost connection after timeout
11:10 AM
Experiment Run Completed
RUN-2231 · PDR 96.4% · Latency 24 ms · 45 min
Export Reports
Export as CSV
Export as PDF
Download Full Log
Export Run RUN-2231

Login Page

Secure admin access for
protected testbed functions.

WSN Testbed Login
Enter your credentials to access the management interface.

Role-based access control governs all remote testbed functions. Three distinct permission levels protect configuration, programming, and monitoring capabilities.

Administrator
Full access — configuration, firmware deployment, node control, user management, and system settings.
Operator
Operational access — monitoring, telemetry review, alert management, and report export.
Viewer
Read-only access — dashboard overview, live node status, and historical data browsing.

Interface Goal

Remote testbed access with
a research-ready presentation.

Institution
Mahindra University
Hyderabad, India
Stack
Django + React
WebSockets · PostgreSQL · Serial/USB