Logo Sensor 1.3 Flame Detector Arduino User Manual and Tutorial


Flame Sensor ModuleThe Logo Version 1.3 Flame Detector module is representative of the many similar devices that are designed to interface with micro-controllers.  This particular device consists of an IR detector, op amp circuitry, sensitivity adjustment and an LED indicator.

The IR detector is sensitive to light wavelengths typical of flames.  When a flame is present, the module will turn on it’s red LED and it will set it’s output low.

Get This Flame Sensor Module

There several module varieties available on the internet.   If you would like this particular one,  you can get it from one of the following vendors.


Flame Sensor Module Pin Outs

Only three connections are required to allow this device to work with your Arduino.  The following picture and table describe these pins.

flame sensor Module

Pin or ComponentFunction
5V5 Vdc supply Input
OutGoes low when flame is detected
GNDGround input
Flame IndicatorIlluminates when flame is sensed
Sensitivity AdjustCW is more sensitive
CCW is less sensitive
IR DetectorHas a 60 degree view angle and is sensitive to the wavelengths typical of flames

Application Considerations

Viewing Angle

As previously mentioned, the viewing angle is at sixty degrees.   Thus the sensor view is incredibly important as you design your projects.

flame sensor Module viewing angle

Flame Sensor Module Wavelength

The flame sensor module detects wavelengths from 760nm-1100nm.   The are other sources of heat that will also detect this wavelength.  It is therefore important that you ensure that the only source of this particular range will be the flame that you want to detect.  Otherwise, your project may be riddled with false measurements.

Spark Dectection?

During the course of testing this device, I used a defective lighter.  It took several attempts to see a flame.   However, each time I tried the sparks from lighter caused the LED to flash.

Logo Sensor Flame Detector Arduino Tutorial

Connect The Arduino to the Flame Sensor Module

Use the schematic below to connect your micro-controller to the flame detector.

 flame sensor Module arduino hookup
Copy, Paste and Upload the Arduino Flame Detector Module Sketch

The sketch below is pretty straight forward.   It uses the LED connected to Pin 13 of serial monitor of your Arduino IDE to see the output.

// Flame Sensor Module
// Henry's Bench

int LED = 13; // Use the onboard Uno LED
int isFlamePin = 7;  // This is our input pin
int isFlame = HIGH;  // HIGH MEANS NO FLAME

void setup() {
  pinMode(LED, OUTPUT);
  pinMode(isFlamePin, INPUT);

void loop() {
  isFlame = digitalRead(isFlamePin);
  if (isFlame== LOW)
    Serial.println("FLAME, FLAME, FLAME");
    digitalWrite(LED, HIGH);
    Serial.println("no flame");
    digitalWrite(LED, LOW);

Verify Operation of the Flame Detector Module and Adjust Sensitivity

Open the Serial Monitor on your Arduino program.  Move a flame in and out of the viewing angle of the sensor.  You should see an output that looks something like the picture below.   You should also see the red LED illuminate on your module and you should see also see the module LED connected to pin 13 of your Arduino light up.

Flame Sensor Module Tutorial Output

Project Ideas

The temptation with a flame detector is the temptation to design it in as a safety device.  That’s fine.   However, it should never be relied upon as the sole means of protection… particularly at the DIY project or experimental level.

  • Turn off Power If Flame  – You could turn power off to device in the presence of a flame.  Turning off ventilation fans if flame were detected comes to mind.
  • Close a Valve if There is no Flame – You could turn off an automated valve carrying gas if there were an absence of a flame.
  • Spark Detection –  Discovering the device responds to sparks gives a whole new range of ideas.   You could set a flag if sparks were detected inside an electrical enclosure, or you could detect if a device designed to produce a spark is failing.

One Comment

  1. Alsadig July 21, 2016

Leave a Reply

Your email address will not be published. Required fields are marked *