ESP32 KY-026 Flame Sensor Module

KY-026 Flame Sensor Module image

KY-026

Protocol: Analog,Digital

Overview

The KY-026 is a flame sensor module capable of detecting light in the 760 nm to 1100 nm wavelength range. It offers both analog and digital outputs, with adjustable sensitivity via an onboard potentiometer, making it suitable for various flame detection applications.

About KY-026 Flame Sensor Module

The KY-026 Flame Sensor Module is designed to detect open flames and other light sources emitting wavelengths between 760 nm and 1100 nm. It features both analog and digital outputs: the analog output provides a voltage proportional to the detected flame intensity, while the digital output activates when the flame intensity exceeds a user-defined threshold, adjustable via an onboard potentiometer. This module is ideal for fire detection systems, flame alarms, and firefighting robots.

Where to Buy

KY-026 Flame Sensor Module

Starting from

$2 per unit

Amazon com
Amazon.com Ships worldwide
View Price
Amazon de
Amazon.de Ships to EU
View Price
Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

Operating Voltage 3.3V to 5V
Detection Wavelength 760 nm to 1100 nm
Detection Angle Approximately 60 degrees
Dimensions 36 x 15 x 14 mm
Weight 2 g

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

  • GND: Connects to ground.
  • +V: Connects to 3.3V or 5V power supply.
  • D0: Digital output; goes high when the detected flame intensity exceeds the set threshold.
  • A0: Analog output; provides a voltage proportional to the detected flame intensity.

Wiring with ESP32

  • GND: Connect to ESP32 GND.
  • +V: Connect to ESP32 3.3V or 5V.
  • D0: Connect to a digital input pin on ESP32 (e.g., GPIO17).
  • A0: Connect to an analog input pin on ESP32 (e.g., GPIO36).

Troubleshooting Guide

Common Issues

❌ No Response from Sensor

⚠️ False Positives

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 KY-026 Flame Sensor Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.