Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use FLAME SENSOR MODULE: Examples, Pinouts, and Specs

Image of FLAME SENSOR MODULE
Cirkit Designer LogoDesign with FLAME SENSOR MODULE in Cirkit Designer

Introduction

The Flame Sensor Module is a device designed to detect the presence of flame or fire by sensing the infrared (IR) radiation emitted by flames. It is highly sensitive to IR wavelengths in the range of 760 nm to 1100 nm, making it ideal for fire detection systems. This module is widely used in safety applications, robotics, and industrial automation to detect and respond to fire hazards.

Explore Projects Built with FLAME SENSOR MODULE

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560-Based Fire and Gas Detection System with Automated Water Pump
Image of Measure Temperature a: A project utilizing FLAME SENSOR MODULE in a practical application
This circuit is a sensor-based monitoring and control system using an Arduino Mega 2560. It integrates a flame sensor, gas sensor, temperature sensor, and various output devices such as an LED, buzzer, servo motor, and water pump, controlled via a relay. The system is designed to detect environmental conditions and respond accordingly, potentially for safety or automation purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Fire and Gas Detection System with GSM and OLED Display
Image of outline robotics: A project utilizing FLAME SENSOR MODULE in a practical application
This circuit is a multi-sensor monitoring system using an ESP32 microcontroller. It integrates various sensors including flame sensors, gas sensors (MQ-2 and MQ-7), a temperature and humidity sensor, and an OLED display for real-time data visualization. Additionally, it includes a relay module for controlling external devices and a GSM module for remote communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Environmental Monitoring System with Wi-Fi Connectivity
Image of fire and smoke detection: A project utilizing FLAME SENSOR MODULE in a practical application
This circuit is designed to monitor environmental conditions using a heat flame sensor and an MQ135 air quality sensor, display information on an LCD screen, and maintain accurate time with an RTC module. It includes an ESP8266 Wi-Fi module for potential wireless connectivity and uses a buzzer and LED for alerts or status indications. The Arduino UNO serves as the central controller, though the specific embedded code for operation is not yet provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Fire Detection System with SIM800L and Water Pump Control
Image of arduinofirealarm: A project utilizing FLAME SENSOR MODULE in a practical application
This circuit is a fire detection and alert system using an Arduino UNO, a KY-026 flame sensor, a buzzer, a relay module, a 5V mini water pump, and a SIM800L GSM module. When the flame sensor detects a fire, the Arduino activates the buzzer and the water pump via the relay, and sends an SMS alert using the SIM800L module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with FLAME SENSOR MODULE

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Measure Temperature a: A project utilizing FLAME SENSOR MODULE in a practical application
Arduino Mega 2560-Based Fire and Gas Detection System with Automated Water Pump
This circuit is a sensor-based monitoring and control system using an Arduino Mega 2560. It integrates a flame sensor, gas sensor, temperature sensor, and various output devices such as an LED, buzzer, servo motor, and water pump, controlled via a relay. The system is designed to detect environmental conditions and respond accordingly, potentially for safety or automation purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of outline robotics: A project utilizing FLAME SENSOR MODULE in a practical application
ESP32-Based Smart Fire and Gas Detection System with GSM and OLED Display
This circuit is a multi-sensor monitoring system using an ESP32 microcontroller. It integrates various sensors including flame sensors, gas sensors (MQ-2 and MQ-7), a temperature and humidity sensor, and an OLED display for real-time data visualization. Additionally, it includes a relay module for controlling external devices and a GSM module for remote communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of fire and smoke detection: A project utilizing FLAME SENSOR MODULE in a practical application
Arduino UNO-Based Environmental Monitoring System with Wi-Fi Connectivity
This circuit is designed to monitor environmental conditions using a heat flame sensor and an MQ135 air quality sensor, display information on an LCD screen, and maintain accurate time with an RTC module. It includes an ESP8266 Wi-Fi module for potential wireless connectivity and uses a buzzer and LED for alerts or status indications. The Arduino UNO serves as the central controller, though the specific embedded code for operation is not yet provided.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of arduinofirealarm: A project utilizing FLAME SENSOR MODULE in a practical application
Arduino UNO Fire Detection System with SIM800L and Water Pump Control
This circuit is a fire detection and alert system using an Arduino UNO, a KY-026 flame sensor, a buzzer, a relay module, a 5V mini water pump, and a SIM800L GSM module. When the flame sensor detects a fire, the Arduino activates the buzzer and the water pump via the relay, and sends an SMS alert using the SIM800L module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Fire detection and alarm systems
  • Safety monitoring in industrial environments
  • Flame detection in gas-powered appliances
  • Robotics and automation for fire-fighting robots
  • Early warning systems in residential and commercial buildings

