Smart fire protection system for buildings

January 7, 2021

Smart fire protection system for buildings

January 7, 2021

Created By

About This Project

My project Smart fire protection system for buildings is about the safety for people in skyscrapers if there is a fire in the building so the people could be alerted by the piezo and the sprinkler placed in every floor will be turned on to extinguish and the exhaust which also placed at every floor will be turned on to take the out the smoke as well. As we know that if there is smoke in the skyscraper so the visibility is zero so that’s why I have placed a neopixel strip at the exit gate to show the way out and I have used green color for my neopixel LED strip because when there is smoke in the room, green color can effectively be seen and also I have a bulb which will indicate us.I decided to make it because in tall buildings like Burj Khalifa its hard to know where is the fire so the gas sensor will help us in the fire by telling us there is fire somewhere so people could exit quickly and the fire department could quickly come to put off the fire till it spreads the whole building.



My project works like when the fire will reach the gas sensor the piezo will buzz and red light will glow and the bulb will also glow they will indicate everyone in the building that there is fire in the building the exhaust motor and the sprinkler motor will be turned on to extinguish the fire and the exhaust motor will be turned on to take the smoke out of the building. The green neopixel LED strip placed at gate will be turned on to show the way to exit this is how my project works.

Advit Pandey

I am Advit. I study in class 6. I joined Mechatron Robotics as I like making different kinds of cars, remote control machines. It’s a very fun and engaging activity. The best project I’ve made till now is Smart Fire Protection System.

Components Required

  • Arduino UNO
  • Gas Detection Sensor, Hydrogen
  • Breadboard
  • Buzzer,Peizo
  • Jumper Wires
  • Alphanumeric Lcd 16 X 2
  • DC Motor
  • RGB Diffused Commom Diode
  • Resistor 220 ohm
  • Through Hole Resistor 10Kohm
  • LED Strp, Neopixel Digital RGB

Schematics

In this image all the components with the connections are given

Code Of Project

   # 
 include 
 <Adafruit_NeoPixel.h> 
 
  # 
 include 
 <LiquidCrystal.h> 
 
LiquidCrystal lcd 
 ( 
 8 
 , 
 9 
 , 
 10 
 , 
 11 
 , 
 12 
 , 
 13 
 ) 
 ; 
 //Constants 
 const 
 int 
dinPin = 
 3 
 ; 
 const 
 int 
numOfLeds = 
 16 
 ; 
Adafruit_NeoPixel pixels = 
 Adafruit_NeoPixel 
 ( 
numOfLeds , 
dinPin , 
NEO_GRB + 
NEO_KHZ800 ) 
 ; 
 int 
Gas_Sensor_Value = 
 0 
 ; 
 int 
Gas_sensor = 
A0 ; 
 int 
Piezo = 
 7 
 ; 
 int 
RGB_red = 
 6 
 ; 
 int 
RGB_green = 
 5 
 ; 
 int 
exhaust_motor = 
 4 
 ; 
 int 
sprinkler_motor = 
 2 
 ; 
 void 
 setup 
 ( 
 ) 
 { 
pixels . 
 begin 
 ( 
 ) 
 ; 
pixels . 
 setBrightness 
 ( 
 80 
 ) 
 ; 
lcd . 
 begin 
 ( 
 16 
 , 
 2 
 ) 
 ; 
 // set up the LCD's number of columns and rows: 
 pinMode 
 ( 
Gas_sensor , 
INPUT ) 
 ; 
 pinMode 
 ( 
Piezo , 
OUTPUT ) 
 ; 
 pinMode 
 ( 
RGB_red , 
OUTPUT ) 
 ; 
 pinMode 
 ( 
RGB_green , 
OUTPUT ) 
 ; 
 pinMode 
 ( 
exhaust_motor , 
OUTPUT ) 
 ; 
 pinMode 
 ( 
sprinkler_motor , 
OUTPUT ) 
 ; 
 } 
 void 
 loop 
 ( 
 ) 
 { 
lcd . 
 clear 
 ( 
 ) 
 ; 
Gas_Sensor_Value = 
 analogRead 
 ( 
A0 ) 
 ; 
 if 
 ( 
Gas_Sensor_Value >= 
 700 
 ) 
 { 
 for 
 ( 
 int 
i = 
 0 
 ; 
i < 
numOfLeds ; 
i ++ 
 ) 
 { 
pixels . 
 setPixelColor 
 ( 
i , 
pixels . 
 Color 
 ( 
 0 
 , 
 255 
 , 
 0 
 ) 
 ) 
 ; 
pixels . 
 show 
 ( 
 ) 
 ; 
 } 
 digitalWrite 
 ( 
sprinkler_motor , 
HIGH ) 
 ; 
 digitalWrite 
 ( 
Piezo , 
HIGH ) 
 ; 
 digitalWrite 
 ( 
exhaust_motor , 
HIGH ) 
 ; 
 digitalWrite 
 ( 
RGB_red , 
HIGH ) 
 ; 
 digitalWrite 
 ( 
RGB_green , 
LOW ) 
 ; 
lcd . 
 print 
 ( 
 "Burj Khalifa is" 
 ) 
 ; 
 // Print a message to the LCD. 
lcd . 
 setCursor 
 ( 
 0 
 , 
 1 
 ) 
 ; 
lcd . 
 print 
 ( 
 "on fire!" 
 ) 
 ; 
 delay 
 ( 
 1000 
 ) 
 ; 
 } 
 else 
 { 
 digitalWrite 
 ( 
exhaust_motor , 
LOW ) 
 ; 
 digitalWrite 
 ( 
sprinkler_motor , 
LOW ) 
 ; 
 digitalWrite 
 ( 
Piezo , 
LOW ) 
 ; 
 digitalWrite 
 ( 
RGB_red , 
LOW ) 
 ; 
 digitalWrite 
 ( 
RGB_green , 
HIGH ) 
 ; 
lcd . 
 print 
 ( 
 "Burj Khalifa" 
 ) 
 ; 
 // Print a message to the LCD. 
lcd . 
 setCursor 
 ( 
 0 
 , 
 1 
 ) 
 ; 
lcd . 
 print 
 ( 
 "is Safe" 
 ) 
 ; 
 delay 
 ( 
 1000 
 ) 
 ; 
 } 
 } 
  
 
