Arduino Projecttechnologyuniversity project
Arduino Project With Code || Fire Alarm Using Arduino || University Arduino Project for CSE
In this post i’m going to show you “How To Make Fire Alarm Using Arduino”
Tools Procedure:
In the project we will be used a Ardunio UNO R3 Device as a main circuit for fire alarm.
In the project we will be used an alarms, we added a buzzer to the 10th pin of the Arduino.
In the project we will be used a thermostat as a fire sensor for fire alarm circuits.
In the project we will be used a Resistor 10K for fire alarm circuits.
In the project we will be used a small sizes Breadboard for fire alarm circuits.
In the project we will be used some Male to Male Jumper Wires for fire alarm circuits.
See The Device Name, Unit & total Prize
Devices | Unit |
Arduino UNO R3 | 1 |
Thermistor (10K) | 1 |
Buzzer | 1 |
Resistor 10K | 1 |
Male to male jumper wires | 4 |
Breadboard | 1 |
Total Cost For Bangladesh About – 600 Taka or 7$ |
Circuit Connection:
Before the connection circuits to computer we need to draw circuit diagram like below:
Before the connection circuits to computer we need to draw circuit diagram like below:
See the YouTube video in end to the Blog.
**Procedure: In the project we will be used a thermostat as a fire sensor for fire alarm circuits. We know that Thermistor is a registry that changes with the temperature of the Registry. Increasing the temperature may reduce the thermostat’s resistance, may increase. As the temperature increases, PTC (Positive temperature coefficient) thermistor that increases the resistance of the thermistor and decreases the resistance to the increase in temperature, called NTC (Negative temperature coefficient) thermistor. The thermostat we use in this experiment is an NTC thermostat. That means, in the presence of fire, the thermostat’s temperature will decrease if its temperature increases. Ohm’s formula (V = IR) that decreasing the resistance means decreasing voltage. So, if we observe the change of this voltage through an analog pins of the Arduino, then we will understand the presence of the fire. In this series, a 10 kilo-haired fixed registry was installed in the series with the thermometer. Detected voltage of fixed registry and thermostat intersection is measured through A0 pins. Arduino analog pins will see the value of the serial monitor. During our experiment, this value was around 570 in room temperature. The value of the fire near the thermostat surface was reduced to below 500 and gradually decreasing. For alarms, we added a buzzer to the 10th pin of the Arduino. When the value of analog value is below 500, the buzzer will ring and people will be able to recognize the presence of the fire when they hear the sound. |
Connect to the Computer:
Code:
Please See the YouTube video in end to the Blog.
Please See the YouTube video in end to the Blog.
Code: float THERMISTORPIN= A0; // Thermistor connected to A0 int buzzerpin = 10;// Buzzer connected to pin 10 void setup(void) { pinMode(buzzerpin,OUTPUT); Serial.begin(9600); } void loop(void) { float reading; reading = analogRead(THERMISTORPIN); Serial.print(“Analog reading “); Serial.println(reading); if (reading<500) { digitalWrite(buzzerpin,HIGH); } else { digitalWrite(buzzerpin,LOW); } // convert the value to resistance delay(1000); } |