Course Content
Hands-On ESP32 Robotics: Build Smart Robots Step by Step

🔥 Flame Sensor Module

🎯 Lesson Objective

In this lesson, students will understand:

• What a flame sensor is
• How a flame sensor detects fire
• The structure and components of a flame sensor module
• The pin configuration of the flame sensor
• How flame sensors are used in robotics and safety systems

This lesson introduces a sensor used for detecting fire or flame in the environment.


1️⃣ What is a Flame Sensor?

A flame sensor is an electronic sensor designed to detect the presence of fire or flame.

Flame sensors detect specific wavelengths of light that are emitted by flames.

Flames produce light in the infrared (IR) spectrum, which cannot be easily seen by the human eye but can be detected by electronic sensors.

Because of this property, flame sensors are commonly used in:

🔥 Fire detection systems
🚨 Safety monitoring systems
🤖 Fire-fighting robots
🏭 Industrial safety systems

Flame sensors help electronic systems quickly detect fire and trigger appropriate responses.


2️⃣ How a Flame Sensor Works

A flame sensor works by detecting infrared radiation emitted by flames.

When a fire is present, the flame produces infrared light within a specific wavelength range.

The flame sensor detects this infrared radiation and converts it into an electrical signal.

The working process can be explained in simple steps:

1️⃣ A flame emits infrared light.
2️⃣ The flame sensor detects the infrared radiation.
3️⃣ The sensor converts the radiation into an electrical signal.
4️⃣ The signal is sent to the microcontroller.
5️⃣ The microcontroller processes the signal and performs an action.

For example:

If a flame is detected, a robot may activate a fan or pump to extinguish the fire.


3️⃣ Components of a Flame Sensor Module

A flame sensor module usually contains several components that help detect fire efficiently.

🔥 Infrared Flame Sensor

This is the main sensing component that detects infrared light from flames.


⚙️ Comparator Circuit

The comparator processes the signal from the sensor and converts it into a digital signal that can be read by the microcontroller.


🎚 Sensitivity Adjustment Potentiometer

Many flame sensor modules include a small adjustable knob that allows users to control the sensitivity of the sensor.

This helps adjust how easily the sensor detects flames.


💡 Indicator LEDs

The module usually includes LEDs that indicate:

• Power status
• Flame detection

These LEDs are useful for testing and debugging.


4️⃣ Flame Sensor Pin Configuration

Most flame sensor modules contain three pins.

🔴 VCC

Supplies power to the sensor module.

Usually connected to 3.3V or 5V power supply.


⚫ GND

Ground connection that completes the electrical circuit.


🟡 OUT (Output Pin)

This pin sends the detection signal to the microcontroller.

When a flame is detected, the output signal changes and the microcontroller can respond accordingly.


5️⃣ Detection Range of Flame Sensors

Flame sensors are designed to detect flames within a certain range and angle.

Typical characteristics include:

📏 Detection distance of about 1 meter (depending on flame size)
📡 Detection angle of around 60 degrees

The performance of the sensor depends on environmental conditions and the intensity of the flame.


6️⃣ Applications of Flame Sensors

Flame sensors are widely used in safety and automation systems.

Common applications include:

🔥 Fire detection systems
🚨 Alarm and safety systems
🏭 Industrial monitoring systems
🤖 Fire-fighting robots
🏠 Smart home safety devices

These sensors allow systems to detect fire quickly and respond before the fire spreads.


7️⃣ Flame Sensor in This Course

In this course, the flame sensor will be used in the Fire Fighting Robot project.

In this project:

• The flame sensor detects the presence of fire.
• The ESP32 processes the detection signal.
• The robot activates a fan or pump to respond to the fire.

This project demonstrates how robots can perform safety-related tasks automatically.


🚀 What Happens Next

Now that you understand how flame sensors detect fire, the next step is to explore another simple but important sensor used in robotics.

Scroll to Top