A person is using a laptop computer next to a robot.
By Siddhartha Kumar January 5, 2022
Robotics: Blessing and Curse? Robots have improved healthcare , surveillance, delivery of goods (drones), spacecraft, travel, logistics, etc.
A man is wearing a virtual reality headset and touching a screen.
By Tahreem Jamadar December 28, 2021
Is it time for 3D Printing to Adopt Blockchain Technology? Research has already shown 3D printing has a growing need for cybersecurity.
A group of children are sitting at a table making a robot.
By Dr. Heath Kirby-Miller December 25, 2021
Why STEM Education in Australia The Australian industries to be benefited from STEM include advanced information and communication technology
A red rc truck is sitting on top of a remote control.
December 12, 2021
Arduino IR remote controlled Car The project is arduino based project. the Links pf the projects are given below
A laptop computer is on a tripod on a table.
November 30, 2021
Animation Studios Mechatron Robotics project uses an Arduino uno R3 a LCD and push buttons. It is based on the concept of arduino and LCD
A young boy wearing headphones is using a laptop computer.
By Kiran Gupta November 30, 2021
Machine Learning for Disables can help those disabled people to improve their lives. With the marvel of machine learning doctors
A man wearing a virtual reality headset is working on a robotic arm.
By Kiran Gupta November 7, 2021
What are the Consequences of Not Embracing Robotics & AI? We won’t be able to go ahead as these are the next big things.
A person is holding a remote control in a living room.
November 4, 2021
Home Automation System is made because today's light bulbs tend to heat and this can cause blast in the house.
A close up of a bottle of vaccine with a virus in the background.
By Rajesh Sharma November 1, 2021
Robotics and the Pandemic 2020. This is where Robotics can come in, robots can help reduce the human contact.
A person is playing with a robotic head on a table.
By Siddhartha Kumar November 1, 2021
Key Elements Most of the Schools are Missing. Everyone has different criteria but one key element remains the same:” The quality of teaching
Show More
A person is using a laptop computer next to a robot.
By Siddhartha Kumar January 5, 2022
Robotics: Blessing and Curse? Robots have improved healthcare , surveillance, delivery of goods (drones), spacecraft, travel, logistics, etc.
A man is wearing a virtual reality headset and touching a screen.
By Tahreem Jamadar December 28, 2021
Is it time for 3D Printing to Adopt Blockchain Technology? Research has already shown 3D printing has a growing need for cybersecurity.
A group of children are sitting at a table making a robot.
By Dr. Heath Kirby-Miller December 25, 2021
Why STEM Education in Australia The Australian industries to be benefited from STEM include advanced information and communication technology
A red rc truck is sitting on top of a remote control.
December 12, 2021
Arduino IR remote controlled Car The project is arduino based project. the Links pf the projects are given below
A laptop computer is on a tripod on a table.
November 30, 2021
Animation Studios Mechatron Robotics project uses an Arduino uno R3 a LCD and push buttons. It is based on the concept of arduino and LCD
A young boy wearing headphones is using a laptop computer.
By Kiran Gupta November 30, 2021
Machine Learning for Disables can help those disabled people to improve their lives. With the marvel of machine learning doctors
A man wearing a virtual reality headset is working on a robotic arm.
By Kiran Gupta November 7, 2021
What are the Consequences of Not Embracing Robotics & AI? We won’t be able to go ahead as these are the next big things.
A person is holding a remote control in a living room.
November 4, 2021
Home Automation System is made because today's light bulbs tend to heat and this can cause blast in the house.
A close up of a bottle of vaccine with a virus in the background.
By Rajesh Sharma November 1, 2021
Robotics and the Pandemic 2020. This is where Robotics can come in, robots can help reduce the human contact.
Show More