Introduction
Interfacing KY-026 Flame Sensor module with Arduino, The KY-026 Flame Sensor module is an essential component in fire detection and prevention systems. This module can detect the presence of a flame or fire source and trigger an alarm or warning signal to alert users to the danger. It is a highly reliable and accurate sensor that is widely used in various fields, such as home appliances, industrial automation, and aerospace.
This module is compatible with popular electronic platforms like Arduino, ESP32, Raspberry Pi, and other microcontrollers. which utilize an infrared receiver to detect the presence of a flame or fire source.
Hardware Required
You will require the following Hardware Components for interfacing the KY-026 Flame Sensor module with Arduino.
Components | # | Buy From Amazon |
---|---|---|
Arduino UNO | 1 | Buy Now |
KY-026 Flame Sensor module | 1 | Buy Now |
LED 5mm | 1 | Buy Now |
Jumper Wires | – | Buy Now |
Breadboard | 1 | Buy Now |
What is the KY-026 Flame Sensor module?
The KY-026 Flame Sensor module is an electronic component that uses an infrared receiver to detect the presence of a flame or fire source. It is composed of an infrared receiver, a potentiometer, and a comparator IC. When a flame is present, the infrared receiver will receive a signal, which will be compared to the threshold set by the potentiometer. If the signal exceeds the threshold, the comparator IC will trigger an output signal.
Specifications
The module is composed of several components including a 5mm infra-red receiver LED, an LM393 dual differential comparator, a 3296W trimmer potentiometer, six resistors, two indicator LEDs, and four male header pins. The board features a digital and analog output.
Operating Voltage | 3.3V ~ 5.5V |
Maximum Current Consumption | 20mA |
Output Signal | Digital (High/Low) |
Infrared Wavelength Detection | 760nm ~ 1100nm |
Detection Distance | up to 1m |
Sensor Detection Angle | 60° |
Board Dimensions | 1.5cm x 3.6cm [0.6in x 1.4in] |
Features
- High sensitivity to flames and fire sources
- Quick response time
- Adjustable detection threshold
- Low power consumption
- Easy to integrate with other electronic components
Pinout
Pin Configuration
Pin Name | Pin Type |
---|---|
VCC | Positive supply Pin |
G | Ground Pin |
A0 | Analog Pin |
D0 | Digital Pin |
Circuit Diagram
The following circuit shows you the connection of the KY-026 Flame Sensor module with Arduino Please make the connection carefully
Circuit Connections
Arduino | Module |
---|---|
+5V | VCC Pin |
GND | GND Pin |
A0 | A0 |
Pin 3 | D0 |
Installing Arduino IDE Software
First, you will require to Download the updated version of Arduino IDE Software and Install it on your PC or laptop. if you Learn How to install the Arduino step-by-step guide then click on how to install Arduino Button given Blow
Code
//For more Projects: www.arduinocircuit.com
int led = 13; // define the LED pin
int digitalPin = 2; // KY-026 digital interface
int analogPin = A0; // KY-026 analog interface
int digitalVal; // digital readings
int analogVal; //analog readings
void setup()
{
pinMode(led, OUTPUT);
pinMode(digitalPin, INPUT);
//pinMode(analogPin, OUTPUT);
Serial.begin(9600);
}
void loop()
{
// Read the digital interface
digitalVal = digitalRead(digitalPin);
if(digitalVal == HIGH) // if flame is detected
{
digitalWrite(led, HIGH); // turn ON Arduino's LED
}
else
{
digitalWrite(led, LOW); // turn OFF Arduino's LED
}
// Read the analog interface
analogVal = analogRead(analogPin);
Serial.println(analogVal); // print analog value to serial
delay(100);
}
Applications
- Fire detection and prevention systems
- Home appliances, such as gas stoves and water heaters
- Industrial automation, such as furnace monitoring
- Aerospace, such as flame detection in rockets and spacecraft
- Robotics, such as flame detection in industrial robots
Conclusion
The KY-026 Flame Sensor module is an essential component in fire detection and prevention systems. With its high sensitivity and accuracy, quick response time, and adjustable detection threshold, it is a highly reliable and effective sensor that is widely used in various fields, such as home appliances, industrial automation, and aerospace. Whether you are working on a fire detection system for your home or a spacecraft, the KY-026 Flame Sensor module is a must-have component for ensuring safety and preventing potential disasters.