Temperature & Humidity

Viewed products

Flame Sensor

BE15000211

New product

This module is sensitive to the flame, but also can detect ordinary light.

More details

4,99 € tax incl.

Add to wishlist

More info

LM393 760nm - 1100nm IR Infrared Flame Sensor Module Board For Arduino

Description:

Usually used as a flame alarm. On board, digital output interface can be directly connected with the microcontroller IO.

Feature:

Detects a flame or a light source of a wavelength in the range of 760nm-1100 nm
Detection angle about 60 degrees, it is sensitive to the flame spectrum.
Accuracy adjustable
Operating voltage 3.3V ~ 5V
Output
 -Analog voltage output
 -Digital switch outputs (0 and 1)
With a mounting screw hole
Power indicator (red) and digital switch output indicator (green)
Comparator chip LM393, it is stable
Flame detection distance, lighter flame test can be triggered within 0.8m, if the intensity of flame is high, the detection distance will be increased.

Interface(4-wire):

VCC: 3.3V ~ 5V
GND: GND
DO: board digital output interface (0 and 1)
AO: board analog output interface
Size: 3.2 x 1.9cm

Note:

Please keep a distance with flame, high temperature maybe burn out the sensor module.

Package included:

1 x Flame sensor module

Code:

//This code is modified by Ahlskog Niki & Borgström Anders

//SENSOR PINOUT:
PIN 1: Analogue out
PIN 2: Ground
PIN 3: +5V
PIN 4: Digital out

#define FLAME_DETECT_ANA A0 // Select the input pin for the flame detectors analogue output.
#define FLAME_DETC_DIO 2 // Select the input pin for the flame detectors digital output.

int led = 8; // Select the input pin for the led

void setup() // Initialize serial and DIO
{

Serial.begin(9600); // Setup the serial port for displaying the status of the sensor
pinMode(led, OUTPUT);

pinMode(FLAME_DETC_DIO, INPUT); // Configure the DIO pin the sensors digital output will be connected to
}

void loop() // Main program loop
{

Serial.print("Sensor Value: "); // Read the sensors analogue output and send it to the serial port
Serial.print(analogRead(FLAME_DETECT_ANA));
if (digitalRead(FLAME_DETC_DIO)) // Read the status of the sensors digital output and if it is high then send an alert to the UART and the led is lighten
{
Serial.println(" FLAME DETECTED!");
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);

}else // Otherwise the there is no alert and the led is shut down
{
Serial.println();
digitalWrite(led, LOW);
}
}

Accessories

Customers who bought this product also bought: