Skip to main content

How to make a fire sensor circuit using Arduino and flame sensor

How to make a fire sensor circuit using Arduino and flame sensor
How to make a fire sensor circuit using Arduino and flame sensor

 

How to make a fire sensor circuit using Arduino and flame sensor

Welcome again to the Electron Tips Blog, In today’s lesson we will present to you a method for making a fire sensor or alarm using a fire sensor and an Arduino Board, You can browse a comprehensive topic about the working principle of the Arduino uno board from here, Now we will go through the electronic elements necessary to create this electronic circuit .


Electronics components :

  • Flame sensor.
  • Arduino Uno board.
  • Led lamp.
  • Two resistors, respectively, 220 ohms and 5 kilo ohms.
  • buzzer .
  • Breadboard.
  • Wires to connect the electronic circuit.


Explanation of the flame sensor:

The fire sensor consists of several electronic components, and these are the components and terminals of the fire sensor:

Flame sensor explain
Flame sensor explain 

  • IR sensor.
  • Adjust the sensitivity of the device.
  • flame indicator.
  • digital pin output.
  • Analog pin output.
  • Feeding pin Vcc.
  • GND ground terminal.


Arduino fire sensor circuit diagram:

This is the fire alarm circuit diagram using the Arduino:

Arduino fire flame sensor explain
Arduino & flame sensor diagram 


May also like:

What is Arduino Board.

Working principle of Raspberry Pi device . 

The importance of grounding system. 


The software code for the fire sensor circuit:

This is the code for the fire sensor project that you must place in the Arduino IDE environment and download it to the Arduino Uno board using your computer:


int FlameSensor Pin=A0;
int FlameSensor Reading;
int LED=2;
void setup() {
// put your setup code here, to run Serial.begin(9600); port //open the serial
once:
pinMode(LED, OUTPUT); //led
}
void loop() {

// put your main code here, to run repeatedly:

FlameSensor Reading-analogRead(FlameSensorPi Serial.println(FlameSensor Reading);
if (FlameSensor Reading>5){ digitalWrite(LED, HIGH);
tone( 3, 2000, 500);
}
else{
digitalWrite(LED, LOW);
}
delay(500);

}


Conclusion:

In the end, this was an explanation of how to connect the fire sensor to the Arduino board to create a fire sensor circuit. We have previously presented another fire alarm circuit using a thermistor element, you can browse it from here.


Comments

Popular posts from this blog

Why are electrical transformers measured in KVA and motors in KW

Why are electrical transformers measured in KVA and motors in KW   Why are electrical transformers measured in KVA and motors in KW Welcome to the Electron Tips website. In this topic, we will learn about the reason for measuring electrical transformers in the unit KVA (kilovolt-ampere) and electric motors in the unit of kilowatt (KW).   Why electric motors are measured in KW:  An electric motor is an electrical device that consumes effective electrical power, which is why it is expressed in units of kilowatts or horsepower because it expresses the amount of electrical energy that the motor has benefited from, and it means the actual power used for mechanical purposes and expresses the actual performance of the electric motor (effective power), because  Inefficient power will do nothing for the electric motor.   The reason for measuring electrical transformers in KVA:  Electrical transformers' primary role is to convert electrical voltages, as they do not ...

What is a perfect ground resistance value

What is a perfect ground resistance value   What is a good ground resistance value Grounding is considered one of the most important systems that must be present in all electrical installations, whether in homes, buildings, or even power transmission lines. Grounding is essential for protecting people and electrical equipment from electric current leakage.  Previously, we provided a comprehensive guide on how to establish a grounding system from scratch and the key components you would need. You can view the topic [ here ]. In this article, we will explore the optimal value for good grounding resistance and how you can measure it using a Megger device. Optimal Grounding Resistance Value: Before installing a grounding system in the soil, it is essential to measure the earth resistance value using a Megger Device, especially if sensitive devices and equipment will be installed in the area. The ideal earth resistance value is zero, though achieving this value is practically impos...

Is lightning direct current or alternating current

Is lightning direct current or alternating current  Is lightning direct current or alternating current Many people ask about the type of electricity found in lightning, and in this small article we will explain to you whether lightning is a continuous or alternating electrical current. First, let us get to know the definition of the phenomenon of lightning and how it occurs.   Definition of lightning:  Lightning is a massive electrical discharge, meaning it contains very high electrical energy, ranging from 1 to 10 million joules. The temperature of lightning may reach 30,000 degrees Celsius, and this discharge may occur between the ground and the cloud or between two clouds together. Related articles: Can the capacitor charge the battery   The answer to the question: What is the electric current in lightning?  The electric current in lightning is an alternating electric current because it changes direction quickly and repeatedly in a short time over a short per...