Shanmugam N
Roll No. 106126118
NATIONAL INSTITUTE OF TECHNOLOGY TIRUCHIRAPPALLI
ज्ञान से निर्णय। निर्णय से उत्तरदायित्व।
A student-built exploration of spatial sensing, environmental intelligence, measurable power control and human-first automation — designed for demonstration, testing and real-time operation.
PROJECT TEAM / NIT TIRUCHIRAPPALLI
The interface treats the project as shared team knowledge: every member should be able to explain the problem, sensing, control logic, power allocation, limitations, safety and measured evidence — not only an individual sub-task.
Roll No. 106126118
Roll No. 106126042
Roll No. 106126008
Website & interactive system experienceRoll No. 106126114
Roll No. 106126142
Roll No. 106126110
Roll No. 106126002
Roll No. 106126078
Roll No. 106126064
One source of truth. One control philosophy. One consistent explanation from every member.
यत्र आवश्यकता, तत्र ऊर्जा।
A three-zone adaptive classroom that senses occupancy, daylight and environmental demand—then decides which loads deserve power inside a measured operating budget. Each decision remains visible, so the audience can follow what the system sensed, why a priority changed, what was allocated and what electrical effect was measured.
ऊर्जाA continuous decision loop. The rotating volumetric nucleus represents the local ESP32 control core, while electrons travel on genuinely projected 3D orbital planes around it—visually separating front, back and depth as live inputs, changing priorities and measured feedback circulate through the system. The motion is deliberately continuous because the classroom does not make one decision once—it repeatedly senses, evaluates, allocates and verifies.
01 / LIVE SYSTEM
Connect the browser to the ESP32 over USB Web Serial or a local WebSocket. Until a hardware link is active, every value is explicitly marked as simulation.
Simulation tip: click a zone to toggle occupancy. In LIVE mode the room becomes read-only and mirrors the ESP32.
HARDWARE BRIDGE
The included final firmware connects through USB Web Serial in Chromium browsers. The same telemetry schema can also be used by a future/custom WebSocket bridge, but that LAN server is not bundled in the supplied firmware.
ws://; use localhost/http or a secure wss:// bridge.Physical override remains the authority in the real prototype. Dashboard manual controls are isolated in a clearly labelled service mode.
Reduce the permitted controllable-load budget and watch lower-priority flexible loads yield first.
01.5 / INTERACTIVE SYSTEM LAB
This lab is deliberately separated from measured evidence. In SIMULATION MODE you can change occupancy, daylight, CO₂, temperature, humidity and load budget to understand the control logic. When real hardware is connected, sensor controls become read-only and the ESP32 remains the authority.
The LDR values are normalized relative brightness, not precision lux. Each zone is calibrated separately.
These control bands are prototype demonstration setpoints. They are not presented as universal health or legal limits.
Choose a step. The system will change state and show the exact engineering point you should explain.
Manual commands are meaningful only in MANUAL SERVICE. In the final firmware, the physical selector and safety rules must still have higher authority than the browser.
02 / THE PROBLEM
Students cluster unevenly. Daylight is different near windows. Thermal and ventilation demand change during the same lecture. A single wall switch sees none of it.
One occupied region causes the whole room to operate. Room-level control ignores spatial demand.
◫Lights or fans can operate where nobody is sitting—power is consumed without providing service.
○Artificial light stays high even when daylight is sufficient. Natural light is not treated as an energy resource.
☼Presence alone cannot tell whether occupied air is warm, humid or in need of greater ventilation.
≈Loads switch independently. No mechanism decides which demand deserves priority when capacity is constrained.
⇄Switching something off is not proof of energy saved. The project measures voltage, current and real power.
∿“From automatic switching to energy decision-making.”
Human need before automation · local-first control · measured claims · low-voltage safety · explainable decisions · graceful failure.
03 / SYSTEM ARCHITECTURE
Inputs do not directly switch outputs. Raw sensing becomes interpreted demand; demand is prioritized; the energy manager allocates; measured power closes the evidence loop.
04 / SPATIAL INTELLIGENCE
Three zones are complex enough to demonstrate front/middle/rear variation without turning a student prototype into a wiring maze.
Motion history decides logical occupancy. Local brightness decides whether artificial light is actually needed.
An empty middle zone can remain unpowered even while students occupy the front or rear of the classroom.
Local daylight can reduce only the lighting that became unnecessary instead of dimming the entire room.
05 / ENVIRONMENTAL INTELLIGENCE
A representative room-level SCD30 adds CO₂, temperature and relative humidity. These are converted into transparent demand states—not a mysterious “AI score”.
< 1000 ppm normal · 1000–1500 ppm ventilate · >1500 ppm high priority. These are configurable demonstration setpoints, not universal health limits.
<27 °C normal · 27–30 °C warm · >30 °C hot. Temperature increases fan priority only for occupied zones.
Relative humidity is monitored and flagged. The project does not claim that a simple fan “controls” humidity.
MEASUREMENT QUALITY
Keep the environmental sensor away from direct fan discharge, lamp heat, the ESP32 regulator and the window opening. A breath challenge can demonstrate response—but must never be presented as a normal room-average measurement.
06 / DYNAMIC ENERGY REALLOCATION
When lower-priority demand falls, a higher-priority load may use more of the same permitted budget. Nothing is physically “moved” from a lamp to a fan.
Reserve minimum service first, then allocate the remaining budget by priority. The visual below follows the same logic as the live command centre.
For a visible priority demonstration, prepare the high-demand case first. It creates three occupied zones, mixed daylight, high CO₂ and a hot room in SIMULATION MODE.
07 / BUILD JOURNEY · 0 → WORKING MODEL
This section converts the blueprint into a practical assembly sequence. Select a stage to see exactly what is being built, why that stage exists, what to verify before moving forward and what failure would look like.
08 / PHYSICAL COMPONENT EXPLORER
Choose any physical item to understand its quantity, role, connection, reason for selection, what the software expects from it, how it should be mounted and the mistake most likely to damage the demo.
09 / HARDWARE CONSTELLATION
The prototype remains low-voltage DC. ESP32 pins are control signals—not power outputs—and no student breadboard wiring is connected directly to 230 V AC.
09.5 / INTERACTIVE WIRING LAB
Click any signal or power block. The diagram separates sensor inputs, I²C, controller outputs and the protected 12 V / 5 V / 3.3 V rails so a team member can explain exactly what connects where and why.
The explanation will show signal direction, voltage domain, software meaning, and the mistake to avoid.
ESP32 GPIO → 100 Ω gate resistor → MOSFET gate·10 kΩ pulldown → GND·12 V+ → LOAD → MOSFET drain → source → GND
10 / SOFTWARE
Each subsystem updates on its own schedule. A slow environmental sensor must never stop an override read, power check or zone update.
11 / EVIDENCE
The dashboard’s third job—after monitoring and explanation—is evidence. Logged sensor state, allocation and measured watts must agree with every reported result.
12 / VALIDATION LAB
In simulation mode these buttons demonstrate expected logic. Formal project evidence still comes only from the fabricated model and recorded measurements.
13 / FAIL-SAFE ENGINEERING
A failed sensor should degrade one feature rather than collapse the entire system. Override and fault states are first-class design states—not emergency code appended later.
A completely still occupant may eventually be missed. Hold time and override manage the prototype; presence-grade sensing is the real upgrade.
One representative room-level sensor cannot describe every gradient in a large real classroom.
LDRs demonstrate normalized brightness, not certified lux measurement.
Mini fans and LED strips prove control behaviour, not full-scale airflow, photometry or mains compliance.
14 / SCALE RESPONSIBLY
Each classroom can remain autonomous while publishing summary data upward. Network failure may remove central visibility, but it should not remove local classroom function.
15 / PROJECT ATLAS · 0 → END
This is the long-form study layer. Choose any chapter on the left, then use the tabs to open the full explanation, engineering reasoning, faculty-facing wording and viva / caution notes. It follows the F1.0 blueprint rather than inventing a second version of the project.
Blueprint pages 1–5
16 / PRESENTATION MODE
INTERACTIVE EXPERIENCE CREDIT
Designed to make engineering visible.This website is the interactive presentation, simulation and live-dashboard layer for the Smart Classroom project. The physical ESP32 remains the control authority; the interface translates its sensing, decisions, priorities, power allocation and measured feedback into a form that can be followed step by step. The goal is not only to make the prototype look intelligent, but to make every important decision understandable to the person standing in front of it.