This is an IR Flame Sensor Module designed to detect fire by sensing infrared light emitted from flames. It uses a black IR photodiode at the top that is most sensitive to wavelengths between 760nm and 1100nm, which is the typical IR spectrum produced during combustion. The on-board LM393 comparator processes the signal from the photodiode and provides two outputs: an analog output (AO) that varies from 0 to 1023 based on flame intensity and distance, and a digital output (DO) that switches to LOW when a flame is detected above the threshold set by the blue potentiometer. The module operates on 3.3V to 5V and includes power and DO status LEDs for quick visual feedback. With a detection angle of about 60 degrees and a fast response time, it’s commonly used with Arduino, ESP32, and Raspberry Pi for fire alarms, smart safety systems, and fire-fighting robots. Note that since it detects IR light, it can also be triggered by strong sunlight or incandescent lamps, so proper shielding or software filtering is recommended for reliable use.