
Beginner4/7/2026- Author: IoTSpark Maker
ESP32 + Flame Sensor: Infrared Fire Detection (Quick Test Sample Code)
A flame sensor uses a photodiode sensitive to 760-1100nm infrared wavelengths — the range characteristic of a burning flame (distinct from ordinary light).
flame-sensorluahong-ngoai
4 steps2 components
A flame sensor uses a photodiode sensitive to infrared wavelengths of 760-1100nm — the wavelength range characteristic of a burning flame (distinct from ordinary light). The module has a built-in LM393 comparator, outputting both digital (a fixed threshold) and analog (continuous infrared signal strength).