Flame Sensor Module
A KY-026 flame sensor module detects infrared light commonly produced by flames.
Part images
What it is
A KY-026 flame sensor module detects infrared light commonly produced by flames.
How students use it
Students use it for light-spectrum demos, threshold experiments, and controlled safety discussions.
Pins and power
AO analog output, DO digital threshold output, VCC, and GND on many KY-026 boards.
Use module power and AO/DO levels that are safe for Pico.
AO varies with detected IR intensity; DO changes when the comparator threshold is crossed.
Voltage and safety
Keep outputs Pico-safe. Use 3.3V-side wiring or level shifting when needed.
Do not use open flame without proper adult supervision and fire-safe workspace. Not for life-safety systems.
Module internals
Main component: Infrared-sensitive photodiode/flame detector with comparator module.
IR detector, comparator, trimmer, indicator LED, resistors, header pins, and PCB.
Datasheet notes
It is sensitive to IR sources, not proof that a real fire exists.
Common libraries
Use machine.ADC for AO and machine.Pin for DO.
Common mistakes
Testing with unsafe flames, confusing sunlight/IR reflections with fire, using it as a smoke detector, and skipping threshold calibration.