Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Flame Sensor Modules

Component guide · Beginner · 3 min read

Flame Sensor Modules

How They Work and Wiring

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWiring and readingAvoiding false alarmsIt is not a fire alarmTry itCommon mistakesFAQsParts and next steps
Short answer

A flame sensor module uses an infrared photodiode that responds to the 760 to 1100 nm light flames give off, plus an LM393 comparator. The digital output changes state when a flame is seen, with sensitivity set by a trimmer, and the analog output shows how strong the IR is. A lighter is detected from about 50 cm to 1 m in front. Sunlight and halogen lamps can trigger it.

Key specs at a glance

Detector
IR photodiode or phototransistor, about 760 to 1100 nm
Outputs
DO (threshold, usually LOW on flame) and AO (analog strength)
Range
About 0.5 to 1 m for a lighter flame, more for larger fires
Field of view
About 60°
Supply
3.3 to 5 V
Variants
Single sensor, 3-pin DO-only, 5-channel arrays for robots
01

Wiring and reading

VCC to 3.3 V or 5 V, GND to GND, DO to a digital pin and AO to an analog pin if your module has one. With no flame, adjust the trimmer until the DO LED is just off; then a lighter flame in front turns it on. Most modules pull DO LOW on detection, so check with digitalRead() and the LED.

Use AO to estimate direction: a 5-channel array or two sensors angled apart lets a fire-fighting robot turn towards the stronger reading, then switch on a fan or a small water pump.

02

Avoiding false alarms

The sensor sees infrared, not flame shape or flicker, so anything hot or bright in IR can trigger it: direct sunlight, halogen and incandescent bulbs, heaters and IR remote controls. Point it away from windows, add a short tube or hood to narrow its view, and in code require the signal to stay on for a few hundred milliseconds. Real flames flicker at roughly 1 to 15 Hz, which code can look for on AO.

03

It is not a fire alarm

Hobby flame modules are fine for robots, science projects and demonstrations. They are not certified life-safety devices: they cannot detect smoke from a smouldering fire, and they miss flames that are out of their line of sight. Always use a certified smoke alarm for safety. For gas leaks, see the MQ gas sensors guide.

04

Try it: Voltage divider calculator

Change the values and the diagram and results update as you type.

05

Common mistakes to avoid

  • !Pointing the sensor at a window or a halogen lamp.
  • !Reacting to one short reading instead of a sustained signal.
  • !Using it as a home fire alarm.
  • !Holding a lit flame too close and melting the module.
  • !Setting the trimmer so sensitive that room light triggers it.
06

Frequently asked questions

How far can a flame sensor detect fire?

About 0.5 to 1 m for a lighter flame directly in front, further for a larger fire, within a roughly 60° cone.

Why does my flame sensor trigger in sunlight?

Sunlight contains strong infrared in the same band. Shield the sensor, point it away from windows and require a sustained or flickering signal.

Is DO HIGH or LOW when a flame is detected?

On most modules DO goes LOW and the on-board LED lights. Check your module, as some invert it.

Can a flame sensor replace a smoke detector?

No. It only sees IR from visible flames in its line of sight. Use a certified smoke alarm for safety.

Does it work with ESP32?

Yes. Power it at 3.3 V so both outputs stay within the ESP32's input range.

Parts for this guide

  • Buzzer Module 3.3–5V
    ₹27View
  • Mini Submersible Water Pump 3–6V
    ₹150View
Shop Light & Optical Sensors

Calculators

Voltage divider calculator

Terms in this guide

InfraredLight just beyond red that people cannot see, used by IR obstacle sensors, remote controls and line-following sensors.PhotodiodeA diode that produces a small current in proportion to light. Faster and more linear than an LDR, used in IR receivers and light meters.ComparatorA circuit that compares two voltages and outputs HIGH or LOW depending on which is larger. Sensor modules use one (often an LM393) to produce their digital output.HysteresisA deliberate gap between the switch-on and switch-off thresholds of a comparator or thermostat, so a noisy signal does not make the output chatter.

Projects that use it

Put this into practice: 11 step-by-step builds in our project library use parts from this guide.

Beginner · 45 minutesFlame detector fire alarmView projectBeginner · 1–2 hoursWi-Fi flame alarmView projectIntermediate · 1–2 hoursGas stove left-on reminderView project
Browse all 11 projects

Keep learning

Component guideBeginnerIR Obstacle Sensor ModuleAn IR obstacle sensor module shines infrared light from an LED and watches for its reflection with a photodiode; when something is within about 2 to 30 cm, its OUT pin goes LOW.3 min read · SensorsComponent guideIntermediateMQ Gas SensorsMQ sensors are cheap metal-oxide gas sensors: a heated tin-dioxide surface changes resistance when gas is present.3 min read · SensorsComparisonBeginnerActive vs Passive BuzzersAn active buzzer beeps at one fixed pitch as soon as you apply DC, so a digital pin can switch it on and off.3 min read · AudioComponent guideIntermediateComparatorsA comparator compares two voltages and switches its output depending on which is higher.3 min read · Semiconductors & ICsHow-toIntermediateLine Follower RobotA line follower uses a row of infrared reflective sensors (TCRT5000 type) under the robot to see a black line on a white floor, and steers two DC motors to keep the line centred.3 min read · Robotics

Sources

  • Texas Instruments LM393 datasheet
  • Photodiode manufacturer spectral response data

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWiring and readingAvoiding false alarmsIt is not a fire alarmTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide1 item · ₹38

Flame Sensor Module

Ask the Community

Ask a question