Description
What it is
The KY-026 flame sensor module is a device for fire detection suitable for Arduino projects. This tool monitors the presence of flames and can be easily integrated into domestic or industrial alarm systems.
Features
- Detects the presence of flames
- Ideally suited for Arduino projects
- Potentially usable in security applications
What it is for
The KY-026 flame sensor module can be used to create domestic alarm systems that send an email notification when flames are detected. It is compatible with Arduino and similar microcontrollers.
Tutorial: How to Use KY-026 Flame Sensor Module
The KY-026 flame sensor module is an essential tool for projects requiring fire detection. Ideal for beginners and intermediates, this device can be used in domestic or industrial security applications.
What you need
- Arduino Uno
- USB Connection
- Breadboard
- Jumper wires
Steps
- Connect the KY-026 module to the breadboard.
- Connect the module power supply (VCC and GND) to 5V and GND of Arduino respectively.
- Connect the sensor data line (OUT) to digital pin 2 of Arduino.
- Open the Arduino IDE software and upload the provided sketch.
- Check that the indicator LED on the KY-026 module lights up when there is a red light source near the sensor.
- Test the sensor by passing an object between the red light and the sensor to see if it correctly detects the presence of flame.
- Calibrate the sensor, if necessary, by adjusting the variable components on the KY-026 module.
- Implement additional features such as sending data to a cloud platform or activating an alarm.
Example code
void setup() {
Serial.begin(9600);
pinMode(2, INPUT);
}
void loop() {
int sensorValue = digitalRead(2);
if (sensorValue == HIGH) {
Serial.println("Fiamma rilevata");
}
}
Mini project
Create a home alarm system that sends an email notification when the KY-026 sensor detects flames.
Common mistakes
- Do not connect VCC and GND to the KY-026 module correctly.
- Ignore sensor calibration before using it in a project.
- Use insufficient red light to test the sensor.
- Omit adding protections against current spikes.
Recommended accessories
- ESP8266 Wi-Fi Module
- 9G Servo Motors
- 5V Relay Module
- I2C LCD Display
Frequently asked questions
Does the KY-026 sensor work only with red light?
Yes, the sensor is optimized to detect red light emitted by a flame.
Can I connect multiple KY-026 sensors to Arduino?
Yes, just connect them to different digital pins on Arduino.







Reviews
There are no reviews yet.