Detect Flame Presence
STM32-Experiments Free Updated Sep 26, 2026

Detect Flame Presence

Flame Presence

Introduction

Automated fire alarm panels and engine-bay fire detection systems both need to reliably tell the difference between an actual flame and ordinary bright light, and that specific capability is exactly what this experiment builds. An IR flame sensor module is wired to the STM32F070RB, providing both an analog intensity reading and a simple digital presence flag, and detected flame presence is reported over UART along with the analog intensity.

2. Scope

This experiment covers understanding how a flame sensor's infrared photodiode responds specifically to fire's characteristic infrared emission, distinguishing it conceptually from a generic light sensor, and reading both its analog and digital outputs. This reinforces the combined analog and digital sensor reading pattern, applied here to a different physical phenomenon.

3. Prerequisite

3.1 Hardware

  • STM32 Nucleo-F070RB development board

  • IR flame sensor module, with analog and digital outputs

  • A small, safely contained flame source for testing, exercise appropriate fire safety caution

  • Breadboard and jumper wires

  • Micro-USB cable

  • PC with PuTTY

3.2 Software

  • STM32CubeMX (standalone)

  • STM32CubeIDE

  • ST-LINK USB driver

  • PuTTY, or an equivalent serial terminal application

Community Q&A

0 questions

Ask questions and get answers from our community and staff moderators.

No questions yet — be the first to start the conversation!

Ask a Question

Please log in to ask a question or post a reply.

Login to Participate