Laboratory Report
On
Open-ended Experiment (Experiment-9)
Signal Processing Laboratory (EC-29003)
Submitted by Group:-
NAME ROLL NUMBER
Nishmeet Singh Rajpal 2330452
Aryan Pattanaik 2330369
Arindrajit Nath 2330366
Pratik Saha 2330321
SECTION ECSc-5 (2023 Admitted Batch)
SEMESTER Third Semester
DATE OF SUBMISSION 18/11/24
B. Tech Programme in Electronics and Computer Science
Engineering
School of Electronics Engineering
Kalinga Institute of Industrial Technology, Deemed to be
University
Bhubaneswar, India
November 2024
1
AIM OF THE OPEN-ENDED EXPERIMENT:
To design and implement a flame detection system using Arduino.
REQUIREMENTS
Software: Arduino IDE (Open source software)
Hardware:
● Arduino microcontroller
● Breadboard
● Flame Sensor
● Buzzer
● Red LED
● Green LED
● Male-Male & Male-Female Jumping Wires
THEORY:
A flame detection system is crucial for ensuring safety in environments prone to fire
hazards. The system utilizes a flame sensor to detect the presence of fire and triggers a
red alert and buzzer to notify of the danger. The system incorporates various hardware
components such as the Arduino microcontroller for processing, LEDs for visual
indication, and a buzzer for an audible alert. The software code written in Arduino
IDE reads the sensor's data and activates the alert mechanisms accordingly.
The components of the system are chosen for their reliability and ease of integration:
● Arduino Microcontroller: A versatile and powerful platform that controls the
system’s operations and processes input from the flame sensor.
● Flame Sensor: This sensor is sensitive to infrared light and can detect the
specific wavelength emitted by flames, making it a crucial component for fire
detection.
● LEDs: The green LED provides a visual indication of normal conditions,
while the red LED alerts users to the presence of fire.
● Buzzer: An essential element for audible alerts, ensuring that the warning is
heard even if the visual cues are missed.
The software code developed using the Arduino IDE reads the sensor data
continuously and triggers the alert mechanisms when a flame is detected. This setup
ensures a real-time response, enhancing the safety of the monitored environment.
2
CODE DEVELOPMENT
const int buzzerPin = 12;
const int flamePin = 11;
int Flame = HIGH;
int red ed = 5;
int greenled = 6;
void setup()
{
pinMode(buzzerPin, OUTPUT);
pinMode(redled, OUTPUT);
pinMode(greenled, OUTPUT);
pinMode(flamePin, INPUT);
[Link](9600);
}
void loop()
{
Flame = digitalRead(flamePin);
if (Flame== LOW)
{
digitalWrite(buzzerPin, HIGH);
digitalWrite(redled, HIGH);
digitalWrite(greenled, LOW);
}
else
{
digitalWrite(buzzerPin, LOW);
digitalWrite(greenled, HIGH);
digitalWrite(redled, LOW);
}
}
OBSERVATIONS
During the experiment, the flame detection system showed a high level of
responsiveness and accuracy in identifying the presence of a flame. Here are the key
observations:
1. Sensor Responsiveness: The flame sensor consistently detected the presence
of fire within a range of 1-2 feet. It showed a rapid response time of less than 1
second to flame detection.
2. Visual Indicators: The LEDs effectively indicated the status of the
environment. The green LED remained illuminated in the absence of a flame,
and the red LED switched on immediately upon flame detection, signaling
danger.
3. Stability and Accuracy: The system maintained stable operation without
false alarms over a test period of 2 hours under various lighting conditions.
3
CONCLUSION:
This project successfully developed a fire detection system using an Arduino
microcontroller and a flame sensor. The system effectively distinguished between safe
and hazardous conditions, providing visual (LED) and auditory (buzzer) alerts when a
flame was detected. Such a system is crucial for early fire detection, contributing to
safety in various applications, from homes to industrial settings.
STUDENT SIGNATURE
Roll Number Name Signature
2330452 Nishmeet Singh Rajpal
2330369 Aryan Pattanaik
2330366 Arindrajit Nath
2330321 Pratik Saha
Date:-
SIGNATURE OF THE CONCERNED LAB FACULTY MEMBER
Signature Date