The Flame Sensor (Manufacturer Part ID: FLAME SENSOR) by Arduino is a device designed to detect the presence of a flame or fire. It is commonly used in safety applications to ensure that a flame is present in a burner or to detect fire in a given area. This sensor is highly sensitive to flame and infrared light, making it an essential component in fire detection systems, safety alarms, and various automation projects.
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5V |
Current Consumption | 20mA |
Detection Range | Up to 100 cm (depending on flame size) |
Detection Angle | 60 degrees |
Output Type | Digital and Analog |
Operating Temperature | -25°C to 85°C |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V - 5V) |
2 | GND | Ground |
3 | A0 | Analog output (provides a variable voltage based on flame intensity) |
4 | D0 | Digital output (high when flame is detected, low otherwise) |
5 | EN | Enable pin (used to enable or disable the sensor) |
/*
Flame Sensor Example with Arduino UNO
This example reads the digital and analog outputs of the flame sensor
and prints the values to the Serial Monitor.
*/
const int flameDigitalPin = 2; // Digital pin connected to D0
const int flameAnalogPin = A0; // Analog pin connected to A0
void setup() {
pinMode(flameDigitalPin, INPUT); // Set digital pin as input
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int flameDigital = digitalRead(flameDigitalPin); // Read digital output
int flameAnalog = analogRead(flameAnalogPin); // Read analog output
Serial.print("Digital Output: ");
Serial.println(flameDigital); // Print digital output value
Serial.print("Analog Output: ");
Serial.println(flameAnalog); // Print analog output value
delay(500); // Wait for 500 milliseconds
}
False Positives: The sensor detects a flame when there is none.
No Detection: The sensor does not detect a flame.
Unstable Readings: The sensor provides fluctuating readings.
Q1: Can the flame sensor detect other sources of infrared light?
Q2: How do I adjust the sensitivity of the flame sensor?
Q3: What is the maximum distance the flame sensor can detect a flame?
Q4: Can I use the flame sensor outdoors?
By following this documentation, users can effectively integrate the Arduino Flame Sensor into their projects, ensuring reliable flame detection and enhancing safety measures.