Abstract
System smartly avoids fire as well gas accidents from by detecting fire and gas leakages and taking measures to avoid any accidents from happening. The system consists of fire and gas sensors for detection purpose. If system detects a gas leakage the system first shuts off the gas supply to avoid more gas leakage. The system now also starts an exhaust fan to suck out all the leaked gas. Now the system also has a fire sensor to detect fires. As soon as a fire is detected, the system shuts off gas supply thus preventing the fire from spreading further and avoiding any chances of explosions. Now the system starts the exhaust fan too in order to suck out all the smoke, so any person stuck in the fire can see easily and escape it. In each case system sends information of this event to the authorized user through an SMS message using GSM modem.