Function: what the KY-026 does in a circuit
Sees the infrared light of a flame: AO falls as the flame comes closer and DO goes LOW when a flame is detected.
- Detects the infrared light of a flame
- Gives an analog level (AO) and an alarm signal (DO)
- Guides fire-fighting robots to a candle
KY-026 key facts
| Supply | 3.3 V to 5 V |
|---|---|
| Detects | infrared, 760 nm to 1100 nm |
| Range | up to about 80 cm for a small flame |
| AO | falls as the flame gets closer |
| DO | LOW when a flame is detected |
| Pins | AO, G, +, DO |
KY-026 pinout
The legs from left to right, as the part is drawn in the simulator:
| No. | Name |
|---|---|
| 1 | AO (analog out) |
| 2 | G (ground) |
| 3 | + (5 V) |
| 4 | DO (digital out) |
How it works
The black part at the top is an infrared photodiode that responds most to light around 760 to 1100 nm, which flames give out strongly. More infrared lets more current through it, so the voltage on AO drops. A comparator chip (LM393) switches DO, and an LED on the board, when the level set by the blue trimmer potentiometer is passed.
What it is made of
- Photodiode: Silicon in black epoxy that blocks visible light SiC
- Comparator: Silicon integrated circuit (LM393) Si
- Board: Glass-fibre and epoxy circuit board SiOC
Where the materials come from: Silicon from quartz sand; epoxy resin from oil; copper from ores such as chalcopyrite.
The chemistry
A flame is hot gas and glowing soot particles from combustion, for example CH₄ + 2O₂ → CO₂ + 2H₂O. Hot objects give out infrared radiation, which this sensor detects.
Biology connection
Your skin detects the infrared from a fire as warmth long before you touch it, and a reflex pulls your hand away. Reflex arc →
Safety and the environment
Sunlight and hot lamps also give out infrared and can trigger it. It is for classroom projects only, never a replacement for a tested smoke or fire alarm. Test it only with an adult and a safe flame.
Did you know? Fire-fighting robot competitions use rings of these sensors to find a candle and blow it out.
Equation balancerHeating curve simulator Elements inside: SiCO
Try it in the simulator
Build and code a circuit with a Flame sensor in these practice projects:
Questions students ask
What does the KY-026 do?
Sees the infrared light of a flame: AO falls as the flame comes closer and DO goes LOW when a flame is detected. Main functions: detects the infrared light of a flame; gives an analog level (AO) and an alarm signal (DO); guides fire-fighting robots to a candle.
How do I read a flame sensor?
Use DO on a digital pin for a simple alarm: it reads LOW when a flame is seen. Use AO on an analog pin to judge distance: the reading falls as the flame gets closer.
What are the connections of the KY-026?
In order: AO (analog out), G (ground), + (5 V), DO (digital out).
How does the KY-026 work?
The black part at the top is an infrared photodiode that responds most to light around 760 to 1100 nm, which flames give out strongly. More infrared lets more current through it, so the voltage on AO drops. A comparator chip (LM393) switches DO, and an LED on the board, when the level set by the blue trimmer potentiometer is passed.
What is the KY-026 made of?
Photodiode: Silicon in black epoxy that blocks visible light. Comparator: Silicon integrated circuit (LM393). Board: Glass-fibre and epoxy circuit board.
Is the KY-026 safe? How should it be recycled?
Sunlight and hot lamps also give out infrared and can trigger it. It is for classroom projects only, never a replacement for a tested smoke or fire alarm. Test it only with an adult and a safe flame.
More sensors
Connected tools
The same idea from another angle, across the site.