Skip to content
S.A.F.E.

S.A.F.E.

Smart Adaptive Fire Evacuation

Created on 27th March 2026

•

S.A.F.E.

S.A.F.E.

Smart Adaptive Fire Evacuation

The problem S.A.F.E. solves

The Problem It Solves

Traditional fire safety systems in most buildings rely heavily on audible alarms and static exit signs. While these alarms alert people that a dangerous situation is occurring, they rarely provide guidance about where occupants should go next. In real emergency situations such as fires, smoke spread, or electrical hazards, this lack of directional guidance can cause panic, confusion, and inefficient evacuation. People often move toward the nearest visible exit sign without knowing whether that route is actually safe, which can unintentionally lead them closer to the hazard instead of away from it.

image

In crowded environments such as offices, malls, university buildings, hospitals, and public infrastructure, evacuation becomes even more complicated. When an alarm sounds, people may rush toward the same exits, creating bottlenecks and congestion. At the same time, some evacuation paths may already be unsafe due to smoke, fire spread, or blocked corridors. Traditional alarm systems cannot dynamically respond to these changing conditions. As a result, occupants are forced to rely on instinct rather than accurate situational guidance during the most critical moments.

The Smart Fire Evacuation Network addresses this problem by transforming conventional alarm systems into intelligent evacuation guidance systems. Instead of only detecting hazards and triggering alarms, the system actively helps guide occupants toward safer routes in real time. The system is built using a decentralized network of ESP32-based IoT nodes, each equipped with smoke and fire detection sensors. These nodes are placed across different zones of a building such as corridors, junction points, stairways, and exit areas.

image

When a node detects smoke or fire, it immediately broadcasts a hazard alert to nearby nodes using ESP-NOW peer-to-peer communication, a low-latency wireless protocol that allows devices to communicate directly without relying on a central WiFi router or internet connection. This decentralized architecture ensures that hazard information spreads across the building network within milliseconds, allowing the system to quickly update evacuation guidance.

Once the hazard is identified, nearby nodes automatically update their internal status and activate visual LED indicators to guide occupants away from danger. Instead of static exit signs that always point in the same direction, the system creates dynamic evacuation routes based on the current hazard location. Areas that are unsafe are marked with red indicators, while safer routes and exits are highlighted with green indicators, allowing occupants to intuitively follow the safest path out of the building.

This approach significantly improves evacuation safety by reducing confusion and helping occupants make faster decisions during high-stress emergencies. Because the system operates offline and without centralized infrastructure, it remains functional even if internet connectivity fails or building network systems go down during a disaster.

image

Beyond fire safety, this concept can be extended to industrial safety environments, large campuses, smart buildings, and public transportation hubs where rapid hazard detection and guided evacuation can save lives. By combining IoT sensing, decentralized communication, and adaptive visual guidance, the Smart Fire Evacuation Network transforms traditional alarms into intelligent life-saving infrastructure designed to improve emergency response and evacuation efficiency.

Challenges we ran into

Challenges I Ran Into

Building a decentralized evacuation system using multiple ESP32 nodes introduced several technical challenges during development. One of the biggest hurdles was ensuring reliable real-time communication between nodes using ESP-NOW. In early prototypes, hazard alerts were sometimes not reaching all nodes consistently, which caused incorrect LED guidance during testing. This issue was mainly due to packet loss and improper peer configuration. I solved this by refining the broadcast logic, adding retry mechanisms, and carefully registering peers across all nodes to ensure stable communication.

Another challenge involved the MQ-2 smoke sensors, which are known to produce noisy and inconsistent readings. During initial tests, the sensors occasionally triggered false alarms because they react to other gases like alcohol fumes or environmental changes. To address this, I implemented a simple filtering approach using multiple sensor readings and averaging them before evaluating the threshold value. I also spent time calibrating the sensor thresholds experimentally so that the system would detect smoke reliably without triggering unnecessary alerts.

Hardware synchronization between nodes was another obstacle. Since each ESP32 node represents a different zone in the building, their states needed to update quickly and consistently. I implemented timestamp-based message handling so that nodes could ignore outdated messages and always reflect the most recent hazard state.

Finally, integrating the hardware network with the software dashboard and floor-plan visualization required careful API and data structuring to ensure that real-time alerts from nodes could be accurately represented in the monitoring interface.

Overcoming these challenges helped make the system more stable, reliable, and responsive, ensuring that hazard alerts propagate across the network in under a second and evacuation guidance remains accurate during emergency scenarios.

Tracks Applied (1)

Safety

Safety Track Alignment The Smart Fire Evacuation Network directly aligns with the goals of the Safety Track by addressi...Read More

Discussion

Builders also viewed

See more projects on Devfolio