Technical Specifications

The Flame Sensor Module is compact and easy to integrate into various projects. Below are its key technical details:

Parameter Specification
Operating Voltage 3.3V to 5V
Detection Range Up to 100 cm (depending on flame size)
Spectral Range 760 nm to 1100 nm (IR wavelength)
Output Type Digital (D0) and Analog (A0)
Operating Temperature -25°C to 85°C
Dimensions ~32mm x 14mm x 8mm

Pin Configuration and Descriptions

The Flame Sensor Module typically has three or four pins, depending on the model. Below is the pinout description:

Pin Name Description
1 VCC Power supply pin. Connect to 3.3V or 5V.
2 GND Ground pin. Connect to the ground of the circuit.
3 D0 Digital output pin. Outputs HIGH (1) when flame is detected, LOW (0) otherwise.
4 A0 (optional) Analog output pin. Provides an analog signal proportional to flame intensity.

Usage Instructions

How to Use the Flame Sensor Module in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to the ground.
  2. Connect Outputs:
    • For digital output, connect the D0 pin to a digital input pin on your microcontroller.
    • For analog output (if available), connect the A0 pin to an analog input pin on your microcontroller.
  3. Adjust Sensitivity: Use the onboard potentiometer to adjust the sensitivity of the sensor. Turn clockwise to increase sensitivity and counterclockwise to decrease it.
  4. Test the Module: Place a flame (e.g., from a lighter or candle) within the detection range and observe the output.

Important Considerations and Best Practices

  • Avoid exposing the sensor to direct sunlight or other strong IR sources, as this may cause false detections.
  • Ensure the sensor is placed at an appropriate distance from the flame to avoid damage from heat.
  • Use proper pull-up or pull-down resistors if required by your microcontroller.
  • Regularly clean the sensor lens to maintain accuracy.

Example: Connecting to an Arduino UNO

Below is an example of how to connect and use the Flame Sensor Module with an Arduino UNO:

Circuit Connections

  • VCC → 5V on Arduino
  • GND → GND on Arduino
  • D0 → Digital Pin 2 on Arduino
  • (Optional) A0 → Analog Pin A0 on Arduino

Arduino Code

// Flame Sensor Module Example Code
// This code reads the digital and analog outputs of the flame sensor
// and prints the results to the Serial Monitor.

#define FLAME_SENSOR_DIGITAL 2  // Digital pin connected to D0
#define FLAME_SENSOR_ANALOG A0 // Analog pin connected to A0 (optional)

void setup() {
  pinMode(FLAME_SENSOR_DIGITAL, INPUT); // Set digital pin as input
  Serial.begin(9600);                  // Initialize serial communication
}

void loop() {
  // Read digital output
  int flameDetected = digitalRead(FLAME_SENSOR_DIGITAL);
  
  // Read analog output (if connected)
  int flameIntensity = analogRead(FLAME_SENSOR_ANALOG);

  // Print results to Serial Monitor
  if (flameDetected == HIGH) {
    Serial.println("Flame detected!");
  } else {
    Serial.println("No flame detected.");
  }

  Serial.print("Flame Intensity (Analog): ");
  Serial.println(flameIntensity);

  delay(500); // Wait for 500ms before next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. False Detections in Bright Environments:

    • Cause: Strong IR sources like sunlight or incandescent bulbs.
    • Solution: Shield the sensor from direct light or use it in controlled environments.
  2. No Detection of Flame:

    • Cause: Sensitivity is too low or the flame is out of range.
    • Solution: Adjust the potentiometer to increase sensitivity and ensure the flame is within the detection range.
  3. Unstable Output:

    • Cause: Electrical noise or poor connections.
    • Solution: Use proper decoupling capacitors and ensure secure connections.

FAQs

Q1: Can the Flame Sensor Module detect other heat sources?
A1: No, the module is specifically designed to detect IR radiation from flames. It may not respond to other heat sources like hot objects.

Q2: What is the maximum detection range?
A2: The detection range is up to 100 cm, but it depends on the size and intensity of the flame.

Q3: Can I use the module with a 3.3V microcontroller?
A3: Yes, the module supports both 3.3V and 5V operating voltages.

Q4: How do I clean the sensor?
A4: Use a soft, lint-free cloth to gently clean the sensor lens. Avoid using liquids or abrasive materials.

This concludes the documentation for the Flame Sensor Module.